
/*

  _______              _       _____       _       _   _                            _______ _____         _____ 
 |__   __|            (_)     / ____|     | |     | | (_)                          |__   __/ ____|  /\   |_   _|
    | |_ __ ___  _ __  _  ___| (___   ___ | |_   _| |_ _  ___  _ __  ___   ______     | | | (___   /  \    | |  
    | | '__/ _ \| '_ \| |/ __|\___ \ / _ \| | | | | __| |/ _ \| '_ \/ __| |______|    | |  \___ \ / /\ \   | |  
    | | | | (_) | |_) | | (__ ____) | (_) | | |_| | |_| | (_) | | | \__ \             | |  ____) / ____ \ _| |_ 
    |_|_|  \___/| .__/|_|\___|_____/ \___/|_|\__,_|\__|_|\___/|_| |_|___/             |_| |_____/_/    \_\_____|
                | |                                                                                             
                |_|                                                                                             

  TropicSolutions  •  TSAI
   T r o p i c S o l u t i o n s    –    T S A I 
  System entwickelt von TropicSolutions – Florian Bach

*/

/**
 * System entwickelt von TropicSolutions - Florian Bach
 * TSAI
 *
 * @package   Reparatursaurier
 * @author    Florian Bach
 * @copyright © 2025 TropicSolutions. Alle Rechte vorbehalten.
 * @license   Selfcoded by TropicSolutions
 * @link      https://tropicsolutions.net
 **/



/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

*:where(:not(input):not(textarea):not(select)) {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow;
}

/* Neues Design-System mit Dark/Light Mode Support */
:root {
  /* Light Mode Colors */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-lighter: #dbeafe;
  --primary-glow: rgba(37, 99, 235, 0.3);

  --secondary: #64748b;
  --secondary-dark: #475569;
  --secondary-light: #94a3b8;

  --success: #10b981;
  --success-light: #d1fae5;
  --success-glow: rgba(16, 185, 129, 0.3);

  --error: #ef4444;
  --error-light: #fee2e2;
  --error-glow: rgba(239, 68, 68, 0.3);

  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --warning-glow: rgba(245, 158, 11, 0.3);

  --info: #3b82f6;
  --info-light: #dbeafe;

  --background: #f8fafc;
  --background-secondary: #f1f5f9;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --text: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --blur: blur(12px);
  --backdrop-blur: blur(8px);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --primary-lighter: #1e3a8a;
  --primary-glow: rgba(59, 130, 246, 0.4);

  --secondary: #94a3b8;
  --secondary-dark: #cbd5e1;
  --secondary-light: #64748b;

  --success: #10b981;
  --success-light: #064e3b;
  --success-glow: rgba(16, 185, 129, 0.4);

  --error: #ef4444;
  --error-light: #7f1d1d;
  --error-glow: rgba(239, 68, 68, 0.4);

  --warning: #f59e0b;
  --warning-light: #78350f;
  --warning-glow: rgba(245, 158, 11, 0.4);

  --background: #0f172a;
  --background-secondary: #1e293b;
  --surface: #1e293b;
  --surface-elevated: #334155;
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #334155;
  --border-light: #475569;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);

  color-scheme: dark;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Enhanced Theme Toggle with Modern Design */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 72px;
  height: 40px;
  border: none;
  background: var(--surface);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.2);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px;
  border: 2px solid var(--border);
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(37, 99, 235, 0.3);
  border-color: var(--primary);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle-track {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.theme-toggle-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .theme-toggle-thumb {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.theme-icon {
  position: absolute;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .sun-icon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-particle {
  animation: particleFade 0.8s ease-out forwards;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(360deg);
  }
}

/* Moderne Navigation mit Glassmorphism */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(30, 41, 59, 0.8);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand h1 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: translateX(-50%);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Moderner Hero mit Animationen */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  color: white;
  padding: 6rem 0;
  margin-bottom: 3rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  animation: slideInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feature Cards mit Hover-Effekten */
.features {
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 16px var(--primary-glow);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Enhanced Dark Mode Support for All Components */
[data-theme="dark"] .form-container {
  background: var(--surface);
  box-shadow: var(--shadow-md), 0 0 40px rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: var(--background);
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 0 20px var(--primary-glow);
}

[data-theme="dark"] .priority-card {
  background: var(--background);
}

[data-theme="dark"] .priority-option input[type="radio"]:checked + .priority-card {
  background: rgba(59, 130, 246, 0.15);
  border-color: var(--primary);
}

[data-theme="dark"] .success-message {
  background: var(--surface);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] .order-details {
  background: var(--background-secondary);
}

[data-theme="dark"] .alert-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-left-color: var(--error);
}

[data-theme="dark"] .alert-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-left-color: var(--success);
}

[data-theme="dark"] .footer {
  background: var(--surface);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.form-container {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition-fast);
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-lighter), 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Priority Options */
.priority-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.priority-option {
  cursor: pointer;
}

.priority-option input[type="radio"] {
  display: none;
}

.priority-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.priority-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.priority-time {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.priority-low .priority-name {
  color: var(--secondary);
}
.priority-normal .priority-name {
  color: var(--primary);
}
.priority-high .priority-name {
  color: var(--warning);
}
.priority-express .priority-name {
  color: var(--error);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 400px;
  height: 400px;
  transition: width 0s, height 0s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 16px var(--success-glow);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--success-glow);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid var(--error);
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--success);
}

/* Moderne Success Message mit Animationen */
.success-message {
  background: var(--surface);
  padding: 4rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border);
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 24px var(--success-glow);
  animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.success-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

.order-details {
  background: var(--background);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.order-details p {
  margin-bottom: 0.75rem;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--surface);
  padding: 2rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-secondary);
  box-shadow: 0 -2px 8px var(--shadow);
}

/* Moderne Animationen */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-shake {
  animation: shake 0.6s ease-out;
}

.animate-slide-in {
  animation: slideInRight 0.6s ease-out;
}

/* Loading Spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
  margin: 2rem auto;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .form-container {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .priority-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .theme-toggle {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
}

/* Disable transitions during theme change for instant feedback */
.theme-transition-active * {
  transition: none !important;
}
