/* ==========================================================
   Notice Modal — Reusable single-button alert
   Figma: node 60-134861
   Usage: window.v2NoticeModal.show({ title, message, okText, onOk })
   ========================================================== */

.v2nm-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.v2nm-overlay.v2nm-visible {
    opacity: 1;
    pointer-events: auto;
}

.v2nm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.v2nm-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 24px -4px rgba(16, 24, 40, 0.08),
                0 8px 8px -4px rgba(16, 24, 40, 0.03);
    width: 400px;
    max-width: 90vw;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: scale(0.93);
    transition: transform 0.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.v2nm-overlay.v2nm-visible .v2nm-modal {
    transform: scale(1);
}

.v2nm-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.v2nm-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 32px;
    background: #FEE2E2;
    border: 8px solid #FEF2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: content-box;
}
.v2nm-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2nm-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.v2nm-title {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #1F1F1F;
    margin: 0;
}
.v2nm-message {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #7A7A7A;
    margin: 0;
}

.v2nm-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}
.v2nm-btn {
    flex: 1;
    padding: 10px 18px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.v2nm-btn-ok {
    background: #fff;
    border-color: #C2C2C2;
    color: #5C5C5C;
}
.v2nm-btn-ok:hover {
    background: #F5F5F5;
}
