/* Navid logout modal — Figma 194:19500 */

.navid-modal {
    position: fixed;
    inset: 0;
    z-index: 1000010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: var(--navid-font);
}

.navid-modal[hidden] {
    display: none !important;
}

body.navid-modal-open {
    overflow: hidden;
}

.navid-modal.is-open {
    display: flex;
}

.navid-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35, 31, 32, 0.45);
}

.navid-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    max-width: 620px;
    padding: 64px 124px;
    border-radius: 4px;
    background: var(--navid-white);
    box-sizing: border-box;
}

.navid-logout-modal__text {
    width: 100%;
    max-width: 372px;
    margin: 0;
    color: var(--navid-gray);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.navid-logout-modal__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 372px;
    direction: ltr;
}

.navid-logout-modal__action {
    min-width: 0;
    margin: 0;
}

.navid-logout-modal__action form {
    margin: 0;
    height: 100%;
}

.navid-logout-modal__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    padding: 9px 16px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.navid-logout-modal__btn--filled {
    border: 0;
    background: var(--navid-primary);
    color: var(--navid-white);
}

.navid-logout-modal__btn--filled:hover {
    background: var(--navid-primary-hover);
}

.navid-logout-modal__btn--stroke {
    border: 2px solid var(--navid-primary);
    background: var(--navid-white);
    color: var(--navid-primary);
}

.navid-logout-modal__btn--stroke:hover {
    background: rgba(243, 112, 58, 0.08);
}

button.navid-profile-sidebar__item {
    appearance: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
    text-align: inherit;
}

@media (max-width: 991px) {
    .navid-logout-modal .navid-modal__dialog {
        width: 100%;
        max-width: 358px;
        padding: 40px;
        gap: 32px;
    }

    .navid-logout-modal__text {
        font-size: 16px;
    }

    .navid-logout-modal__actions {
        display: flex;
        flex-direction: row;
        gap: 16px;
        max-width: none;
    }

    .navid-logout-modal__action {
        flex: 1 1 0;
    }

    .navid-logout-modal__btn {
        min-height: 56px;
    }
}
