/* ==========================================
   TOASTR CUSTOM STYLES
   ========================================== */

/* Override default toastr styles */
#toast-container > div {
    opacity: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 18px 20px;
    min-height: 70px;
    backdrop-filter: blur(10px);
}

#toast-container > .toast {
    background-image: none !important;
}

/* Success Toast */
#toast-container > .toast-success {
    background: #10b981;
    border-left: 5px solid #047857;
    color: #ffffff;
}

/* Error Toast */
#toast-container > .toast-error {
    background: #ef4444;
    border-left: 5px solid #b91c1c;
    color: #ffffff;
}

/* Warning Toast */
#toast-container > .toast-warning {
    background: #f59e0b;
    border-left: 5px solid #d97706;
    color: #ffffff;
}

/* Info Toast */
#toast-container > .toast-info {
    background: #3b82f6;
    border-left: 5px solid #1d4ed8;
    color: #ffffff;
}

/* Toast Title */
#toast-container > div .toast-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Toast Message */
#toast-container > div .toast-message {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Close Button */
#toast-container > div .toast-close-button {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

#toast-container > div .toast-close-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Progress Bar */
#toast-container > div .toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #toast-container {
        width: 100%;
        padding: 15px;
    }
    
    #toast-container > div {
        width: 100%;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .toast-top-right {
        top: 70px !important;
        right: 0 !important;
    }
}

/* Animation */
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#toast-container > div {
    animation: toastSlideIn 0.3s ease;
}
