/*-----------------------------------------------------------------------------------------
          FCBB v1.1
          James GERVIL-YAMBALA - Private Property 
          D�velopp� par GEYACOM avec l�appui d�outils d�ing�nierie num�rique avanc�s
          2026/06/21 - FCBB v1.1 - Styles de connexion intranet
-----------------------------------------------------------------------------------------*/

.login-body {
    background:
        linear-gradient(180deg, rgba(200, 16, 46, 0.08) 0%, rgba(255,255,255,1) 45%),
        #f7f8fb;
}

.page {
    min-height: calc(100vh - 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.login-shell {
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: var(--white);
    border: 1px solid #d9deea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(7, 29, 73, 0.12);
}

.branding {
    background: linear-gradient(180deg, #fff4f6 0%, #f7f8fb 100%);
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #d9deea;
}

.branding img {
    width: 180px;
    max-width: 100%;
    margin: 0 auto 22px auto;
}

.branding .kicker {
    display: inline-block;
    background: rgba(200, 16, 46, 0.10);
    color: #8f0b20;
    border: 1px solid rgba(200, 16, 46, 0.22);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: bold;
    margin: 0 auto 18px auto;
}

.branding h1 {
    margin: 0 auto 14px auto;
    font-size: 34px;
    line-height: 1.15;
    color: #071d49;
    max-width: 520px;
}

.branding p {
    margin: 0 auto 14px auto;
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
    max-width: 560px;
    text-align: justify !important;
}

.branding .signature {
    margin-top: 14px;
    font-weight: bold;
    color: #c8102e;
    text-align: center;
}

.login-card {
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
    color: #071d49;
    text-align: center;
}

.login-card .subtitle {
    margin: 0 0 26px;
    text-align: center;
    color: #4b5563;
    font-size: 14px;
}

.error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fdecea;
    color: #c0392b;
    text-align: center;
    font-size: 14px;
}

label {
    display: block;
    margin: 0 0 6px;
    color: #071d49;
    font-weight: bold;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    border: 1px solid #d9deea;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: #fff;
}

input:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

button {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(180deg, #c8102e 0%, #8f0b20 100%);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(200, 16, 46, 0.22);
}

button:hover {
    filter: brightness(0.98);
}

.footnote {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 860px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .branding {
        border-right: none;
        border-bottom: 1px solid #d9deea;
    }

    .branding h1 {
        font-size: 28px;
    }
}