﻿/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ──────────────────────────────────────────── */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Prevent horizontal scrolling due child elements with overflow */
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
    height: 90px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
    background-color: white;
    border-bottom: 1px solid #d2d2d2;
}

.header-logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.header-pcup {
    width: 46px;
    height: 46px;
}

/* "SIGN IN" – mobile only, hidden on desktop */
.header-mobile-title {
    display: none;
}

/* ── Main ──────────────────────────────────────────── */
.site-main {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 24px 80px;
}

/* Logo – desktop only */
.site-logo {
    width: 260px;
    height: auto;
    display: block;
    margin-bottom: 52px;
}

/* ── Form container ────────────────────────────────── */
.login-form {
    width: 345px;
    max-width: 345px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.errTxt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: red;
}

.err-box {
    background-color: #fff;
    display: block !important;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    position: relative;
    min-height: 18px;
    padding: 12px 18px 12px 48px !important;
    font-family: "proxima nova", montserrat, Arial, Helvetica, sans-serif font-size: 14px;
    color: rgb(119, 119, 119);
}

    .err-box p {
        word-break: normal;
        font-family: "proxima nova", montserrat, Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: rgb(119, 119, 119);
        margin-bottom: 0px;
    }

.err-box:before {
    background-color: #e34843;
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    content: "";
    width: 36px;
}

/* buttons - Okta override */
#okta-sign-in .default-custom-button.link-button {
    width: 100%;
    max-width: 210px;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.15s, opacity 0.15s;
    background: transparent;
    color: #8C6A28;
    border: 1.5px solid #8C6A28;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: normal !important;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
}

    #okta-sign-in .default-custom-button.link-button:hover {
        background: rgba(140,106,40,0.05);
    }

    #okta-sign-in .default-custom-button.link-button:active {
        background: rgba(140,106,40,0.1);
    }

/* Inputs */
.form-field {
    position: relative;
    margin-bottom: 22px;
}

#okta-sign-in .focused-input,
#okta-sign-in .link.help:focus {
    box-shadow: none;
}

#okta-sign-in.auth-container .okta-form-label {
    
}

#okta-sign-in.auth-container .okta-form-input-field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    outline: none;
    -webkit-appearance: none;
    transition: border-color 0.18s;
    position: relative;
    margin-bottom: 22px;
    border-bottom-color: #8C6A28;
}


#okta-sign-in .button-primary,
#okta-sign-in input[type="submit"].button {
    background: #937031;
    color: #fff;
    border: none;
    width: 100%;
    max-width: 100%;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.15s, opacity 0.15s;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: normal !important;
    text-transform: capitalize;
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
}

    #okta-sign-in input[type="submit"].button:hover {
        background: #937031;
    }

    #okta-sign-in input[type="submit"].button:active {
        background: #937031;
    }

    #okta-sign-in input[type="submit"].button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    outline: none;
    -webkit-appearance: none;
    transition: border-color 0.18s;
    font-family: proxima nova, montserrat, Arial, Helvetica, sans-serif;
}

    .form-input::placeholder {
        color: #aaa;
    }

    .form-input:focus {
        border-bottom-color: #8C6A28;
    }

.countryselect {
    appearance: auto;
    -webkit-appearance: menulist; /* For Safari/Chrome */
    -moz-appearance: menulist; /* For Firefox */
    width: 100%;
    max-width: 350px; /* Prevents it from getting too big */
    text-overflow: ellipsis; /* Adds '...' for long cut-off text */
    overflow: hidden;
    white-space: nowrap;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.18s;
    font-family: proxima nova, montserrat, Arial, Helvetica, sans-serif;
}

    .countryselect::placeholder {
        color: #aaa;
    }

    .countryselect:focus {
        border-bottom-color: #8C6A28;
    }

/* Password field */
.field-password .form-input {
    padding-right: 30px;
}

