body,
.loginBackground { background: #ffffff !important; }

.login-embedded-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-embedded-left {
    width: 40%;
    min-width: 320px;
    background: url('../Img/BackgroundOption2.png') center / cover no-repeat;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.login-embedded-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.login-embedded-logo { margin-bottom: 48px; position: relative; z-index: 1; }
.login-embedded-logo img { max-height: 50px; display: block; }

.login-embedded-byline {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.login-embedded-byline:hover { color: #fff; text-decoration: underline; }

.login-embedded-welcome { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.login-embedded-welcome h2 { color: #fff; font-size: 28px; font-weight: 700; margin: 0 0 16px 0; line-height: 1.25; font-family: 'Segoe UI', sans-serif; }
.login-embedded-welcome h2 strong { font-weight: 800; }
.login-embedded-welcome p { color: rgba(255,255,255,0.95); font-size: 15px; line-height: 1.5; margin: 0 0 28px 0; max-width: 360px; }

.login-embedded-features { list-style: none; padding: 0; margin: 0; }
.login-embedded-features li {
    color: #fff; font-size: 14px; line-height: 1.5; margin-bottom: 14px;
    display: flex; align-items: center; gap: 12px;
}

.login-embedded-features li i {
    width: 20px; flex-shrink: 0;
    font-size: 16px; text-align: center;
    color: rgba(255,255,255,0.9);
}

.login-embedded-copy { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,0.8); margin-top: auto; padding-top: 24px; }

.login-embedded-right {
    width: 60%;
    min-width: 400px;
    background: #f5f5f7;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-embedded-right-inner {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.08);
    box-sizing: border-box;
    overflow: hidden;
}

.login-embedded-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #cf0a2c; color: #fff; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}

.login-embedded-right h3 { color: #1a1a1a; font-size: 24px; font-weight: 700; margin: 0 0 8px 0; font-family: 'Segoe UI', sans-serif; }
.login-embedded-right .subtitle { color: #666; font-size: 14px; margin: 0 0 28px 0; }

#widget-container { min-height: 320px; width: 100%; }

#widget-container #okta-sign-in { margin: 0; border: 0; box-shadow: none; width: 100% !important; min-width: 0 !important; }
#widget-container #okta-sign-in .auth-container { width: 100% !important; min-width: 0 !important; }
#widget-container #okta-sign-in .primary-auth { width: 100% !important; }
#widget-container #okta-sign-in .o-form-label { display: block !important; font-size: 13px !important; color: #555 !important; margin-bottom: 4px; }
#widget-container #okta-sign-in label { color: #555 !important; }
#widget-container #okta-sign-in label[data-se-for-name="remember"] { display: none !important; }
#widget-container #okta-sign-in input::placeholder { color: #aaa; opacity: 1; }

#widget-container #okta-sign-in .button-primary {
    background: #2d5daa !important;
    border-color: #2d5daa !important;
}

#widget-container #okta-sign-in .button-primary:hover {
    background: #244a88 !important;
    border-color: #244a88 !important;
}

.login-embedded-help { margin-top: 24px; font-size: 13px; color: #888; text-align: center; }
.login-embedded-help a { color: #8b1538; text-decoration: none; }
.login-embedded-help a:hover { text-decoration: underline; }

.login-embedded-protected { margin-top: 12px; font-size: 12px; color: #aaa; display: flex; align-items: center; gap: 6px; }

.login-embedded-error { margin-bottom: 16px; padding: 12px; background: #fee; color: #c00; border-radius: 6px; font-size: 13px; }

.js-help-link { display: none !important; }

@media (max-width: 900px) {
    .login-embedded-wrapper { flex-direction: column; }
    .login-embedded-left, .login-embedded-right { width: 100%; min-width: 0; }
    .login-embedded-left { min-height: 280px; padding: 32px 24px; }
    .login-embedded-right { padding: 32px 24px; }
}

.login-success-msgbox { width: 100%; max-width: 480px; margin-top: 20px; box-sizing: border-box; }
.login-success-actions { width: 100%; max-width: 480px; margin-top: 20px; text-align: center; }
.login-success-actions a { color: #6e6e78; }

.bigbuttonlabel { display: inline-block; width: 220px; height: 22px; font-family: OpenSans-SemiBold !important; font-size: 16px; font-stretch: normal; font-style: normal; line-height: 1.38; letter-spacing: normal; text-align: center; color: #222222; text-decoration: none; vertical-align: middle; }

.btn_maj_actionable_blue { height: 32px; line-height: 15px !important; padding: 7px 12px !important; outline: none !important; text-decoration: none !important; font-size: 14px !important; background-color: #0d93ee !important; background-image: none !important; color: #ffffff !important; cursor: pointer; text-align: center; border: 1px solid #2d5daa !important; border-radius: 20px !important; }
.btn_maj_actionable_blue:hover { opacity: .7; text-decoration: none !important; }
.btn_maj_actionable_blue:disabled { opacity: .5; text-decoration: none !important; }

.btn_maj_actionable_transparent { padding: 7px 12px !important; outline: none !important; text-decoration: none !important; font-size: 14px !important; background-color: transparent !important; background-image: none !important; color: #222222 !important; cursor: pointer; text-align: center; border: 1px solid #0d93ee !important; border-radius: 20px !important; }
.btn_maj_actionable_transparent:hover { opacity: .7; text-decoration: none !important; }
.btn_maj_actionable_transparent:disabled { opacity: .5; text-decoration: none !important; }
