/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

:root {
    --panel-left: 175px;
    --panel-width: 430px;
    --panel-padding-right: 50px;
}

html, body {
    height: 100%;
    width: 100%;
}

/* HERO PANEL — FULLSCREEN BACKGROUND */
.hero-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}

/* HERO TEXT — TOP RIGHT */
.hero-text {
    position: absolute;
    transition: font-size 0.25s ease, opacity 0.25s ease;
    opacity: 1;
    left: calc(175px + 430px + 50px);
    top: 250px;
    right: 200px;
    text-align: left;
    color: #ffffff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 3px 8px rgba(0,0,0,0.6);
    max-width: 1000px;
    left: calc(var(--panel-left) + var(--panel-width) + var(--panel-padding-right));

}

.hero-text.small {
    font-size: 28px;
}

/* Prevent flicker before JS runs */
.hero-text.hidden {
    opacity: 0;
}

/* LOGIN PANEL */
.login-panel {
    width: 430px;
    min-width: 430px;
    background: rgba(12,12,12,0.70);
    display: flex;
    align-items: top;
    justify-content: center;
    padding: 60px 50px;
    position: absolute;
    left: 175px;
    top: 0;
    bottom: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
    z-index: 10;
}

.login-content {
    width: 100%;
    max-width: 430px;
}

/* BRAND HEADER */
.brand {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.brand-logo {
    height: 75px;
    color: #ffffff;
    letter-spacing: 1px;
}

.brand-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.brand-divider {
    width: 2px;
    height: 75px;
    background: #ffffff;
    margin: 0 20px;
}

/* FORM FIELDS */
.field {
    margin-bottom: 12px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e6e6e6;
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    background: #000000;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 15px;
    color: #ffffff;
}

.field input::placeholder {
    color: #bbbbbb;
    letter-spacing: 0.5px;
}

.field input:focus {
    border-color: #f05922;
    outline: none;
}

/* PRIMARY BUTTON */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #f05922;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease;
}

.btn-primary:hover {
    background: #d85f1c;
}

/* TERMS */
.terms {
    font-size: 12px;
    color: #ccc;
    margin-top: 18px;
    line-height: 1.5;
}

.terms a {
    color: #f05922;
    text-decoration: none;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .login-panel {
        width: 100%;
        left: 0;
        height: auto;
        padding: 40px 30px;
    }

    .hero-text {
        top: 40px;
        right: 30px;
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .brand {
        font-size: 28px;
    }

    .hero-text {
        font-size: 18px;
    }
}

/* Targets the B2C generated container */
#api {
    width: 100%;
}

/* Targets the injected Sign In button */
#api button#next {
    background-color: #d85f1c;
    color: #ffffff;
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

#api button#next:hover {
    background: #1e1e1e;
    border-color: #d85f1c;
}
/* Style the injected input fields */
#api input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
/* SECONDARY BUTTON — ORANGE OUTLINE */
button.claims-provider-selection {
    width: 100%;
    padding: 14px;
    background: #2d2d2d;
    color: #ffffff;
    border: 2px solid #d85f1c;
    border-radius: 4px;
    margin-top: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}

/* Hide the default B2C labels if you want the "clean" look */
#api .entry-item label {
    display: none;
}

#api {
    display: flex;
    flex-direction: column;
}

.claims-provider-list-buttons.social {
    order: 99; /* push to bottom */
}

.divider {
    display: none;
}

.intro {
    display: none;
}

#localAccountForm {
    order: 1; /* ensure local login stays at top */
}

#api .error * {
    color: red !important;
}