/* Variables de couleurs - Conservation des couleurs originales */
:root {
  /* Couleurs principales */
  --primary:  #02193b;
  --primary-dark:  #002b6b;
  --primary-light: #dbeafe;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --light: #f8fafc;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --orange-accent: #ea580c;

  /* Nouvelles variables pour design moderne */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --white: #ffffff;
  --cream: #fffef9;
  --gray-bg: #f8fafc;

  /* Ombres élégantes */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.08);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.16);
  --shadow-xl: 0 20px 60px rgba(37, 99, 235, 0.2);

  /* Border radius */
  --border-radius: 20px;
  --border-radius-sm: 12px;
  --border-radius-full: 50px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #02193b 0%, #002b6b 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);

  /* Typographie */
  --font-title: "Playfair Display", serif;
  --font-body: "Inter", "Poppins", sans-serif;
}

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--cream) 0%, var(--light) 100%);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: 2.2rem;
  margin-top: 1.5rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

h3 i {
  color: var(--primary);
  font-size: 1.3em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.quote {
  font-style: italic;
  color: var(--orange-accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.3rem;
  opacity: 0.95;
  animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* LAYOUT COMPONENTS */
.nav-header {
  text-align: center;
  margin-bottom: 0;
  padding: 100px 2rem 60px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-lg);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.nav-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.nav-header .container {
  position: relative;
  z-index: 2;
}

.nav-header h1 {
  color: var(--white);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-header .quote {
  color: var(--secondary);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1200px;
  margin: -40px auto 4rem;
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  position: relative;
  z-index: 10;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.section {
  margin-bottom: 30px;
  padding: 35px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.02) 0%,
    rgba(245, 158, 11, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section:hover::before {
  opacity: 1;
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* FORM ELEMENTS */
form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.form-group label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--primary);
  font-size: 1rem;
}

.required {
  color: var(--danger);
  font-weight: 700;
}

.form-control {
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
  background: var(--gray-bg);
  font-family: inherit;
  color: var(--text-primary);
}

.form-control:hover {
  border-color: var(--primary-light);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
  background: var(--white);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--gray);
  opacity: 0.7;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

/* BUTTONS - Design moderne avec effet ripple */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--border-radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.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:hover::before {
  width: 400px;
  height: 400px;
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-success {
  background: var(--gradient-success);
  color: var(--white);
}

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-danger {
  background: var(--gradient-danger);
  color: var(--white);
}

.btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* VISITOR CATEGORIES - Design moderne */
.visitor-category {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.visitor-category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.visitor-category:hover::before {
  width: 4px;
}

.visitor-category:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.visitor-category select,
.visitor-category input {
  flex: 1;
  margin: 0;
}

.remove-category {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1) 0%,
    rgba(220, 38, 38, 0.1) 100%
  );
  border: 2px solid transparent;
  color: var(--danger);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.remove-category:hover {
  background: var(--gradient-danger);
  color: var(--white);
  transform: scale(1.15) rotate(90deg);
  border-color: var(--danger);
}

.remove-category:active {
  transform: scale(1);
}

/* TOTAL SECTION - Design premium */
#total-container {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 35px;
  border-radius: var(--border-radius);
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

#total-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#total-container h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

#total-container h3 i {
  color: var(--secondary);
}

#total-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin: 10px 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(10px);
}

/* PRICING INFO - Design amélioré */
.tarifs-info ul,
.instructions ul {
  list-style-type: none;
  margin: 20px 0;
  padding: 0;
}

.tarifs-info li,
.instructions li {
  padding: 18px 20px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.tarifs-info li::before,
.instructions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.tarifs-info li:hover,
.instructions li:hover {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.03) 0%,
    rgba(245, 158, 11, 0.03) 100%
  );
  padding-left: 28px;
  padding-right: 28px;
  margin: 0 -8px;
  border-radius: var(--border-radius-sm);
  transform: translateX(8px);
}

.tarifs-info li:hover::before,
.instructions li:hover::before {
  width: 4px;
}

.tarifs-info li:last-child,
.instructions li:last-child {
  border-bottom: none;
}

.tarifs-info li span:first-child {
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tarifs-info li span:first-child i {
  color: var(--primary);
  font-size: 1.2rem;
}

.tarifs-info li span:last-child {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
  padding: 6px 16px;
  background: var(--primary-light);
  border-radius: var(--border-radius-full);
}

.instructions li {
  padding-left: 45px;
}

.instructions li i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.instructions li:hover i {
  color: var(--secondary);
  transform: translateY(-50%) scale(1.2);
}

/* CHECKBOX - Design moderne */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 25px 0;
  padding: 20px 25px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(245, 158, 11, 0.05) 100%
  );
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  cursor: pointer;
}

.checkbox-group:hover {
  border-color: var(--primary);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(245, 158, 11, 0.08) 100%
  );
  transform: translateX(5px);
}

.checkbox-group input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  border-radius: 4px;
}

.checkbox-group label {
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  cursor: pointer;
}

.checkbox-group .rules-link {
  color: var(--primary);
  text-decoration: underline;
}

.checkbox-group .rules-link:hover,
.checkbox-group .rules-link:focus {
  text-decoration: none;
}

/* COUNTRY SELECT */
.country-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 18px 14px;
  appearance: none;
  padding-right: 3.5rem;
  cursor: pointer;
}

