/* Split screen */
.login-container {
    display: flex;
    min-height: 100vh;
    background: #f4f7ff;
  }
  .login-left {
    flex: 1;
    background: #f4f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
  }
  .login-left img {
    max-width: 80%;
    margin-bottom: 30px;
    border-radius: 15px;
  }
  .login-left h2 {
    color: #292984;
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .login-left p {
    color: #7c91f3;
    font-size: 1.1rem;
  }
  .login-right {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(44, 62, 80, 0.08);
  }
  
  .login-form-container {
    width: 100%;
    max-width: 440px;
    background: rgba(255,255,255,0.98);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(44,62,80,0.13), 0 1.5px 8px 0 rgba(124,145,243,0.08);
    padding: 48px 36px 36px 36px;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .text-center.mb-4 {
    margin-bottom: 32px !important;
  }
  .login-form {
    width: 100%;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
  }
  .login-form h3 {
    text-align: center;
    color: #292984;
    margin-bottom: 10px;
  }
  .switch-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }
  .switch-btns button {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-radius: 6px;
    background: #f4f7ff;
    color: #292984;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .switch-btns button.active {
    background: linear-gradient(289.4deg, #292984 0%, #8f68fc 100.69%);
    color: #fff;
  }
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
  }
  .input-group .toggle-password {
    position: absolute;
    right: 12px;
    top: 73%;
    transform: translateY(-50%);
    color: #b0b8d1;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
  }
  .input-group label {
    color: #292984;
    font-weight: 500;
  }
  .input-group input {
    padding: 10px 35px;
    border: 1px solid #dbe2ef;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
  }
  .input-group input:focus {
    border-color: #7c91f3;
  }
  .error-message {
    background: #ffe0e0;
    color: #d32f2f;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 10px;
  }
  .login-form .options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .login-form .remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
  }
  .login-form .forgot {
    margin: 0;
    text-align: right;
  }
  .login-form .forgot a {
    color: #7c91f3;
    text-decoration: none;
    font-size: 0.95rem;
  }
  .login-form .btn-login {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(289.4deg, #292984 0%, #8f68fc 100.69%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
  }
  .login-form .btn-login:hover {
    background: linear-gradient(289.4deg, #8f68fc 0%, #292984 100.69%);
  }
  @media (max-width: 900px) {
    .login-container {
      flex-direction: column;
    }
    .login-left, .login-right {
      flex: unset;
      width: 100%;
      min-height: 300px;
      box-shadow: none;
    }
    .login-form {
      box-shadow: none;
      padding: 32px 10px;
    }
  }
  /* Couleurs dynamiques selon le type */
  .switch-btns button[data-type="osteo"].active {
    background: #7c91f3;
    color: #fff;
  }
  .switch-btns button[data-type="patient"].active {
    background: #76c9be;
    color: #fff;
  }
  .login-form.osteo-active button[type="button"] {
    background: #7c91f3;
  }
  .login-form.osteo-active button[type="button"]:hover {
    background: #5e6fd1;
  }
  .login-form.patient-active button[type="button"] {
    background: #76c9be;
  }
  .login-form.patient-active button[type="button"]:hover {
    background: #5bb1a7;
  } 

  .icon-check{
    display: none;
  }