/* Toast Notification Styles for File Upload Validation */

.file-upload-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-in-out;
}

.file-upload-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.file-upload-toast.toast-error {
    border-left: 4px solid #dc3545;
}

.file-upload-toast.toast-success {
    border-left: 4px solid #28a745;
}

.file-upload-toast.toast-warning {
    border-left: 4px solid #ffc107;
}

.file-upload-toast.toast-info {
    border-left: 4px solid #17a2b8;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-content i {
    font-size: 20px;
}

.toast-error .toast-content i {
    color: #dc3545;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-warning .toast-content i {
    color: #ffc107;
}

.toast-info .toast-content i {
    color: #17a2b8;
}

.toast-message {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    margin-left: 10px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

.toast-close i {
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .file-upload-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100% - 20px);
    }
}

/* Multiple toasts stacking */
.file-upload-toast:nth-child(2) {
    top: 90px;
}

.file-upload-toast:nth-child(3) {
    top: 160px;
}

.file-upload-toast:nth-child(4) {
    top: 230px;
}

