/* Simple Clean Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.custom-toast {
    min-width: 300px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin-bottom: 15px;
    animation: slideIn 0.3s ease-out;
    border: 1px solid #e1e5e9;
    position: relative;
}

.custom-toast.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

.toast-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    background: #f8f9fa;
}

.toast-body {
    padding: 14px 18px;
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
}

/* Success Toast */
.custom-toast.success {
    border-left: 4px solid #28a745;
}

.custom-toast.success .toast-header {
    background: #f8f9fa;
    color: #155724;
}

.custom-toast.success .toast-icon {
    background: #28a745;
    color: white;
}

/* Danger/Error Toast */
.custom-toast.danger {
    border-left: 4px solid #dc3545;
}

.custom-toast.danger .toast-header {
    background: #f8f9fa;
    color: #721c24;
}

.custom-toast.danger .toast-icon {
    background: #dc3545;
    color: white;
}

/* Warning Toast */
.custom-toast.warning {
    border-left: 4px solid #ffc107;
}

.custom-toast.warning .toast-header {
    background: #f8f9fa;
    color: #856404;
}

.custom-toast.warning .toast-icon {
    background: #ffc107;
    color: #212529;
}

/* Info Toast */
.custom-toast.info {
    border-left: 4px solid #17a2b8;
}

.custom-toast.info .toast-header {
    background: #f8f9fa;
    color: #0c5460;
}

.custom-toast.info .toast-icon {
    background: #17a2b8;
    color: white;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-progress {
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.toast-progress-bar {
    height: 100%;
    background: #6c757d;
    animation: progress 5s linear forwards;
}

.custom-toast.success .toast-progress-bar {
    background: #28a745;
}

.custom-toast.danger .toast-progress-bar {
    background: #dc3545;
}

.custom-toast.warning .toast-progress-bar {
    background: #ffc107;
}

.custom-toast.info .toast-progress-bar {
    background: #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@media (max-width: 768px) {
    .toast-container {
        top: 70px;
        right: 15px;
        left: 15px;
    }
    
    .custom-toast {
        min-width: auto;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 60px;
        right: 10px;
        left: 10px;
    }
    
    .toast-header {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .toast-body {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .toast-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-right: 10px;
    }
    
    .toast-close {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}
