﻿/* ── Page shell ──────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #c8966e;
    background-image: linear-gradient(rgba(240, 180, 130, 0.45), rgba(240, 180, 130, 0.45)), url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
}

/* ── Header ──────────────────────────────────────────── */
.login-header {
    position: relative;
    background: rgba(255, 255, 255, 0.90);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 10px 24px;
}

.psl-logo {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    height: 68px;
    width: auto;
    object-fit: contain;
}

.brand-center {
    flex: 1;
    text-align: center;
}

.brand-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1;
}

    .brand-title sup {
        font-size: 1rem;
        vertical-align: super;
    }

/* ── Orange divider ──────────────────────────────────── */
.orange-bar {
    height: 5px;
    background: #F47320;
    flex-shrink: 0;
}

/* ── Body / card ─────────────────────────────────────── */
.login-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.93);
    border-radius: 10px;
    padding: 36px 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
}

/* ── Error banner ────────────────────────────────────── */
.error-banner {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

/* ── Form ────────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: 0.82rem;
        font-weight: 700;
        color: #444;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #cccccc;
    border-radius: 5px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
    color: #1a1a1a;
    box-sizing: border-box;
}

    .form-input:focus {
        border-color: #F47320;
    }

/* ── Remember me ─────────────────────────────────────── */
.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.88rem;
    color: #555;
}

    .remember-row input[type="checkbox"] {
        accent-color: #F47320;
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

    .remember-row label {
        cursor: pointer;
        user-select: none;
    }

/* ── Radzen login button ─────────────────────────────── */
.login-btn.rz-button {
    width: 100%;
    background: #F47320 !important;
    border-color: #F47320 !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 12px !important;
    justify-content: center;
}

    .login-btn.rz-button:hover:not(:disabled) {
        background: #C75B10 !important;
        border-color: #C75B10 !important;
    }

/* ── Footer ──────────────────────────────────────────── */
.login-footer {
    background: rgba(240, 240, 240, 0.95);
    border-top: 1px solid #dddddd;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.80rem;
    font-weight: 700;
    color: #555555;
    line-height: 1.7;
}

    .login-footer a {
        color: #F47320;
        text-decoration: none;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 480px) {
    .login-header {
        position: relative;
        justify-content: center;
    }

    .psl-logo {
        position: absolute;
        top: 12px;
        left: 20px;
        display: none;
    }

    .login-card {
        padding: 28px 24px;
    }
}
