/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { border: none; display: block; }

/* ── Page background ─────────────────────────────────────── */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #2d4a0f 0%, #4a7a1a 50%, #7dba2e 100%);
    /* background: linear-gradient(
                    135deg,
                    #000048 0%,
                    #003f84 50%,
                    #007dc0 100%
                ); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
}

/* ── Centered wrapper ────────────────────────────────────── */
.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Card ────────────────────────────────────────────────── */
.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 48px 44px 40px;
    width: 100%;
    max-width: 440px;
}

/* ── Logos row ───────────────────────────────────────────── */
.login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.logo-silvertrees {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-1fuel {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 44px;
    background: #d0d7de;
    flex-shrink: 0;
}

/* ── Headings ────────────────────────────────────────────── */
.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #4a7a1a;
    text-align: center;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 28px;
}

/* ── Flash messages ──────────────────────────────────────── */
#AdminLoginMessage,
.message {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

/* ── Form fields ─────────────────────────────────────────── */
.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
label.authorised_person_confirm{
    display: inline;
    font-weight: 500;
}
label.authorised_person_confirm a{
    color: blue;
}

.login-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.login-input:focus {
    border-color: #7dba2e;
    box-shadow: 0 0 0 3px rgba(125, 186, 46, 0.2);
    background: #fff;
}

/* ── Submit button ───────────────────────────────────────── */
.login-btn {
    display: block;
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    background: linear-gradient(135deg, #2d4a0f, #7dba2e);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.login-btn:hover  { opacity: 0.92; }
.login-btn:active { transform: scale(0.98); }

/* ── Checkbox (kept for any other pages using it) ─────────── */
.checkbox_confirm {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}
.checkbox_confirm input {
    width: max-content;
    margin-top: 4px;
    margin-right: 6px;
    flex-shrink: 0;
}
.checkbox_confirm label a { color: #5a9020; }