.toggle-pw {
    position: absolute;
    right: 0;
    top: 60%;
    bottom:0;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #aaa;
    line-height: 0;
    transition: color 0.15s;
}

    .toggle-pw:hover {
        color: #8C6A28;
    }

    .toggle-pw:focus-visible {
        outline: 2px solid #8C6A28;
        border-radius: 3px;
    }

/* ── Buttons ───────────────────────────────────────── */
.form-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.15s, opacity 0.15s;
}

.btn-signin {
    background: #e8e8e8;
    color: #333;
    border: none;
    text-transform: capitalize;
}

.btncancel {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background 0.15s, opacity 0.15s;
    background: #fff;
    color: #aaa;
    border: none;
    text-transform: capitalize;
}
    .btn-signin:hover {
        background: #ddd;
    }

    .btn-signin:active {
        background: #d2d2d2;
    }

    .btn-signin:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

.btn-create {
    background: transparent;
    color: #8C6A28;
    border: 1.5px solid #8C6A28;
}

    .btn-create:hover {
        background: rgba(140,106,40,0.05);
    }

    .btn-create:active {
        background: rgba(140,106,40,0.1);
    }

.link-forgot {
    display: block;
    color: #8C6A28;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    margin-top: 2px;
}

    .link-forgot:hover {
        text-decoration: underline;
    }


/* ── Footer ────────────────────────────────────────── */
.site-footer {
    background: #1c1c1c;
}

.footer-main {
    padding: 44px 48px 40px;
    border-bottom: 1px solid #2a2a2a;
}

.footer-layout {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 64px;
}

/* Brand side */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-pcup {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.footer-pcup-big {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.footer-brand-name {
    font-family: proxima-nova, "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.footer-brand-location {
    font-family: proxima-nova, "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.01em;
}

.footer-est {
    font-family: grad, Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 12px 0 18px;
}

.social-list {
    list-style: none;
    display: flex;
    gap: 16px;
}

    .social-list a {
        color: #666;
        line-height: 0;
        display: block;
        transition: color 0.15s;
    }

        .social-list a:hover {
            color: #C19B69;
        }

/* Nav side */
.footer-nav-hdg {
    font-family: proxima-nova, "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
}

    .footer-nav-list li {
        margin-bottom: 10px;
    }

    .footer-nav-list a {
        font-family: proxima-nova, "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
        font-size: 15px;
        color: #999;
        text-decoration: none;
        transition: color 0.15s;
    }

        .footer-nav-list a:hover {
            color: #fff;
        }

/* Sub bar */
.footer-sub {
    background: #111;
    padding: 14px 48px;
    text-align: center;
}

.footer-sub-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 8px;
}

    .footer-sub-links li {
        font-size: 11px;
        color: #555;
    }

    .footer-sub-links a {
        color: #555;
        text-decoration: none;
    }

        .footer-sub-links a:hover {
            color: #888;
        }

.footer-disclaimer {
    font-size: 10px;
    color: #444;
    line-height: 1.6;
    /*  white-space: nowrap causing horizontal scroll */
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
    margin: 0 auto;
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 639px) {
    /* Header: "SIGN IN" sits at the bottom */
    .site-header {
        height: 90px;
        justify-content: flex-end;
        align-items: center;
        padding: 0 24px 16px;
        flex-direction: column;
        gap: 0;
    }

    .header-logo-link {
        display: none;
    }

    .header-mobile-title {
        display: block;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
    }

    /* Hide logo on mobile */
    .site-logo {
        display: none;
    }

    .site-main {
        padding: 40px 24px 100px;
    }

    .login-form {
        max-width: 100%;
    }

    /* Buttons: narrower, centered */
    .btn {
        max-width: 345px;
    }

    /* Hide footer entirely on mobile */
    .site-footer {
        display: none;
    }

    /* footer padding adjusted to prevent overflow on mobile */
    .footer-main {
        padding: 32px 20px;
    }

    .footer-sub {
        padding: 14px 20px;
    }

    /*  column layout to prevent overflow in viewports */
    .footer-layout {
        flex-direction: column;
        gap: 32px;
    }
}