/* User login / register / password reset forms */
.user-auth-password-wrap {
    position: relative;
}

.user-auth-password-wrap .form-control {
    padding-right: 42px;
}

.user-auth-toggle-password {
    position: absolute;
    right: 1px;
    top: 1px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
}

.user-auth-toggle-password:hover,
.user-auth-toggle-password:focus {
    color: #1F73B9;
    outline: none;
}

.user-auth-tab-content .corp-captcha-row-auth {
    width: 100%;
    gap: 10px;
}

.user-auth-tab-content .corp-captcha-row-auth .corp-captcha-input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
}

.user-auth-tab-content .corp-captcha-box-auth {
    flex: 0 0 160px;
}

/* Login/register: carousel fills viewport above footer; breadcrumb below fixed nav */
body.corp-auth-hero-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    background: #fff;
}

body.corp-auth-hero-page .corp-auth-hero-shell {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 70px;
    box-sizing: border-box;
    min-height: 0;
}

body.corp-auth-hero-page .corp-auth-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0d3d7a;
}

body.corp-auth-hero-page .corp-auth-hero-bg .corp-auth-hero-zoo,
body.corp-auth-hero-page .corp-auth-hero-bg #login-hero-zoo,
body.corp-auth-hero-page .corp-auth-hero-bg #register-hero-zoo,
body.corp-auth-hero-page .corp-auth-hero-bg #findpassword-hero-zoo {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-slider-"],
body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-box-"],
body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-swipe-box-"],
body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-img-box-"],
body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-img-"],
body.corp-auth-hero-page .corp-auth-hero-bg .xunsliderimg,
body.corp-auth-hero-page .corp-auth-hero-bg [class*="html5zoo-wrapper-"] {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
}

body.corp-auth-hero-page .corp-auth-hero-front {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

body.corp-auth-hero-page .corp-ref-breadcrumb {
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-bottom: none !important;
}

body.corp-auth-hero-page .corp-ref-breadcrumb-label,
body.corp-auth-hero-page .corp-ref-breadcrumb-nav,
body.corp-auth-hero-page .corp-ref-breadcrumb-nav a,
body.corp-auth-hero-page .corp-ref-breadcrumb-current,
body.corp-auth-hero-page .corp-ref-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.corp-auth-hero-page .corp-ref-breadcrumb-nav a:hover {
    color: #fff;
}

body.corp-auth-hero-page .corp-page-content,
body.corp-auth-hero-page .corp-auth-page-content {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 15px 48px;
    background: transparent !important;
}

body.corp-auth-hero-page .corp-auth-page-content .container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

body.corp-auth-hero-page .corp-auth-page-content .row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

body.corp-auth-hero-page .corp-auth-page-content [class*="col-md-offset-"] {
    margin-left: 0;
}

body.corp-auth-hero-page .corp-auth-page-content .col-md-4 {
    float: none;
    width: 100%;
    max-width: 400px;
    flex: 0 1 400px;
    background: rgba(255, 255, 255, 0.93);
    padding: 28px 32px 36px;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body.corp-auth-hero-page .corp-footer {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

body.corp-auth-hero-page .corp-hero-dots,
body.corp-auth-hero-page [class*="html5zoo-text-wrapper-"],
body.corp-auth-hero-page [class*="html5zoo-arrow-left-"],
body.corp-auth-hero-page [class*="html5zoo-arrow-right-"] {
    display: none !important;
}

@media (max-width: 767px) {
    body.corp-auth-hero-page .corp-auth-hero-shell {
        padding-top: 60px;
    }

    body.corp-auth-hero-page .corp-auth-page-content .col-md-4 {
        padding: 20px 18px 28px;
    }
}

/* Auth form footer links – same pill style as navbar login button */
.corp-auth-form-links {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.corp-auth-form-links .list-inline {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.corp-auth-form-links .list-inline > li {
    padding: 0;
}

.corp-auth-form-links p {
    margin: 0;
}

.corp-auth-form-links a.corp-nav-login-link,
.corp-auth-form-links a.corp-nav-login-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 16px;
    margin: 0;
    height: 32px;
    line-height: 1;
    font-size: 13px;
    color: var(--corp-primary);
    text-decoration: none !important;
    white-space: nowrap;
    background: transparent !important;
    border: 2px solid rgba(51, 53, 112, 0.35);
    border-radius: 16px;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.corp-auth-form-links a.corp-nav-login-link:hover,
.corp-auth-form-links a.corp-nav-login-link:focus,
.corp-auth-form-links a.corp-nav-login-link:focus-visible {
    color: var(--corp-primary);
    font-weight: 700;
    text-decoration: none !important;
    border-color: rgba(51, 53, 112, 0.55);
    background: rgba(51, 53, 112, 0.04) !important;
    outline: none !important;
    box-shadow: none !important;
}

.user-auth-submit-wrap {
    position: relative;
    margin-bottom: 0;
}

.corp-auth-page-content .user-auth-submit-wrap .corp-submit-tip {
    right: 0;
    left: auto;
    max-width: min(320px, 100%);
    white-space: normal;
    text-align: left;
}
