﻿html,
body {
    margin: 0;
    padding: 0;
}

.login-page {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #0f1115;
    color: #ffffff;
}

.login-topbar {
    height: 42px;
    background: #d71920;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    box-sizing: border-box;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 3;
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 15px;
}

.login-hero {
    position: relative;
    min-height: calc(100vh - 42px);
    background-image: url('/images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.72) 42%, rgba(0,0,0,0.48) 100%), radial-gradient(circle at 20% 30%, rgba(215,25,32,0.25), transparent 34%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 42px);
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(360px, 470px);
    gap: 48px;
    align-items: center;
    padding: 48px 58px;
    box-sizing: border-box;
}

.hero-panel {
    max-width: 680px;
}

.realtrac-logo {
    width: min(380px, 90%);
    height: auto;
    margin-bottom: 48px;
    display: block;
}

.hero-panel h1 {
    margin: 0 0 18px 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 0 30px 0;
    color: rgba(255,255,255,0.88);
    font-size: 21px;
    line-height: 1.45;
    font-weight: 700;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 650px;
}

    .feature-list div {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 10px;
        align-items: start;
        color: rgba(255,255,255,0.92);
        font-size: 17px;
        line-height: 1.45;
        font-weight: 700;
    }

.check-dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #d71920;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    margin-top: 1px;
}

.login-card {
    background: rgba(18, 18, 20, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
    backdrop-filter: blur(8px);
}

.card-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 900;
}

.card-header p {
    margin: 0 0 26px 0;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.4;
}

.field-group {
    margin-bottom: 18px;
}

    .field-group label {
        display: block;
        margin-bottom: 7px;
        color: rgba(255,255,255,0.86);
        font-size: 13px;
        font-weight: 800;
    }

.account-input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.20);
    color: #ffffff;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

    .account-input:focus {
        border-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(215,25,32,0.35);
    }

    .account-input::placeholder {
        color: rgba(255,255,255,0.45);
    }

.password-wrap {
    position: relative;
}

.password-input {
    padding-right: 70px;
}

.password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    padding: 6px 8px;
    font-family: inherit;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 24px 0;
    font-size: 14px;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.78);
    font-weight: 700;
}

.remember-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #d71920;
}

.login-options a,
.account-links a,
.secondary-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
}

    .login-options a:hover,
    .account-links a:hover,
    .secondary-links a:hover {
        text-decoration: underline;
    }

.login-button {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(180deg, #c8102e 0%, #a80623 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 26px rgba(168,6,35,0.28);
}

    .login-button:hover {
        background: linear-gradient(180deg, #d71920 0%, #b30828 100%);
    }

.account-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.68);
    font-size: 14px;
    font-weight: 700;
}

.secondary-links {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
}

.validation-summary,
.field-validation,
.text-danger {
    color: #ffb4b4;
    font-weight: 800;
    font-size: 13px;
}

.validation-summary {
    margin-bottom: 14px;
}

    .validation-summary ul {
        margin: 0 0 0 18px;
        padding: 0;
    }

.alert,
.status-message {
    margin-bottom: 14px;
}

.invite-only-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

    .button-link:hover {
        text-decoration: none;
    }

.invite-chip {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 900;
}

.readonly-input {
    opacity: .82;
    cursor: not-allowed;
}

@@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding: 34px 24px;
        gap: 30px;
    }

    .realtrac-logo {
        margin-bottom: 26px;
    }

    .hero-panel h1 {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .login-card {
        max-width: 520px;
        width: 100%;
        justify-self: center;
        box-sizing: border-box;
    }
}

@@media (max-width: 560px) {
    .login-topbar {
        height: auto;
        padding: 10px 16px;
    }

    .contact-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 13px;
    }

    .hero-content {
        padding: 28px 16px;
    }

    .hero-panel h1 {
        font-size: 36px;
    }

    .feature-list div {
        font-size: 15px;
    }

    .login-card {
        padding: 24px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-links {
        flex-direction: column;
        align-items: center;
    }
}
