:root {
    --blue: #0066cc;
    --blue-h: #0052a3;
    --text: #1a1a2e;
    --muted: #5a6472;
    --border: #d1d9e0;
    --card: #ffffff;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.1rem;       /* ← était 1rem */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #0a0e1a;
    margin: 0;
    overflow-x: hidden;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    z-index: 0;
}

.main-container {
    position: relative;
    z-index: 10;
    background: var(--card);
    width: 100%;
    margin: auto;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    padding: 3.5rem;         /* ← était 3rem */
    animation: in .45s cubic-bezier(.22,1,.36,1) both;
}

@keyframes in {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.header-sso {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.header-sso h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
}

/* Bouton Bleu (Login/Action) */
.btn-sso {
    background-color: var(--blue);
    color: white !important;
    border: none;
    padding: 10px;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color .18s ease-in-out, transform 0.1s ease;
}

.btn-sso:hover {
    background-color: var(--blue-h);
    transform: translateY(-1px);
    text-decoration: underline !important;
}

/* Bouton Vert (Sign Up) */
.btn-success-custom {
    background-color: #38a169;
    color: white !important;
    border: none;
    padding: 10px;
    border-radius: 3px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color .18s ease-in-out, transform 0.1s ease;
}

.btn-success-custom:hover {
    background-color: #2f855a;
    transform: translateY(-1px);
    text-decoration: underline !important;
}

.btn-sso:active, .btn-success-custom:active { transform: translateY(0); }

.form-control {
    background-color: #fafbfc;
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 0.75rem 1rem;   /* ← était 0.6rem 0.85rem */
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.divider {
    display: flex; align-items: center; gap: .75rem;
    margin: 1.4rem 0 1.1rem; color: var(--muted);
    font-size: .78rem; text-transform: uppercase;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
