:root {
    --primary: #0047AB; 
    --accent: #FF8C00;  
    --dark: #0f172a;
    --gray-bg: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-bg);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- BANDE DU HAUT (NAVBAR AFFINÉE) --- */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    height: 70px; /* On fixe une hauteur très basse */
    display: flex;
    align-items: center;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.main-logo {
    height: 200px; /* LOGO AGRANDI AU MAXIMUM */
    width: auto;
    display: block;
}

.btn-inscription {
    text-decoration: none;
    color: var(--dark);
    font-size: 20px;
    font-weight: 600;
    border: 5px solid var(--border);
    padding: 6px 25px; /* Plus compact */
    border-radius: 22px;
    transition: all 0.3s ease;
}


.btn-inscription:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- CONTENU CENTRAL --- */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.card {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
}

.doc-icon-container {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

h1 { font-size: 19px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.card-header p { font-size: 13px; color: #64748b; line-height: 1.4; text-align: center; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #475569; }

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fcfcfd;
}

.btn-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 13px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--accent);
}

.form-options { text-align: center; margin-top: 15px; }
.forgot-link { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }

.divider { height: 1px; background: var(--border); margin: 20px 0; }
.help-text { font-size: 12px; color: #94a3b8; text-align: center; }
.help-text a { color: #64748b; text-decoration: none; font-weight: 600; }

/* --- BANDE DU BAS (FOOTER AFFINÉ) --- */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    height: 70px; /* Exactement la même hauteur que le haut */
    display: flex;
    align-items: center;
}

.footer-container {
    max-width: 1200px;
	width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.footer-logo {
    height: 90px; /* LOGO PIED DE PAGE AGRANDI */
    width: auto;
    vertical-align: middle;
    margin-right: 15px;
}

.footer-left span {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 10px;
}

.footer-right a {
    text-decoration: none;
    color: #64748b;
    font-size: 11px;
    margin-left: 15px;
}


















.alert {
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #b91c1c;
}

.alert-info {
    background-color: #f0f9ff;
    border: 1px solid #e0f2fe;
    color: #0369a1;
}

.spinner-mini {
    width: 14px;
    height: 14px;
    border: 2px solid #bae6fd;
    border-top-color: #0369a1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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























.footer-right a:hover { color: var(--primary); }

@media (max-width: 600px) {
    .main-logo { height: 70px; }
    .footer-container { flex-direction: column; gap: 5px; }
}