    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      overflow-x: hidden;
    }

    .auth-container {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
    }

    /* Partie gauche - Visuel */
    .auth-visual {
      background: linear-gradient(135deg, #1A3318 0%, #2C5F2D 50%, #4a7c59 100%);
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 60px;
      color: white;
      overflow: hidden;
    }

    .auth-visual::before {
      content: '';
      position: absolute;
      width: 500px;
      height: 500px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      top: -200px;
      left: -200px;
      animation: float 20s infinite ease-in-out;
    }

    .auth-visual::after {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      background: rgba(255, 255, 255, 0.03);
      border-radius: 50%;
      bottom: -150px;
      right: -150px;
      animation: float 15s infinite ease-in-out reverse;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      50% { transform: translate(50px, 50px) rotate(180deg); }
    }

    .visual-content {
      position: relative;
      z-index: 2;
      text-align: center;
    }

    .visual-icon {
      font-size: 120px;
      margin-bottom: 30px;
      filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
      animation: bounce 3s infinite;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-20px); }
    }

    .visual-content h1 {
      font-size: 48px;
      font-weight: 800;
      margin-bottom: 20px;
      text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }

    .visual-content p {
      font-size: 20px;
      opacity: 0.9;
      line-height: 1.6;
      max-width: 500px;
    }

    .features {
      margin-top: 50px;
      display: grid;
      gap: 20px;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 15px;
      background: rgba(255, 255, 255, 0.1);
      padding: 15px 25px;
      border-radius: 15px;
      backdrop-filter: blur(10px);
      transition: transform 0.3s;
    }

    .feature-item:hover {
      transform: translateX(10px);
      background: rgba(255, 255, 255, 0.15);
    }

    .feature-icon {
      font-size: 32px;
    }

    /* Partie droite - Formulaire */
    .auth-form-section {
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
      position: relative;
    }

    .auth-form-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 6px;
      background: linear-gradient(90deg, #2C5F2D 0%, #4a7c59 100%);
    }

    .form-wrapper {
      width: 100%;
      max-width: 450px;
      animation: slideIn 0.6s ease-out;
    }

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

    .form-header {
      margin-bottom: 40px;
    }

    .form-header h2 {
      font-size: 36px;
      color: #1a202c;
      margin-bottom: 10px;
      font-weight: 800;
    }

    .form-header p {
      color: #718096;
      font-size: 16px;
    }

    .form-group {
      margin-bottom: 25px;
      position: relative;
    }

    .form-label {
      display: block;
      font-weight: 600;
      color: #2d3748;
      margin-bottom: 10px;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .input-wrapper {
      position: relative;
    }

    .form-input {
      width: 100%;
      padding: 16px 20px;
      padding-left: 50px;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      font-size: 16px;
      transition: all 0.3s;
      background: #f7fafc;
    }

    .form-input:focus {
      outline: none;
      border-color: #2C5F2D;
      background: white;
      box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.1);
      transform: translateY(-2px);
    }

    .input-icon {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
      opacity: 0.5;
    }

    .form-input:focus + .input-icon {
      opacity: 1;
    }

    .password-toggle-btn {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 22px;
      opacity: 0.5;
      transition: opacity 0.3s;
      z-index: 2;
    }

    .password-toggle-btn:hover {
      opacity: 1;
    }

    .forgot-password {
      text-align: right;
      margin-top: -15px;
      margin-bottom: 25px;
    }

    .forgot-password a {
      color: #2C5F2D;
      font-size: 14px;
      text-decoration: none;
      font-weight: 500;
      transition: color 0.3s;
    }

    .forgot-password a:hover {
      color: #1A3318;
      text-decoration: underline;
    }

    .btn-submit {
      width: 100%;
      padding: 18px;
      background: linear-gradient(135deg, #2C5F2D 0%, #1A3318 100%);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
      position: relative;
      overflow: hidden;
    }

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

    .btn-submit:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-submit:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
    }

    .btn-submit:disabled {
      background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .divider {
      display: flex;
      align-items: center;
      margin: 30px 0;
      color: #a0aec0;
      font-size: 14px;
    }

    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }

    .divider span {
      padding: 0 15px;
    }

    .auth-links {
      text-align: center;
      padding: 25px;
      background: #f7fafc;
      border-radius: 12px;
      margin-top: 25px;
    }

    .auth-links p {
      color: #4a5568;
      font-size: 15px;
    }

    .auth-links a {
      color: #2C5F2D;
      text-decoration: none;
      font-weight: 700;
      transition: color 0.3s;
    }

    .auth-links a:hover {
      color: #1A3318;
      text-decoration: underline;
    }

    .alert {
      padding: 16px 20px;
      border-radius: 12px;
      margin-bottom: 25px;
      font-size: 14px;
      font-weight: 500;
      display: none;
      animation: slideDown 0.4s ease-out;
    }

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

    .alert-success {
      background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
      color: #065f46;
      border-left: 4px solid #10b981;
    }

    .alert-error {
      background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
      color: #991b1b;
      border-left: 4px solid #ef4444;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .auth-container {
        grid-template-columns: 1fr;
      }

      .auth-visual {
        display: none;
      }

      .auth-form-section {
        padding: 40px 20px;
      }
    }

    @media (max-width: 480px) {
      .form-header h2 {
        font-size: 28px;
      }

      .form-input {
        padding: 14px 18px;
        padding-left: 45px;
      }
    }

    /* Animations de chargement */
    .loading-spinner {
      display: inline-block;
      width: 18px;
      height: 18px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin-right: 8px;
      vertical-align: middle;
    }

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