.country-select:hover {
  border-color: var(--primary-light);
}

/* Custom Select Styling */
select.form-control {
  cursor: pointer;
  font-weight: 500;
}

select.form-control option {
  padding: 12px;
  background: var(--white);
  color: var(--text-primary);
}

/* ALERTS & VALIDATION - Design moderne */
.alert {
  padding: 20px 25px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 6px solid;
  box-shadow: var(--shadow-sm);
  animation: slideIn 0.4s ease;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(5, 150, 105, 0.08) 100%
  );
  color: #065f46;
  border-left-color: var(--success);
}

.alert-success::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--success);
  font-size: 1.5rem;
}

.alert-danger {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1) 0%,
    rgba(220, 38, 38, 0.08) 100%
  );
  color: #7f1d1d;
  border-left-color: var(--danger);
}

.alert-danger::before {
  content: "\f06a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--danger);
  font-size: 1.5rem;
}

.alert-warning {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(217, 119, 6, 0.08) 100%
  );
  color: #78350f;
  border-left-color: var(--warning);
}

.alert-warning::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--warning);
  font-size: 1.5rem;
}

.alert i {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
  animation: shake 0.5s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

.invalid-feedback {
  color: var(--danger);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.invalid-feedback::before {
  content: "\f06a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* LOADING STATE */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container {
    padding: 35px;
    margin: -30px 20px 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }

  .container {
    padding: 25px;
    margin: -25px 15px 2.5rem;
  }

  .nav-header {
    padding: 80px 20px 50px;
    margin-top: 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .quote {
    font-size: 1.15rem;
  }

  .section {
    padding: 25px;
  }

  .visitor-category {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 18px;
  }

  .visitor-category select,
  .visitor-category input {
    width: 100%;
  }

  .remove-category {
    align-self: center;
    margin-top: 8px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 30px;
  }

  #total-container {
    padding: 28px;
  }

  #total-amount {
    font-size: 2.5rem;
  }

  .tarifs-info li,
  .instructions li {
    padding: 15px 18px;
  }

  .form-control {
    padding: 13px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
    margin: -20px 10px 2rem;
    border-radius: 16px;
  }

  .nav-header {
    padding: 70px 15px 40px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .quote {
    font-size: 1.05rem;
  }

  .section {
    padding: 20px 15px;
  }

  .visitor-category {
    padding: 15px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 1rem;
  }

  #total-container {
    padding: 22px;
  }

  #total-amount {
    font-size: 2.2rem;
    padding: 8px 16px;
  }

  .tarifs-info li span:last-child {
    font-size: 1.05rem;
    padding: 5px 12px;
  }

  .checkbox-group {
    padding: 16px 18px;
  }

  .alert {
    padding: 16px 18px;
    gap: 12px;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.slide-in {
  animation: slideIn 0.5s ease-out forwards;
}

.scale-in {
  animation: scaleIn 0.4s ease-out forwards;
}

/* Délais d'animation progressifs */
.section:nth-child(1) {
  animation-delay: 0.1s;
}
.section:nth-child(2) {
  animation-delay: 0.2s;
}
.section:nth-child(3) {
  animation-delay: 0.3s;
}
.section:nth-child(4) {
  animation-delay: 0.4s;
}
.section:nth-child(5) {
  animation-delay: 0.5s;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
  border: 2px solid var(--light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* FOCUS VISIBLE FOR ACCESSIBILITY */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--border-radius-sm);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* PRINT STYLES */
@media print {
  body {
    background: white;
  }

  body * {
    visibility: hidden;
  }

  #qr-section,
  #qr-section * {
    visibility: visible;
  }

  #qr-section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 20px;
  }

  .btn,
  .nav-header {
    display: none !important;
  }

  .container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* UTILITY CLASSES */
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mt-5 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: 1rem;
}
.gap-3 {
  gap: 1.5rem;
}

.hidden {
  display: none !important;
}
.visible {
  visibility: visible;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}
.shadow-md {
  box-shadow: var(--shadow-md);
}
.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.border-primary {
  border-color: var(--primary) !important;
}
.border-secondary {
  border-color: var(--secondary) !important;
}
.border-success {
  border-color: var(--success) !important;
}
.border-danger {
  border-color: var(--danger) !important;
}

.bg-light {
  background-color: var(--light);
}
.bg-white {
  background-color: var(--white);
}
.bg-primary {
  background-color: var(--primary);
}

.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-success {
  color: var(--success);
}
.text-danger {
  color: var(--danger);
}
.text-muted {
  color: var(--gray);
}

.fw-bold {
  font-weight: 700;
}
.fw-semibold {
  font-weight: 600;
}
.fw-normal {
  font-weight: 400;
}

.rounded {
  border-radius: var(--border-radius-sm);
}
.rounded-lg {
  border-radius: var(--border-radius);
}
.rounded-full {
  border-radius: var(--border-radius-full);
}

/* GRADIENT TEXT */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.gradient-secondary-text {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge-secondary {
  background: rgba(245, 158, 11, 0.15);
  color: var(--secondary-dark);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

/* DIVIDER */
.divider {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary) 50%,
    transparent 100%
  );
  margin: 30px 0;
  border: none;
}

/* CARD */
.card {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--light-gray);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-header {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}

.card-body {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Spinner/Loader */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
