* { box-sizing: border-box; }

html, body { min-height: 100vh; }

body {
    margin: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

.auth-shell {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: #003BCB;
}

.auth-shell__main {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
}

.auth-shell__promo {
    flex: 1 1 50%;
    display: flex;
}

.auth-shell__logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0 0 16px;
}

.auth-card {
    width: 360px;
    max-width: 92vw;
    background: #fff;
    padding: 20px 30px 15px;
}

.auth-card h1 {
    margin: 20px 0 25px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #000;
}

.auth-card h1.auth-card__h1--tight { margin-bottom: 5px; }

.auth-card h5.auth-card__label {
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1;
    color: #333;
}

.auth-card h5.auth-card__label--spaced { margin-top: 30px; }

.auth-card p {
    margin: 0 0 10px;
    color: #848484;
}

.auth-card p.auth-card__subtext {
    margin: 0 0 20px;
    text-align: center;
}

.auth-card p.auth-card__body {
    margin: 0;
    text-align: center;
}

.auth-card a { color: #337ab7; text-decoration: none; }

.auth-card a:hover { color: #23527c; text-decoration: underline; }

.auth-field { position: relative; margin-bottom: 15px; }

.auth-field svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
    stroke: #ccc;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    z-index: 3;
}

.auth-field input {
    display: block;
    width: 100%;
    height: 34px;
    border: 1px solid #e2e2e2;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.auth-field svg ~ input { padding-left: 33px; }

.auth-field input:focus {
    outline: 0;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.auth-field input[readonly] { background: #eee; }

.auth-submit {
    display: block;
    width: 100%;
    margin: 1px 0 25px;
    border: 1px solid #35aa47;
    border-radius: 4px;
    background: #35aa47;
    padding: 10px 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.42857143;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.auth-submit:hover, .auth-submit:focus, .auth-submit:active { background: #1d943b; border-color: #1d943b; outline: none; }

.auth-submit:disabled { opacity: .65; cursor: not-allowed; }

.auth-submit::after, .auth-back::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.auth-submit::after { margin-left: 4px; transform: rotate(45deg); }

.auth-back::before { margin-right: 4px; transform: rotate(-135deg); }

.auth-actions { display: flex; justify-content: space-between; margin-bottom: 20px; }

.auth-actions .auth-submit { width: auto; margin: 0; padding: 6px 12px; }

.auth-back {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    cursor: pointer;
}

.auth-back:hover { background: #e6e6e6; border-color: #adadad; }

.auth-banner {
    margin-bottom: 15px;
    border: 1px solid;
    padding: 10px 12px;
    font-size: 14px;
}

.auth-card p.auth-banner--error { border-color: #f3c0b8; background: #fbe9e7; color: #c0392b; }
.auth-card p.auth-banner--success { border-color: #b6dfba; background: #e8f5e9; color: #2e7d32; }

.auth-linkrow { margin-top: 0; text-align: center; }

.auth-linkrow a, .auth-linkrow button {
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    color: #337ab7;
    cursor: pointer;
    text-decoration: none;
}

.auth-linkrow a:hover, .auth-linkrow button:hover { color: #23527c; text-decoration: underline; }

.auth-remember {
    position: relative;
    display: block;
    min-height: 20px;
    margin: 10px 0;
    padding-left: 20px;
    font-size: 1em;
    cursor: pointer;
}

.auth-remember input { position: absolute; margin: 4px 0 0 -20px; }

.promo-panel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    padding: 48px 16px;
    background: url("/branding/PA_Plus_Background.png") center/cover no-repeat;
}

.promo-panel__inner {
    max-width: 680px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-panel__logo { width: 342px; height: auto; }

.promo-panel__headline {
    margin-top: 32px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #1A1A1A;
}

.promo-panel__features {
    margin: 32px 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 16px;
    list-style: none;
}

.promo-panel__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 18px;
    line-height: 1.5;
    color: #3A3A3A;
}

.promo-panel__feature img { flex-shrink: 0; margin-top: 2px; }

.promo-panel__cta {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.promo-panel__link { margin-top: 8px; font-size: 20px; text-align: center; }

.promo-panel__link a { color: #337ab7; text-decoration: none; }

.promo-panel__link a:hover { color: #23527c; text-decoration: underline; }

.promo-panel__dashboard {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 40px auto 0 -33px;
}

@media (min-width: 992px) {
    .auth-shell__main { min-height: 100vh; align-self: flex-start; }
}

@media (max-width: 991px) {
    .auth-shell__main, .auth-shell__promo { flex: 0 0 100%; width: 100%; max-width: 100%; }
}

@media (max-width: 767px) {
    .auth-shell__promo { display: none; }
}

@media (max-width: 480px) {
    .auth-card { width: 280px; }
    .auth-card h1 { font-size: 22px; }
    .auth-remember { font-size: 13px; }
}

.grecaptcha-badge { bottom: 70px !important; }

[hidden] { display: none !important; }
