body.simple-login-body {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.76)),
        url('images/elevator-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

.portal-login-body .navbar {
    background-color: rgba(26, 26, 26, 0.95);
}

.portal-login-body .floor-display {
    min-width: 120px;
}

.portal-login-body .floor-number {
    font-size: 3.6rem;
    margin-bottom: 2px;
}

.portal-login-body .floor-text {
    font-size: 1rem;
    letter-spacing: 3px;
}

.simple-login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 40px;
    overflow: hidden;
}

.simple-login-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 92%);
    pointer-events: none;
}

.simple-login-page .container {
    position: relative;
    z-index: 1;
}

.simple-login-card {
    width: min(100%, 600px);
    margin: 0 auto;
    padding: 46px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(18, 24, 33, 0.94), rgba(24, 30, 40, 0.88));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
    text-align: center;
}

.simple-login-logo {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 620 / 820;
    object-fit: cover;
    object-position: center;
    margin-bottom: 14px;
    border-radius: 28px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.simple-login-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffcc00;
}

.simple-login-text {
    margin: 12px auto 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.simple-login-actions {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.simple-login-role-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.simple-login-role {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 204, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    font-weight: 600;
    cursor: pointer;
}

.simple-login-role--active {
    background: linear-gradient(145deg, #ffcc00, #efb700);
    color: #111;
    border-color: #ffcc00;
}

.simple-login-form {
    margin-top: 22px;
    text-align: left;
}

.simple-login-label {
    display: block;
    margin: 12px 0 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.simple-login-input {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 12, 20, 0.55);
    color: #fff;
    padding: 0 14px;
    font-size: 1rem;
}

.simple-login-input:focus {
    outline: 2px solid rgba(255, 204, 0, 0.45);
    border-color: rgba(255, 204, 0, 0.65);
}

.simple-login-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca;
    font-size: 0.92rem;
}

.simple-login-button--full {
    width: 100%;
    margin-top: 18px;
}

.portal-step-login[hidden],
#portal-step-pick[hidden] {
    display: none !important;
}

.simple-login-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    cursor: pointer;
}

.simple-login-back:hover {
    color: #ffcc00;
}

button.simple-login-button {
    border: 0;
    width: 100%;
    cursor: pointer;
    font: inherit;
}

.simple-login-button {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffcc00, #efb700);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.simple-login-button:hover {
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 204, 0, 0.22);
}

.simple-login-button--secondary {
    background: transparent;
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.42);
}

.simple-login-button--secondary:hover {
    color: #111;
    background: linear-gradient(145deg, #ffcc00, #efb700);
}

.simple-login-help {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
}

.simple-login-help a {
    color: #fff;
    font-weight: 600;
}

.nav-link-portal-current {
    background: linear-gradient(145deg, #ffcc00, #e0b100) !important;
    color: #111 !important;
    border-color: #ffcc00 !important;
    box-shadow: 0 12px 24px rgba(255, 204, 0, 0.18) !important;
}

.nav-link-portal-current::before {
    content: '7';
    font-family: 'Digital-7', monospace;
    font-weight: 700;
    left: 10px;
    width: 24px;
    height: 24px;
    background: rgba(17, 17, 17, 0.92);
    border-radius: 50%;
    border: 0;
    box-shadow: none;
    color: #ffcc00;
}

.nav-link-portal-current:hover {
    background: linear-gradient(145deg, #ffe27a, #ffcc00) !important;
    color: #111 !important;
    border-color: #ffe27a !important;
}

.nav-link-portal-current:hover::before {
    background: rgba(17, 17, 17, 0.92);
    box-shadow: none;
}

.nav-link-portal-current::after {
    content: none;
}

@media (max-width: 576px) {
    .simple-login-logo {
        width: min(100%, 160px);
        height: auto;
    }

    .simple-login-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .simple-login-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 991px) {
    .portal-login-body .floor-display {
        min-width: 82px;
    }

    .portal-login-body .floor-number {
        font-size: 2.2rem;
    }

    .portal-login-body .floor-text {
        font-size: 0.7rem;
    }
}
