/* ========== STYLES GLOBAUX ========== */
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background: #f4f4f4;
        }

        /* ========== CONTAINER ========== */
        .login-container {
            max-width: 600px;
            margin: 20px auto;
            background: white;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        .login-container h1 {
            text-align: center;
            color: #333;
            margin-bottom: 20px;
        }

        /* ========== ONGLETS ========== */
        .tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .tab {
            flex: 1;
            text-align: center;
            padding: 10px;
            cursor: pointer;
            background: #f9f9f9;
            border: 1px solid #ddd;
            border-bottom: none;
            border-radius: 5px 5px 0 0;
        }

        .tab.active {
            background: #007BFF;
            color: white;
            border-color: #007BFF;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* ========== FORMULAIRES ========== */
        .form-group {
            margin-bottom: 15px;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        input, select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }

        /* ========== MOT DE PASSE ========== */
        .password-container {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #777;
        }

        .toggle-password:hover {
            color: #333;
        }

        .password-strength {
            margin-top: 5px;
            height: 5px;
            background: #eee;
            border-radius: 5px;
            overflow: hidden;
        }

        .strength-bar {
            height: 100%;
            width: 0%;
            transition: width 0.3s, background 0.3s;
        }

        .strength-1 { width: 20%; background: #ff4d4d; }
        .strength-2 { width: 40%; background: #ff7a45; }
        .strength-3 { width: 60%; background: #ffbb33; }
        .strength-4 { width: 80%; background: #aaff33; }
        .strength-5 { width: 100%; background: #00C851; }

        .password-requirements {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .password-requirements ul {
            margin: 5px 0 0 20px;
            padding: 0;
        }

        .password-requirements li {
            margin-bottom: 3px;
        }

        .password-requirements li.valid {
            color: #00C851;
        }

        .password-requirements li.valid::before {
            content: "✓";
            margin-right: 5px;
        }

        .password-requirements li.invalid {
            color: #ff4d4d;
        }

        .password-requirements li.invalid::before {
            content: "✗";
            margin-right: 5px;
        }

        /* ========== BOUTONS ========== */
        button {
            background: #007BFF;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            font-size: 16px;
        }

        button:hover {
            background: #0056b3;
        }

        /* ========== MESSAGES ========== */
        .errors {
            color: red;
            margin-bottom: 15px;
            padding: 10px;
            background: #ffebee;
            border-radius: 4px;
        }

        .success {
            color: green;
            margin-bottom: 15px;
            text-align: center;
            padding: 10px;
            background: #e8f5e9;
            border-radius: 4px;
        }

        /* ========== MOT DE PASSE OUBLIÉ ========== */
        .forgot-password {
            text-align: right;
            margin: -10px 0 15px 0;
        }

        .forgot-password a {
            color: #007BFF;
            text-decoration: none;
        }

        .forgot-password a:hover {
            text-decoration: underline;
        }

        /* ========== CASE À COCHER + MODAL ========== */
        .terms-container {
            margin: 15px 0;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .terms-checkbox {
            margin-top: 5px;
            cursor: pointer;
            flex-shrink: 0;
            width: 16px;
            height: 16px;
        }

        .terms-label {
            font-size: 14px;
            color: #555;
            line-height: 1.4;
        }

        .terms-label a {
            color: #007BFF;
            text-decoration: underline;
            cursor: pointer;
        }

        .terms-label a:hover {
            color: #0056b3;
        }

        /* ========== MODAL ========== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }

        .modal-title {
            font-size: 1.5em;
            color: #333;
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 1.5em;
            cursor: pointer;
            color: #777;
        }

        .modal-close:hover {
            color: #333;
        }

        .modal-body {
            line-height: 1.8;
            color: #444;
        }

        .modal-body h3 {
            color: #007BFF;
            margin: 20px 0 10px 0;
        }

        .modal-body ul {
            padding-left: 20px;
            margin: 10px 0;
        }

        .modal-body li {
            margin-bottom: 8px;
        }

        .modal-footer {
            margin-top: 20px;
            text-align: right;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

        .btn-accept {
            background: #007BFF;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }