:root {
    --green: #167344;
    --green-dark: #105832;
    --green-light: #e8f7ef;
    --text: #172b25;
    --muted: #5e786b;
    --background: #f4f8f5;
    --border: var(--line);
}

body {
    min-height: 100vh;
    margin: 0;
    background-color: var(--background);
    color: var(--text);
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.auth-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 40px;
    box-shadow: none;
}

.auth-logo {
    display: block;
    max-width: 220px;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    margin: 0 auto;
}

.form-label {
    font-size: 13px;
    font-weight: 750;
    color: #153825;
    margin-bottom: 6px;
}

.form-control {
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 4px;
    background-color: #fbfcfa;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--green);
    box-shadow: none;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: var(--green);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.btn-auth:hover {
    background: var(--green-dark);
    color: white;

    box-shadow: none;
}

.security-badge {
    padding: 14px;
    border-radius: 4px;
    background: #f4f8f5;
    border: 1px solid var(--line);
    color: #5c7568;
    font-size: 13px;
    line-height: 1.6;
}

.back-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.page-footer {
    padding: 24px 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 26px 20px;
        border-radius: 4px;
    }
    .auth-logo {
        max-width: 170px;
    }
}
