/* Premium Modern Toastr Design with Lucide Icons */
:root {
    --toast-success-bg: #ecfdf5;
    --toast-success-border: #10b981;
    --toast-error-bg: #fef2f2;
    --toast-error-border: #ef4444;
    --toast-warning-bg: #fffbeb;
    --toast-warning-border: #f59e0b;
    --toast-info-bg: #eff6ff;
    --toast-info-border: #3b82f6;
}

#toast-container > div {
    opacity: 0.98 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    padding: 18px 20px 18px 60px !important;
    width: 400px !important;
    max-width: 90vw !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

#toast-container > div:hover {
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.toast-title {
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: #0f172a !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.02em !important;
}

.toast-message {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

/* Status Icons using SVG Data URLs (Lucide Icons) */
#toast-container > div:before {
    content: '' !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 20px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Success: Lucide Check-circle */
.toast-success {
    border-left: 5px solid var(--toast-success-border) !important;
}
.toast-success:before {
    background-color: var(--toast-success-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.21 9 11.21'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Error: Lucide X-circle */
.toast-error {
    border-left: 5px solid var(--toast-error-border) !important;
}
.toast-error:before {
    background-color: var(--toast-error-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3C/svg%3E") !important;
}

/* Warning: Lucide Alert-triangle */
.toast-warning {
    border-left: 5px solid var(--toast-warning-border) !important;
}
.toast-warning:before {
    background-color: var(--toast-warning-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E") !important;
}

/* Info: Lucide Info */
.toast-info {
    border-left: 5px solid var(--toast-info-border) !important;
}
.toast-info:before {
    background-color: var(--toast-info-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E") !important;
}

.toast-progress {
    opacity: 0.4 !important;
    height: 4px !important;
}

.toast-success .toast-progress { background-color: var(--toast-success-border) !important; }
.toast-error .toast-progress { background-color: var(--toast-error-border) !important; }
.toast-warning .toast-progress { background-color: var(--toast-warning-border) !important; }
.toast-info .toast-progress { background-color: var(--toast-info-border) !important; }

.toast-close-button {
    font-size: 22px !important;
    font-weight: 300 !important;
    opacity: 0.3 !important;
    color: #000000 !important;
    transition: opacity 0.2s ease !important;
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
}

.toast-close-button:hover {
    opacity: 0.8 !important;
}

@media (max-width: 500px) {
    #toast-container > div {
        width: calc(100vw - 32px) !important;
        right: 16px !important;
    }
}