/* === SSO Login Buttons === */

.sso_divider {
    display: flex;
    align-items: center;
    margin: 1.5em 0;
    color: #999;
    font-size: 0.9em;
}

.sso_divider::before,
.sso_divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.sso_divider span {
    padding: 0 1em;
}

.sso_buttons {
    text-align: center;
}

.sso_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    width: 80%;
    margin: 0.6em auto;
    padding: 0.7em 1em;
    border-radius: 4px;
    font-size: 0.95em;
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.sso_button:hover {
    opacity: 0.85;
    text-decoration: none;
}

.sso_button_microsoft {
    background: #2f2f2f;
    color: #fff;
    border: 1px solid #2f2f2f;
}

.sso_button_google {
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
}

.sso_button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sso_error_banner {
    background: #fee;
    border: 1px solid #c5293d;
    color: #c5293d;
    padding: 0.7em 1em;
    margin-bottom: 1em;
    border-radius: 4px;
    font-size: 0.9em;
    text-align: center;
}

/* === SSO Settings Section === */

.sso_linked_badge {
    display: inline-block;
    background: #e6f4ea;
    color: #1e7e34;
    padding: 0.2em 0.6em;
    border-radius: 3px;
    font-size: 0.85em;
    margin-left: 0.5em;
}

.sso_unlinked_badge {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.2em 0.6em;
    border-radius: 3px;
    font-size: 0.85em;
    margin-left: 0.5em;
}

.sso_provider_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8em 0;
    border-bottom: 1px solid #eee;
}

.sso_provider_info {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.sso_provider_info svg {
    width: 24px;
    height: 24px;
}

/* === Dark Mode === */

.liftoff_dark .sso_divider {
    color: #777;
}

.liftoff_dark .sso_divider::before,
.liftoff_dark .sso_divider::after {
    border-bottom-color: #444;
}

.liftoff_dark .sso_button_microsoft {
    background: #4a4a4a;
    border-color: #4a4a4a;
}

.liftoff_dark .sso_button_google {
    background: #333;
    color: #ddd;
    border-color: #555;
}

.liftoff_dark .sso_error_banner {
    background: #3d1c1c;
    border-color: #c5293d;
}

.liftoff_dark .sso_linked_badge {
    background: #1e3a1e;
    color: #6fcf6f;
}

.liftoff_dark .sso_unlinked_badge {
    background: #333;
    color: #999;
}

.liftoff_dark .sso_provider_row {
    border-bottom-color: #444;
}
