/* Custom Toast Styles - Clean, borderless design */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
}

.custom-toast {
    min-width: 300px;
    max-width: 400px;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

/* Remove all internal borders and dividers */
.custom-toast .toast-header {
    border-bottom: none !important;
    padding: 1rem 1rem 0.5rem 1rem;
}

.custom-toast .toast-body {
    padding: 0.5rem 1rem 1rem 1rem;
}

/* Color variants - solid backgrounds */
.custom-toast.toast-success {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    color: white;
}

.custom-toast.toast-success .toast-header {
    background: transparent;
    color: white;
    border: none;
}

.custom-toast.toast-success .btn-close {
    filter: brightness(0) invert(1);
}

.custom-toast.toast-danger {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    color: white;
}

.custom-toast.toast-danger .toast-header {
    background: transparent;
    color: white;
    border: none;
}

.custom-toast.toast-danger .btn-close {
    filter: brightness(0) invert(1);
}

.custom-toast.toast-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.custom-toast.toast-info .toast-header {
    background: transparent;
    color: white;
    border: none;
}

.custom-toast.toast-info .btn-close {
    filter: brightness(0) invert(1);
}

.custom-toast.toast-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.custom-toast.toast-warning .toast-header {
    background: transparent;
    color: white;
    border: none;
}

.custom-toast.toast-warning .btn-close {
    filter: brightness(0) invert(1);
}

.custom-toast.toast-default {
    background: #ffffff;
    color: #333;
    border: 1px solid #e0e0e0;
}

.custom-toast.toast-default .toast-header {
    background: transparent;
    color: #333;
    border: none;
}

/* Dark mode support for default toast */
body.dark-mode .custom-toast.toast-default {
    background: #2a2a2a;
    color: #f5f5f5;
    border: 1px solid #404040;
}

body.dark-mode .custom-toast.toast-default .toast-header {
    color: #f5f5f5;
}

body.dark-mode .custom-toast.toast-default .btn-close {
    filter: brightness(0) invert(1);
}

/* Icon styling */
.custom-toast .toast-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Remove text-muted from time */
.custom-toast .toast-header small {
    opacity: 0.9;
}
