/* Notification Container */
#notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Toast Item */
.notification-toast {
    width: 350px;
    background: rgba(26, 26, 26, 0.95);
    /* Dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    border-left: 4px solid #D4AF37;
    /* Gold accent */
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(100%);
    position: relative;
    overflow: hidden;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

/* Typography */
.notification-content {
    flex: 1;
}

.notification-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 16px;
    color: #D4AF37;
    /* Gold */
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notification-message {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #f0f0f0;
    line-height: 1.5;
}

/* Icons */
.notification-icon {
    font-size: 20px;
    margin-right: 15px;
    color: #D4AF37;
}

/* Close Button */
.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #D4AF37;
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #D4AF37;
    width: 100%;
    transform-origin: left;
    transition: transform linear;
}

/* Variants */
.notification-success {
    border-left-color: #28a745;
}

.notification-success .notification-icon {
    color: #28a745;
}

.notification-success .notification-title {
    color: #28a745;
}

.notification-success .notification-progress {
    background: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-error .notification-icon {
    color: #dc3545;
}

.notification-error .notification-title {
    color: #dc3545;
}

.notification-error .notification-progress {
    background: #dc3545;
}

.notification-warning {
    border-left-color: #ffc107;
}

.notification-warning .notification-icon {
    color: #ffc107;
}

.notification-warning .notification-title {
    color: #ffc107;
}

.notification-warning .notification-progress {
    background: #ffc107;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    #notification-container {
        width: 100%;
        right: 0;
        left: 0;
        top: 0;
        padding: 10px;
        align-items: center;
    }

    .notification-toast {
        width: 100%;
        max-width: 400px;
    }
}

/* Confirm Modal */
#notification-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#notification-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.notification-modal {
    background: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

#notification-modal-overlay.show .notification-modal {
    transform: scale(1);
}

.notification-modal-icon {
    font-size: 40px;
    color: #D4AF37;
    margin-bottom: 20px;
}

.notification-modal-message {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.notification-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.notification-btn {
    padding: 10px 30px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-btn-confirm {
    background: #D4AF37;
    color: #1a1a1a;
    border: 1px solid #D4AF37;
}

.notification-btn-confirm:hover {
    background: #c5a028;
    border-color: #c5a028;
}

.notification-btn-cancel {
    background: transparent;
    color: #ccc;
    border: 1px solid #444;
}

.notification-btn-cancel:hover {
    border-color: #666;
    color: #fff;
}