﻿:root {
    --bg: #06131b;
    --panel: #0d1b23;
    --input: #33414c;
    --text: #dfe7ec;
    --muted: #b89490;
    --accent: #ff4538;
    --accent-soft: #f2a7a0;
}

* {
    box-sizing: border-box;
}
.login-brand {
    text-align: center;
}

.login-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block; 
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.login-page {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(rgba(2, 12, 18, .78), rgba(2, 12, 18, .9)), url('/assets/images/login/firetruck-bg.jpg') center / cover no-repeat;
    display: flex;
    flex-direction: column;
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,69,56,.06), rgba(0,0,0,.45));
    pointer-events: none;
}

.login-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 120px;
}

.login-brand {
    text-align: center;
    margin-bottom: 34px;
}

    .login-brand h1 {
        margin: 0;
        color: var(--accent);
        font-size: 46px;
        font-weight: 900;
        letter-spacing: -1px;
    }

    .login-brand p {
        color: #a6aeb4;
        margin-top: 8px;
        font-size: 12px;
        letter-spacing: 5px;
    }

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(13, 27, 35, .98);
    padding: 36px;
    border: 1px solid rgba(255,255,255,.04);
    box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

    .login-card h2 {
        margin: 0;
        font-size: 26px;
        font-weight: 800;
    }

.login-subtitle {
    color: var(--muted);
    margin: 6px 0 30px;
}

.login-field {
    margin-bottom: 22px;
}

    .login-field label {
        display: block;
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1.6px;
        margin-bottom: 8px;
    }

.input-wrap {
    display: flex;
    align-items: center;
    background: var(--input);
    min-height: 52px;
    padding: 0 14px;
    gap: 12px;
}

    .input-wrap span {
        color: var(--muted);
    }

    .input-wrap input {
        width: 100%;
        background: transparent;
        border: none;
        outline: none;
        color: var(--text);
        font-size: 15px;
    }

        .input-wrap input::placeholder {
            color: rgba(223,231,236,.45);
        }

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 26px;
    font-size: 13px;
}

.remember-check {
    display: flex;
    gap: 8px;
    color: var(--muted);
}

    .remember-check input {
        accent-color: var(--accent);
    }

.login-options a,
.confirm-link {
    color: var(--accent-soft);
    text-decoration: none;
}

.login-btn {
    width: 100%;
    border: none;
    padding: 17px;
    background: linear-gradient(180deg, #ff9c98, #e83535);
    color: #301010;
    font-weight: 900;
    letter-spacing: 2px;
}

.login-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: 34px 0 26px;
}

.warning-text {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    margin-bottom: 18px;
}

.register-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.confirm-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
}

.login-badges {
    margin-top: 30px;
    display: flex;
    gap: 28px;
    color: rgba(223,231,236,.48);
    font-size: 11px;
    font-weight: 700;
}

.login-footer {
    position: relative;
    z-index: 1;
    background: #041018;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .login-footer strong {
        color: var(--accent);
        letter-spacing: 2px;
    }

    .login-footer p {
        color: rgba(223,231,236,.4);
        margin: 8px 0 0;
        font-size: 12px;
    }

.footer-links {
    display: flex;
    gap: 32px;
}

    .footer-links a {
        color: var(--muted);
        text-decoration: none;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1px;
    }

@media (max-width: 768px) {
    .login-brand h1 {
        font-size: 36px;
    }

    .login-brand p {
        letter-spacing: 2px;
    }

    .login-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 16px;
    }
}
.password-wrap {
    position: relative;
}

    .password-wrap input {
        padding-right: 52px !important;
    }

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #c99b96;
    padding: 0;
    cursor: pointer;
    z-index: 2;
}

    .password-toggle:hover {
        color: #ff6f61;
    }

    .password-toggle:focus {
        outline: none;
    }

    .password-toggle svg {
        pointer-events: none;
    }