/* Session timeout dialogs (Figma OPX 6.0, node 1787-63827) */
.ope-session-timeout {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
}

.ope-session-timeout[hidden] {
    display: none;
}

.ope-session-timeout__card {
    width: 100%;
    max-width: 520px;
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: ope-session-timeout-in 160ms ease-out;
}

@keyframes ope-session-timeout-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.ope-session-timeout__icon {
    display: block;
    width: 60px;
    height: 80px;
    margin: 0 auto 20px;
}

.ope-session-timeout__title {
    margin: 0 0 8px;
    font-family: Open-Sans-SemiBold, Noto-Sans-SC-Medium, sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #262626;
}

.ope-session-timeout__text {
    margin: 0 0 24px;
    font-family: Open-Sans-Regular, Noto-Sans-SC-Regular, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
}

.ope-session-timeout__actions {
    display: flex;
    gap: 12px;
}

.ope-session-timeout__btn {
    flex: 1 1 0;
    height: 44px;
    padding: 8px 32px;
    font-family: Open-Sans-SemiBold, Noto-Sans-SC-Medium, sans-serif;
    font-size: 16px;
    line-height: 1;
    border-radius: 99999px;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 120ms ease, border-color 120ms ease;
}

.ope-session-timeout__btn:focus-visible {
    outline: 3px solid rgba(255, 172, 0, 0.45);
    outline-offset: 2px;
}

.ope-session-timeout__btn--secondary {
    color: #525252;
    background-color: #FFFFFF;
    border-color: #737373;
}

.ope-session-timeout__btn--secondary:hover {
    background-color: #F5F5F5;
}

.ope-session-timeout__btn--primary {
    color: #262626;
    background-color: #FFAC00;
}

.ope-session-timeout__btn--primary:hover {
    background-color: #F0A200;
}

.ope-session-timeout__btn[disabled] {
    opacity: 0.6;
    cursor: default;
}

.ope-session-timeout__alert-icon {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.ope-session-timeout__alert-message {
    margin: 0 0 24px;
    font-family: Open-Sans-SemiBold, Noto-Sans-SC-Medium, sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #262626;
}

.ope-session-timeout__actions--single {
    justify-content: center;
}

.ope-session-timeout__actions--single .ope-session-timeout__btn {
    flex: 0 0 auto;
    min-width: 120px;
}

@media screen and (max-width: 520px) {
    .ope-session-timeout__card {
        padding: 24px 20px;
    }

    .ope-session-timeout__actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .ope-session-timeout__btn {
        padding: 8px 20px;
    }
}
