/* Toast Notification System Styles */

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: stretch;
    background: rgba(30, 30, 30, 0.98);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-show {
    transform: translateX(0);
    opacity: 1;
}

.notification-hide {
    transform: translateX(120%);
    opacity: 0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    width: 100%;
}

.notification-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.notification-message {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
}

.notification-details {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.3;
    word-wrap: break-word;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
    margin-left: auto;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.notification-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Success notification */
.notification-success {
    border-left: 4px solid #03dac6;
}

.notification-success .notification-icon {
    background: rgba(3, 218, 198, 0.2);
    color: #03dac6;
}

/* Error notification */
.notification-error {
    border-left: 4px solid #cf6679;
}

.notification-error .notification-icon {
    background: rgba(207, 102, 121, 0.2);
    color: #cf6679;
}

/* Warning notification */
.notification-warning {
    border-left: 4px solid #ffb74d;
}

.notification-warning .notification-icon {
    background: rgba(255, 183, 77, 0.2);
    color: #ffb74d;
}

/* Info notification */
.notification-info {
    border-left: 4px solid #64b5f6;
}

.notification-info .notification-icon {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

/* Loading notification */
.notification-loading {
    border-left: 4px solid #daa520;
}

.notification-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(218, 165, 32, 0.3);
    border-top-color: #daa520;
    border-radius: 50%;
    animation: notification-spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes notification-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .notification-container {
        top: auto;
        bottom: 20px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .notification {
        transform: translateY(120%);
    }

    .notification-show {
        transform: translateY(0);
    }

    .notification-hide {
        transform: translateY(120%);
    }

    .notification-content {
        padding: 12px 14px;
    }

    .notification-message {
        font-size: 13px;
    }
}

/* Progress bar for loading states */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #daa520, #ffd700);
    transition: width 0.1s linear;
}

