/* Toast styling */
.toast-container {
    z-index: 1100;
}

.toast {
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1 !important;
}

.toast .toast-header {
    padding: 0.5rem 1rem;
}

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

/* Animation for toasts */
.toast.showing {
    opacity: 0 !important;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
    opacity: 1 !important;
    transform: translateY(0);
}

.toast.hide {
    opacity: 0 !important;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Form validation styling */
input.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Checkbox validation styling */
input[type="checkbox"].is-invalid {
    outline: 2px solid #dc3545 !important;
    outline-offset: 2px !important;
}

/* Section card validation styling */
.section-card.is-invalid {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}