/* 通知彈窗組件樣式 */
.notification-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: notificationFadeIn 0.2s ease;
}

@keyframes notificationFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.notification-modal-box {
    background: white;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: notificationSlideUp 0.25s ease;
}

@keyframes notificationSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.notification-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    margin: 0 auto 16px;
}

/* 狀態樣式 */
.notification-modal-icon.error {
    background: #fed7d7;
    color: #c53030;
}

.notification-modal-icon.success {
    background: #c6f6d5;
    color: #276749;
}

.notification-modal-icon.warning {
    background: #feebc8;
    color: #d97706;
}

.notification-modal-icon.info {
    background: #bee3f8;
    color: #2c5282;
}

.notification-modal-message {
    font-size: 15px;
    color: #333;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* 按鈕容器樣式 */
.notification-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.notification-modal-buttons.vertical {
    flex-direction: column;
    align-items: center;
}

.notification-modal-buttons.vertical .notification-modal-btn {
    width: 100%;
    max-width: 200px;
}

/* 按鈕基礎樣式 */
.notification-modal-btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
}

/* 按鈕顏色樣式 */
.notification-modal-btn-primary {
    background: #38a169;
    color: white;
}

.notification-modal-btn-primary:hover {
    background: #276749;
}

.notification-modal-btn-secondary {
    background: #a0aec0;
    color: white;
}

.notification-modal-btn-secondary:hover {
    background: #718096;
}

.notification-modal-btn-danger {
    background: #e53e3e;
    color: white;
}

.notification-modal-btn-danger:hover {
    background: #c53030;
}

/* 狀態對應的按鈕顏色 */
.notification-modal-overlay.error .notification-modal-btn-primary {
    background: #e53e3e;
    color: white;
}

.notification-modal-overlay.error .notification-modal-btn-primary:hover {
    background: #c53030;
}

.notification-modal-overlay.success .notification-modal-btn-primary {
    background: #38a169;
    color: white;
}

.notification-modal-overlay.success .notification-modal-btn-primary:hover {
    background: #276749;
}

.notification-modal-overlay.warning .notification-modal-btn-primary {
    background: #d97706;
    color: white;
}

.notification-modal-overlay.warning .notification-modal-btn-primary:hover {
    background: #b45309;
}

.notification-modal-overlay.info .notification-modal-btn-primary {
    background: #2c5282;
    color: white;
}

.notification-modal-overlay.info .notification-modal-btn-primary:hover {
    background: #1a365d;
}

/* 響應式設計 */
@media (max-width: 480px) {
    .notification-modal-box {
        padding: 28px 24px 22px;
        max-width: 280px;
    }

    .notification-modal-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .notification-modal-message {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .notification-modal-buttons {
        gap: 8px;
    }

    .notification-modal-buttons.vertical .notification-modal-btn {
        max-width: 180px;
    }

    .notification-modal-btn {
        padding: 8px 20px;
        font-size: 14px;
        min-width: 70px;
    }
}