/* ===================================
   Variables CSS - TeleClean Brand Colors
   =================================== */
   :root {
    --primary-color: #D84A1B;
    --secondary-color: #F57C20;
    --accent-color: #d4a574;
    --dark-bg: #2c2c2c;
    --text-light: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(216, 74, 27, 0.15);
    --shadow-lg: 0 8px 24px rgba(216, 74, 27, 0.2);
    --gradient-primary: linear-gradient(135deg, #D84A1B 0%, #F57C20 100%);
  }
  
  /* ===================================
     Reset et Styles de Base
     =================================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--text-light);
    line-height: 1.6;
  }
  
  /* ===================================
     Page d'Introduction
     =================================== */
  .intro-page {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #f9f7f4 100%);
    min-height: 100vh;
  }
  
  .intro-container {
    min-height: 100vh;
    padding: 0;
  }
  
  .intro-left {
    background-color: var(--text-light);
    padding: 60px 40px;
    box-shadow: inset -2px 0 8px rgba(0, 0, 0, 0.02);
  }
  
  .intro-content {
    max-width: 600px;
    width: 100%;
  }
  
  /* Icône avec gradient doux et ombre subtile */
  .intro-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  
  .intro-icon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  
  .intro-icon i {
    font-size: 3.5rem;
    color: var(--text-light);
  }
  
  /* Typographie plus douce et lisible */
  .intro-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
  }
  
  .intro-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.8;
    font-weight: 400;
  }
  
  /* Indicateurs du carrousel plus subtils */
  .carousel-indicators button {
    background-color: var(--secondary-color);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    opacity: 0.5;
    transition: var(--transition);
  }
  
  .carousel-indicators button.active {
    background-color: var(--primary-color);
    opacity: 1;
  }
  
  /* Bouton principal avec design doux */
  .btn-intro {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 16px 42px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    letter-spacing: 0.3px;
  }
  
  .btn-intro:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--text-light);
  }
  
  .btn-intro:active {
    transform: translateY(-1px);
  }
  
  /* Colonne droite avec fond doux */
  .intro-right {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #f9f7f4 100%);
    color: var(--text-dark);
  }
  
  .intro-logo {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.9;
  }
  
  /* Fonctionnalités avec design plus doux */
  .intro-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
  }
  
  .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    transition: var(--transition);
  }
  
  .feature-item:hover {
    transform: translateY(-2px);
  }
  
  .feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.85;
  }
  
  .feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
  }
  
  /* Skip link plus discret */
  .skip-link-container {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;
  }
  
  .skip-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
  }
  
  .skip-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
  }
  
  /* ===================================
     Pages d'Authentification (Login & Signup) - DESIGN COMPLÈTEMENT NOUVEAU
     =================================== */
  .auth-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-family: 'Inter', 'Poppins', sans-serif;
  }
  
  /* Motif géométrique en arrière-plan */
  .auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
      radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: backgroundPulse 20s ease-in-out infinite;
  }
  
  @keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
  }
  
  /* Grille de points décorative */
  .auth-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
  }
  
  .auth-container {
    min-height: 100vh;
    padding: 0;
  }
  
  .auth-container .row {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: stretch;
  }
  
  /* Mobile: Formulaire seulement, illustration masquée - NOUVEAU DESIGN */
  .auth-left {
    background: #ffffff;
    padding: 40px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }
  
  @media (min-width: 1024px) {
    .auth-left {
      background: #ffffff;
      padding: 60px 80px;
      box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    }
  }
  
  @media (min-width: 768px) {
    .auth-left {
      padding: 50px 40px;
    }
  }
  
  .auth-form-container {
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  /* Signup page: Plus d'espace pour les role cards */
  .signup-page .auth-form-container {
    max-width: 600px;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .auth-logo-container {
    text-align: left;
    margin-bottom: 50px;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .auth-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none;
    transition: transform 0.3s ease;
  }
  
  .auth-logo-img:hover {
    transform: scale(1.05);
  }
  
  .auth-logo {
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.9;
  }
  
  .auth-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
  }
  
  .auth-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
  }
  
  /* Tablet & Desktop: Bicolonne avec illustration */
  @media (min-width: 1024px) {
    .auth-left {
      padding: 40px 50px;
      order: 2; /* Formulaire à droite */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    .auth-title {
      font-size: 2rem;
    }
    
    .auth-subtitle {
      font-size: 1rem;
    }
  }
  
  /* Inputs - DESIGN COMPLÈTEMENT NOUVEAU */
  .form-control,
  .form-select {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
  }
  
  .form-control:focus,
  .form-select:focus {
    border-bottom-color: #3b82f6;
    border-bottom-width: 3px;
    box-shadow: none;
    background: transparent;
    color: #0f172a;
    outline: none;
  }
  
  .form-control:hover {
    border-bottom-color: #cbd5e1;
    background: transparent;
    box-shadow: none;
  }
  
  .form-select:hover {
    border-bottom-color: #cbd5e1;
  }
  
  .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
  }
  
  .input-group {
    border-bottom: 2px solid #e2e8f0;
    transition: all 0.3s ease;
  }
  
  .input-group:focus-within {
    border-bottom-color: #3b82f6;
    border-bottom-width: 3px;
  }
  
  .input-group:hover {
    border-bottom-color: #cbd5e1;
  }
  
  /* Si le form-control ou form-select est dans un input-group, enlever sa bordure */
  .input-group .form-control,
  .input-group .form-select {
    border-bottom: none;
  }
  
  .input-group-text {
    border-radius: 0;
    border: none;
    border-bottom: none;
    background: transparent;
    color: #64748b;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 16px 12px 16px 0;
  }
  
  .form-control:focus + .input-group-text,
  .input-group:focus-within .input-group-text {
    color: #3b82f6;
  }
  
  .input-group:hover .input-group-text {
    color: #475569;
  }
  
  .btn-primary {
    background: #0f172a;
    border: 2px solid #0f172a;
    border-radius: 0;
    padding: 18px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: none;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-transform: none;
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    transition: left 0.3s ease;
    z-index: -1;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.3);
    color: #ffffff;
    border-color: #3b82f6;
  }
  
  .btn-primary:hover::before {
    left: 0;
  }
  
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
  }
  
  .btn-secondary {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 16px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #475569;
  }
  
  .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-2px);
  }
  
  .toggle-password {
    border-radius: 0;
    border: none;
    border-bottom: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 16px 12px;
    font-weight: 400;
  }
  
  .toggle-password:hover {
    background: transparent;
    color: #3b82f6;
  }
  
  .input-group:focus-within .toggle-password {
    color: #3b82f6;
  }
  
  /* Form check (checkbox/radio) - DESIGN COMPLÈTEMENT NOUVEAU */
  .form-check-input {
    border-radius: 0;
    border: 2px solid #cbd5e1;
    width: 1.25em;
    height: 1.25em;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
  }
  
  .form-check-input:hover {
    border-color: #94a3b8;
  }
  
  .form-check-input:checked {
    background: #0f172a;
    border-color: #0f172a;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    box-shadow: none;
  }
  
  .form-check-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  .form-check-label {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
  }
  
  /* Form labels - DESIGN COMPLÈTEMENT NOUVEAU */
  .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    display: block;
    text-transform: none;
  }
  
  /* Invalid feedback */
  .invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
  }
  
  .form-control.is-invalid,
  .form-select.is-invalid {
    border-bottom-color: #dc2626;
  }
  
  .input-group.is-invalid {
    border-bottom-color: #dc2626;
  }
  
  .form-control.is-valid,
  .form-select.is-valid {
    border-bottom-color: #22c55e;
  }
  
  .input-group.is-valid {
    border-bottom-color: #22c55e;
  }
  
  /* Links - DESIGN COMPLÈTEMENT NOUVEAU */
  a {
    color: #3b82f6;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  a:hover {
    color: #2563eb;
    text-decoration: underline;
  }
  
  /* Alerts / Messages Flash - DESIGN COMPLÈTEMENT NOUVEAU */
  .alert {
    border-radius: 0;
    border: none;
    border-left: 4px solid;
    padding: 16px 20px;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease-out;
    background: #f8fafc;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-left-color: #dc2626;
  }
  
  .alert-success {
    background-color: #f0fdf4;
    color: #166534;
    border-left-color: #22c55e;
  }
  
  .alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border-left-color: #3b82f6;
  }
  
  /* Colonne Illustration - DESIGN COMPLÈTEMENT NOUVEAU */
  .auth-right {
    display: none; /* Masquée sur mobile */
    background: transparent;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
  }
  
  /* Desktop: Colonne illustration visible (60% largeur, à gauche) */
  @media (min-width: 1024px) {
    .auth-right {
      display: flex !important;
      order: 1; /* Illustration à gauche */
      min-height: 100vh;
      align-items: center;
      justify-content: center;
      padding: 0;
    }
    
    .auth-container .row {
      display: flex;
      flex-wrap: nowrap;
      min-height: 100vh;
      align-items: stretch;
      margin: 0;
    }
    
    .auth-left {
      flex: 0 0 40%; /* Formulaire prend 40% */
      max-width: 40%;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    
    .auth-right {
      flex: 0 0 60%; /* Illustration prend 60% */
      max-width: 60%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  .auth-illustration {
    position: relative;
    z-index: 1;
    padding: 60px;
    width: 100%;
    max-width: 100%;
  }
  
  .illustration-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    animation: floatAnimation 3s ease-in-out infinite;
  }
  
  @keyframes floatAnimation {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-15px);
    }
  }
  
  .illustration-icon i {
    font-size: 4.5rem;
    color: #ffffff;
  }
  
  .auth-right h3 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .auth-right p.lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .auth-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
  }
  
  /* Feature boxes - DESIGN COMPLÈTEMENT NOUVEAU */
  .feature-box {
    text-align: center;
    padding: 24px;
    background: transparent;
    border-radius: 0;
    min-width: 140px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
  }
  
  .feature-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
  }
  
  .feature-box i {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 12px;
  }
  
  .feature-box p {
    margin: 0;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
  }
  
  /* ===================================
     Page d'Inscription - Choix du rôle
     =================================== */
  
  /* Fix pour les rows Bootstrap dans le signup */
  #step-role .row,
  #step-prestataire-type .row {
    margin-left: 0;
    margin-right: 0;
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first: empilé */
    gap: 0.6px; /* Espace réduit entre les cartes */
    --bs-gutter-y: 0; /* supprime le gutter vertical Bootstrap */
  }
  
  #step-role .row > *,
  #step-prestataire-type .row > * {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  /* Desktop: deux colonnes côte à côte */
  @media (min-width: 1024px) {
    #step-role .row,
    #step-prestataire-type .row {
      grid-template-columns: 1fr; /* Empilé aussi sur desktop */
      gap: 14px; /* léger espace sur desktop */
      max-width: 760px; /* Centre une colonne plus lisible */
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  /* Role cards - DESIGN COMPLÈTEMENT NOUVEAU */
  .role-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    min-width: 0;
    position: relative;
    overflow: hidden;
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Effet de gradient animé en arrière-plan */
  .role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
  }
  
  /* Ligne décorative animée */
  .role-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
  }
  
  .role-card:hover::before {
    opacity: 1;
  }
  
  .role-card:hover::after {
    width: 100%;
  }
  
  @media (min-width: 480px) {
    .role-card {
      gap: 24px;
      padding: 32px 40px;
    }
  }
  
  .role-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .role-card:nth-child(2) {
    animation-delay: 0.25s;
  }
  
  .role-card:hover {
    border-color: #3b82f6;
    border-left-width: 4px;
    background: #f8fafc;
    transform: translateX(4px);
    box-shadow: -4px 0 0 #3b82f6;
  }
  
  .role-card:active {
    transform: translateX(2px);
    border-left-width: 4px;
  }
  
  .role-icon {
    width: 56px;
    height: 56px;
    background: #0f172a;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  
  @media (min-width: 480px) {
    .role-icon {
      width: 64px;
      height: 64px;
    }
  }
  
  .role-card:hover .role-icon {
    background: #3b82f6;
    transform: scale(1.05);
  }
  
  .role-icon i {
    font-size: 1.5rem;
    color: #ffffff;
  }
  
  @media (min-width: 480px) {
    .role-icon i {
      font-size: 1.75rem;
    }
  }
  
  .role-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
  }
  
  .role-content h5 {
    margin: 0 0 6px 0;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1.3;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
  }
  
  .role-card:hover .role-content h5 {
    color: #3b82f6;
  }
  
  .role-content p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
  }
  
  @media (min-width: 480px) {
    .role-content h5 {
      font-size: 1.35rem;
      margin-bottom: 10px;
    }
    
    .role-content p {
      font-size: 1rem;
    }
  }
  
  .role-arrow {
    font-size: 1.5rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    opacity: 0.6;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 2;
  }
  
  @media (min-width: 480px) {
    .role-arrow {
      font-size: 1.75rem;
    }
  }
  
  .role-card:hover .role-arrow {
    transform: translateX(8px);
    opacity: 1;
    color: #3b82f6;
  }
  
  /* Signup steps transitions */
  .signup-step {
    animation: fadeInUp 0.4s ease-out;
  }
  
  /* Signup steps - DESIGN COMPLÈTEMENT NOUVEAU */
  .signup-step h4 {
    margin-bottom: 2rem !important;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    letter-spacing: -0.5px;
  }
  
  .signup-step .text-center.mb-4 {
    margin-bottom: 2rem !important;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    letter-spacing: -0.5px;
  }
  
  /* Bouton retour - DESIGN COMPLÈTEMENT NOUVEAU */
  .btn-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 0;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
  }
  
  .btn-link:hover {
    color: #3b82f6;
    text-decoration: none;
    transform: translateX(-4px);
  }
  
  /* Back button styling - already improved above */
  
  /* ===================================
     Formulaire Prestataire - Multi-étapes
     =================================== */
  .progress-container {
    margin-bottom: 30px;
  }
  
  .progress {
    background-color: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
  }
  
  .progress-bar {
    background: var(--gradient-primary);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .progress-steps {
    text-align: center;
  }
  
  .progress-steps small {
    font-weight: 500;
    color: var(--text-muted);
  }
  
  .prestataire-step {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }
  
  .photo-preview-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
  }
  
  .photo-preview-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
  }
  
  .photo-preview-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* ===================================
     Responsive Design
     =================================== */
  @media (max-width: 768px) {
    .intro-left,
    .auth-left {
      min-height: 100vh;
      padding: 40px 20px;
    }
  
    .intro-right,
    .auth-right {
      display: none !important;
    }
  
    .intro-title,
    .auth-title {
      font-size: 1.5rem;
    }
  
    .intro-description {
      font-size: 1rem;
    }
  
    .skip-link-container {
      top: 10px;
      right: 15px;
    }
  
    .skip-link {
      font-size: 0.85rem;
    }
  
    .btn-intro {
      padding: 12px 30px;
      font-size: 1rem;
    }
  
    .auth-features {
      gap: 20px;
    }
  
    .feature-box {
      min-width: 120px;
      padding: 15px;
    }
  
    .intro-features {
      gap: 20px;
    }
  }
  
  /* ===================================
     Alertes et Messages
     =================================== */
  .alert {
    border-radius: var(--border-radius-sm);
    border: none;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
  }
  
  .alert-danger {
    background-color: #f8e8e6;
    color: #8b4a47;
    border: 1px solid #f0d4d0;
  }
  
  .alert-success {
    background-color: #e8f5f0;
    color: #2d6b5f;
    border: 1px solid #d0e8e0;
  }
  
  /* ===================================
     Animations et Transitions
     =================================== */
  .signup-step {
    display: none;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .signup-step.active {
    display: block;
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ===================================
     Boutons Secondaires
     =================================== */
  .btn-secondary {
    background-color: var(--border-color);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
  }
  
  .btn-secondary:hover {
    background-color: #ddd8d2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
  }
  
  /* ===================================
     Formulaire Signup - Espacement cohérent et symétrique
     =================================== */
  /* Reset complet de tous les espacements dans le formulaire */
  #form-client .signup-form *,
  #form-client .signup-form *::before,
  #form-client .signup-form *::after {
    box-sizing: border-box;
  }
  
  /* Wrapper uniforme pour tous les champs - FORCER avec !important */
  #form-client .signup-form .form-field-group {
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  #form-client .signup-form .form-field-group:first-child {
    margin-top: 0 !important;
  }
  
  #form-client .signup-form .form-field-group:last-child {
    margin-bottom: 0 !important;
  }
  
  /* Assurer que les rows dans form-field-group n'ont AUCUN margin */
  #form-client .signup-form .form-field-group .row {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  
  #form-client .signup-form .form-field-group .row > [class*="col-"] {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-left: 0.375rem !important;
    padding-right: 0.375rem !important;
  }
  
  #form-client .signup-form .form-field-group .row > [class*="col-"]:first-child {
    padding-left: 0 !important;
  }
  
  #form-client .signup-form .form-field-group .row > [class*="col-"]:last-child {
    padding-right: 0 !important;
  }
  
  /* Labels uniformes */
  #form-client .signup-form .form-field-group .form-label {
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
    display: block;
  }
  
  /* Textes d'aide uniformes */
  #form-client .signup-form .form-text {
    display: block !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
  }
  
  /* Input groups dans form-field-group - AUCUN margin */
  #form-client .signup-form .form-field-group .input-group {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  
  #form-client .signup-form .form-field-group .form-control {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  
  /* Form check dans form-field-group */
  #form-client .signup-form .form-field-group.form-check {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }
  
  /* Gutter personnalisé pour les champs Prénom/Nom */
  #form-client .signup-form .form-field-group .row.g-2 {
    --bs-gutter-x: 0.75rem !important;
    --bs-gutter-y: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  @media (max-width: 767.98px) {
    #form-client .signup-form .form-field-group .row.g-2 {
      --bs-gutter-y: 0.75rem !important;
    }
    
    #form-client .signup-form .form-field-group .row > [class*="col-"] {
      margin-bottom: 0.75rem !important;
    }
    
    #form-client .signup-form .form-field-group .row > [class*="col-"]:last-child {
      margin-bottom: 0 !important;
    }
  }

  /* ===================================
     Utilitaires
     =================================== */
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  .bg-primary {
    background-color: var(--primary-color) !important;
  }
  