/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  body {
    background-color: #ffffff;
    color: #2d3748;
    padding-top: 70px; 
}

.navbar.position-fixed {
    position: fixed !important;
    top: 0;
    width: 100% !important;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Carte principale */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    padding: 1.598rem;
    width: 100%;
    max-width: 900px;
    margin: 1.5rem auto 4rem; 
    background-color: white;
}
  
  
  /* Stepper */
  .stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
  }
  
  .step-circle {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    color: #4a5568;
    font-weight: 500;
  }
  
  .step.active .step-circle,
  .step.completed .step-circle {
    background-color: rgba(66, 174, 174, 1);
    color: white;
  }
  
  .step-label {
    font-size: 0.875rem;
    color: #718096;
    text-align: center;
  }
  
  .step.active .step-label,
  .step.completed .step-label {
    color: rgba(66, 174, 174, 1);
    font-weight: 500;
  }
  
  .step-line {
    position: absolute;
    top: 1rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
  }
  
  .step:last-child .step-line {
    display: none;
  }
  
  .step.active .step-line,
  .step.completed .step-line {
    background-color: rgba(66, 174, 174, 1);
  }
  
  /* Contenu de la carte */
  .card-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
  }
  
  @media (max-width: 768px) {
    .card {
      margin: 2rem auto 3rem; 
    }
    .card-content {
      grid-template-columns: 1fr;
    }
    .form-container {
      padding-right: 0;
    }
  }
  
  /* Formulaire */
  .form-container {
    padding-right: 1rem;
  }
  
  
  .title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .title::after {
    content: "";
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #065f46;
  }
  
  .subtitle-register {
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-size: 0.9rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #4a5568;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"]
 {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid rgba(66, 174, 174, 1);
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }

  #customer_userType
  {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid rgba(66, 174, 174, 1);
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }

  #customer_activitySectors
  {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid rgba(66, 174, 174, 1);
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }
  #customer_employeeCount
  {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid rgba(66, 174, 174, 1);
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }
  
  .input-with-icon {
    position: relative;
  }
  
  .input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .checkbox-group,
  .radio-group {
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    padding: 0.5rem;
  }
  
  .checkbox-item,
  .radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
  }
  
  .checkbox-item:last-child,
  .radio-item:last-child {
    margin-bottom: 0;
  }
  
  .checkbox-item input,
  .radio-item input {
    margin-right: 0.5rem;
  }
  
  .btn-primary {
    background-color: rgba(66, 174, 174, 1) !important;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
  }

  .btn-primary .loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    margin-right: 8px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
  
  .btn-primary:hover {
    background-color: rgba(66, 174, 160, 1) !important;
  }
  
  /* Options du formulaire de connexion */
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.75rem 0;
  }
  
  .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #cbd5e1;
    cursor: pointer;
  }
  
  .remember-me label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
    cursor: pointer;
  }
  
  .forgot-password {
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 500;
    text-decoration: none;
  }
  
  .forgot-password:hover {
    text-decoration: underline;
  }
  
  .no-account {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    margin: 0.75rem 0;
  }
  
  .no-account span {
    color: #475569;
  }
  
  .no-account a {
    margin-left: 0.25rem;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
  }
  
  .no-account a:hover {
    text-decoration: underline;
  }
  
  /* Séparateur */
  .divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
  }
  
  .divider::before,
  .divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #e2e8f0;
  }
  
  .divider span {
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
  }
  
  /* Connexion sociale */
  .social-login {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background-color: transparent;
    color: #065f46;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .social-btn:hover {
    background-color: #f8fafc;
  }
  
  /* Confirmation */
  .confirmation-container {
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #065f46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
  }
  
  .success-icon svg {
    width: 2rem;
    height: 2rem;
  }
  
  /* Informations de contact */
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .d-none {
    display: none;
  }
  
  .contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .contact-item svg {
    color: #4a5568;
    flex-shrink: 0;
    margin-top: 0.25rem;
  }
  
  .contact-item p {
    font-size: 0.875rem;
    color: #4a5568;
  }
  
  .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .social-icons a {
    color: #4a5568;
  }

  .error-message {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.1);
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border-left: 3px solid #dc2626;
  }

  .required-field label::after {
    content: " *";
    color: #dc2626;
  }
  
  .invalid-feedback {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }

  .hidden-select {
    display: none;
  }
  .sector-categories {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    margin-bottom: 15px;
  }
  
  .category-sector-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: #065f46;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 5px;
  }
  
  .no-categories {
    font-style: italic;
    color: #6b7280;
  }
  
  .checkbox-group {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
  }

  .checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
  }
  
  .checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  .checkbox-item label {
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    display: inline-block;
  }
  
  .checkbox-item label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border: 2px solid #065f46;
    border-radius: 4px;
    background-color: white;
    transition: all 0.2s ease;
  }
  
  .checkbox-item input[type="checkbox"]:checked + label:before {
    background-color: #065f46;
  }
  
  .checkbox-item label:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
  }
  
  .checkbox-item input[type="checkbox"]:checked + label:after {
    opacity: 1;
  }
  
  .buttons-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    /* width: 100%; */
  }
  
  .btn-primary {
    background-color: #065f46;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* min-width: 100px; */
  }
  
  .btn-primary:hover {
    background-color: #064e3b;
  }
  
  .btn-secondary {
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* min-width: 100px; */
  }
  
  .btn-secondary:hover {
    background-color: #4b5563;
  }
  
  .btn-secondary {
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px; 
    margin-right: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-secondary:hover {
    background-color: #4b5563;
  }