/*
* Neutral Theme CSS - Gray to Black Color Scheme
* Override default Soft UI Dashboard colors with neutral tones
*/

/* Primary Color Overrides - Info colors to gray tones */
.text-info {
    color: #495057 !important;
}

.text-gradient.text-info {
    background: linear-gradient(310deg, #6c757d 0%, #495057 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.bg-gradient-info {
    background: linear-gradient(310deg, #6c757d 0%, #495057 100%) !important;
}

.btn-info {
    background: linear-gradient(310deg, #6c757d 0%, #495057 100%) !important;
    border-color: #495057 !important;
}

.btn-info:hover {
    background: linear-gradient(310deg, #5a6268 0%, #343a40 100%) !important;
    border-color: #343a40 !important;
}

/* Secondary colors for other elements */
.btn-success {
    background: linear-gradient(310deg, #6c757d 0%, #495057 100%) !important;
    border-color: #495057 !important;
}

.btn-success:hover {
    background: linear-gradient(310deg, #5a6268 0%, #343a40 100%) !important;
    border-color: #343a40 !important;
}

/* Link colors */
a.text-info {
    color: #495057 !important;
}

a.text-info:hover {
    color: #343a40 !important;
}

/* Sidebar neutral colors */
.sidenav .navbar-brand-img {
    filter: grayscale(100%);
}

.sidenav .navbar-brand {
    color: #495057 !important;
}

/* Card and component neutrals */
.card-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.list-group-item-action:hover {
    background-color: #f8f9fa !important;
}

/* Table styling for neutral theme */
.table-neutral {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.table-neutral thead th {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    font-weight: 600;
}

.table-neutral tbody tr:hover {
    background-color: #f8f9fa;
}

.table-neutral td, .table-neutral th {
    border-color: #dee2e6;
    color: #495057;
}

/* Form controls neutral theme */
.form-control {
    border-color: #ced4da;
    color: #495057;
}

.form-control:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* Pagination neutral */
.page-link {
    color: #495057;
    border-color: #dee2e6;
}

.page-link:hover {
    color: #343a40;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Breadcrumb neutral */
.breadcrumb {
    background-color: transparent;
}

.breadcrumb .breadcrumb-item {
    color: #6c757d;
}

/* Footer neutral */
.footer {
    color: #6c757d;
}

/* Keep alert colors for error messages - DO NOT CHANGE */
.alert-danger {
    /* Keep original error colors for visibility */
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

.alert-warning {
    /* Keep original warning colors for visibility */
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
    color: #856404 !important;
}

.alert-success {
    /* Keep original success colors for visibility */
    background-color: #d1f2eb !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

/* Navbar neutral */
.navbar-main {
    background-color: #fff !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Icon neutral colors */
.icon {
    background-color: #f8f9fa !important;
}

.text-dark {
    color: #495057 !important;
}

/* Filter controls styling */
.filter-controls {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
}

.filter-controls .form-label {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Override any remaining colorful elements */
.bg-primary,
.btn-primary {
    background: linear-gradient(310deg, #6c757d 0%, #495057 100%) !important;
    border-color: #495057 !important;
}

.text-primary {
    color: #495057 !important;
}