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

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #11592a 0%, #7c9e3b 100%); /*A8FFB8 4D9F49*/
      /*347355 11592a */
      /*9fbb3a 11592a */
      /*7c9e3b 11592a */
      /**/
      /*11592a 347355 */
      /*11592a 9fbb3a */
      /*11592a 7c9e3b */
      /**/
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .login-container {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      width: 100%;
      max-width: 450px;
      padding: 40px;
    }

    .logo {
      text-align: center;
      margin-bottom: 30px;
    }

    .logo-icon {
      font-size: 60px;
      margin-bottom: 10px;
    }

    h1 {
      color: #333;
      text-align: center;
      margin-bottom: 10px;
      font-size: 28px;
    }

    .subtitle {
      text-align: center;
      color: #666;
      margin-bottom: 30px;
      font-size: 15px;
    }

    .tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 30px;
      border-bottom: 2px solid #e0e0e0;
    }

    .tab {
      flex: 1;
      padding: 12px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      font-size: 16px;
      font-weight: 600;
      color: #999;
      cursor: pointer;
      transition: all 0.3s ease;
    } 

    .tab.active {
      color: #11592a;
      border-bottom-color: #11592a;
    } 
    /*667eea */
    /*11592a */

    .tab:hover:not(.active) {
      color: #666;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #333;
      font-size: 14px;
    }

    .form-group input {
      width: 100%;
      padding: 14px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 15px;
      transition: all 0.3s ease;
    }

    .form-group input:focus {
      outline: none;
      border-color: #667eea;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-group input::placeholder {
      color: #999;
    }

    .form-content {
      display: none;
    }

    .form-content.active {
      display: block;
    }

    .submit-btn {
      width: 100%;
      padding: 16px;
      background: linear-gradient(135deg, #11592a 0%, #7c9e3b 100%);
      /*667eea 764ba2 */
      /*11592a 7c9e3b */
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-top: 10px;
    }

    .submit-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .submit-btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .error-message {
      background: #fee;
      border: 1px solid #fcc;
      color: #c33;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 20px;
      font-size: 14px;
      display: none;
    }

    .error-message.show {
      display: block;
      animation: shake 0.5s;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-10px); }
      75% { transform: translateX(10px); }
    }

    .success-message {
      background: #efe;
      border: 1px solid #cfc;
      color: #3c3;
      padding: 12px;
      border-radius: 8px;
      margin-bottom: 20px;
      font-size: 14px;
      display: none;
    }

    .success-message.show {
      display: block;
    }

    .password-toggle {
      position: relative;
    }

    .password-toggle input {
      padding-right: 45px;
    }

    .password-toggle-btn {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 18px;
      color: #999;
      padding: 5px;
    }

    .password-toggle-btn:hover {
      color: #667eea;
    }

    .form-footer {
      text-align: center;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #e0e0e0;
      color: #666;
      font-size: 14px;
    }

    .form-footer a {
      color: #667eea;
      text-decoration: none;
      font-weight: 600;
    }

    .form-footer a:hover {
      text-decoration: underline;
    }

    .loading {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid #fff;
      border-radius: 50%;
      border-top-color: transparent;
      animation: spin 0.8s linear infinite;
      margin-left: 8px;
      vertical-align: middle;
    }

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

    @media (max-width: 500px) {
      .login-container {
        padding: 30px 20px;
      }

      h1 {
        font-size: 24px;
      }

      .logo-icon {
        font-size: 50px;
      }
    }

    /* ========================================
       MODAL DE CONNEXION (pour page réservation)
       ======================================== */

    .auth-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        animation: fadeIn 0.3s ease;
        padding: 20px;
    }

    .auth-modal {
        background: white;
        border-radius: 16px;
        padding: 40px;
        max-width: 450px;
        width: 100%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.3s ease;
        position: relative;
    }

    .auth-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        line-height: 1;
    }

    .auth-modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

    .auth-modal-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #11592a 0%, #7c9e3b 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: white;
        font-size: 2.5rem;
    }

    .auth-modal h2 {
        color: #333;
        font-size: 28px;
        margin-bottom: 12px;
        text-align: center;
        font-weight: 600;
    }

    .auth-modal p {
        color: #666;
        text-align: center;
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 1.5;
    }

    .auth-modal-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .auth-modal-btn {
        width: 100%;
        padding: 16px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        display: inline-block;
    }

    .auth-modal-btn-primary {
        background: linear-gradient(135deg, #11592a 0%, #7c9e3b 100%);
        color: white;
        box-shadow: 0 4px 12px rgba(17, 89, 42, 0.3);
    }

    .auth-modal-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(17, 89, 42, 0.4);
    }

    .auth-modal-btn-secondary {
        background: white;
        color: #11592a;
        border: 2px solid #11592a;
    }

    .auth-modal-btn-secondary:hover {
        background: #f8f8f8;
    }

    .auth-modal-divider {
        text-align: center;
        margin: 8px 0;
        color: #999;
        font-size: 14px;
        position: relative;
    }

    .auth-modal-divider::before,
    .auth-modal-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #e0e0e0;
    }

    .auth-modal-divider::before {
        left: 0;
    }

    .auth-modal-divider::after {
        right: 0;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

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

    @media (max-width: 500px) {
        .auth-modal {
            padding: 30px 20px;
        }

        .auth-modal h2 {
            font-size: 24px;
        }

        .auth-modal-icon {
            width: 60px;
            height: 60px;
            font-size: 2rem;
        }
    }

    /* Bouton annuler dans la modal calendrier */
    .auth-modal-btn-cancel {
      width: 100%;
      padding: 12px;
      margin-top: 1rem;
      background: transparent;
      color: #666;
      border: none;
      border-radius: 8px;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .auth-modal-btn-cancel:hover {
      background: #f0f0f0;
      color: #333;
    }

    /* Icône cadenas */
    .lock-icon {
      margin-left: 0.5rem;
      font-size: 0.9rem;
    }