/* =========================================================
   FEATURE MODAL - Thông báo "tính năng đang được phát triển"
   Cùng phong cách popup đăng nhập.
========================================================= */

.inh-feature-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.inh-feature-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.inh-feature-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.inh-feature-modal-box {
    position: relative;
    z-index: 2;
    width: 400px;
    max-width: 100%;
    padding: 40px 32px 32px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    text-align: center;
    box-sizing: border-box;
    transform: translateY(-10px) scale(0.98);
    transition: transform 0.2s ease;
}

.inh-feature-modal.is-open .inh-feature-modal-box {
    transform: translateY(0) scale(1);
}

.inh-feature-modal .inh-feature-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #465672;
    cursor: pointer;
}

.inh-feature-modal .inh-feature-modal-close:hover {
    background: #f1f4f3;
    color: #172A49;
}

.inh-feature-modal-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #EDF3FA;
}

.inh-feature-modal .inh-feature-modal-title {
    margin: 0 0 10px;
    padding: 0;
    color: #172A49;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.inh-feature-modal .inh-feature-modal-text {
    margin: 0 0 26px;
    color: #465672;
    font-size: 15px;
    line-height: 1.6;
}

.inh-feature-modal button.inh-feature-modal-btn {
    min-width: 160px;
    height: 46px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    background: #08265B;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.inh-feature-modal button.inh-feature-modal-btn:hover {
    background: #08265b;
}

.inh-feature-modal button:focus-visible {
    outline: 2px solid #08265B;
    outline-offset: 2px;
}

body.inh-feature-modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

    .inh-feature-modal,
    .inh-feature-modal-box {
        transition: none;
    }
}