.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.notification-modal.active {
    display: flex;
}

.notification-modal-content {
    background: #fff;
    border-radius: 25px;
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.notification-modal-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #d8a84f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: #fff;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s backwards;
    position: relative;
}

.notification-modal-icon::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.1;
    animation: pulse 2s ease infinite;
}

/* Icon variations */
.notification-modal.success .notification-modal-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification-modal.error .notification-modal-icon {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.notification-modal.warning .notification-modal-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.notification-modal.info .notification-modal-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #3498db 100%);
}

.notification-modal.default .notification-modal-icon {
    background: linear-gradient(135deg, #d8a84f 0%, #c8973d 100%);
}

.notification-modal-title {
    font-family: "Laviossa", serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 15px;
    line-height: 1.3;
}

.notification-modal-message {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.notification-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.notification-modal-btn {
    padding: 14px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-family: "Laviossa", serif;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
    justify-content: center;
}

.notification-modal-btn-primary {
    background: #d8a84f;
    color: #fff;
}

.notification-modal-btn-primary:hover {
    background: #c8973d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 168, 79, 0.3);
}

.notification-modal.success .notification-modal-btn-primary {
    background: #28a745;
}

.notification-modal.success .notification-modal-btn-primary:hover {
    background: #218838;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.notification-modal.error .notification-modal-btn-primary {
    background: #dc3545;
}

.notification-modal.error .notification-modal-btn-primary:hover {
    background: #c82333;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.notification-modal-btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.notification-modal-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.notification-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.notification-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.05;
    }
}

.notification-modal.closing {
    animation: fadeOut 0.3s ease forwards;
}

.notification-modal.closing .notification-modal-content {
    animation: scaleOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes scaleOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.8);
        opacity: 0;
    }
}

body.modal-notification-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .notification-modal {
        padding: 15px;
    }

    .notification-modal-content {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .notification-modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin-bottom: 25px;
    }

    .notification-modal-icon::before {
        width: 100px;
        height: 100px;
    }

    .notification-modal-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .notification-modal-message {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .notification-modal-buttons {
        flex-direction: column;
    }

    .notification-modal-btn {
        width: 100%;
        padding: 13px 30px;
    }

    .notification-modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .notification-modal-content {
        padding: 35px 25px;
    }

    .notification-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .notification-modal-title {
        font-size: 1.4rem;
    }

    .notification-modal-message {
        font-size: 0.9rem;
    }

    .notification-modal-btn {
        font-size: 0.95rem;
        padding: 12px 25px;
    }
}

/* Loading spinner (optional) */
.notification-modal-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}