/* Custom Admin Styles for Sales Intelligence Dashboard */

/* Ensure the main page background is fully dark */
body, .content-wrapper {
    background-color: #121212 !important;
    color: #e4e6eb !important;
}

/* Make headers and text readable */
.content-header h1 {
    color: #ffffff !important;
}

/* Clean up breadcrumb container to match the dark theme */
.breadcrumb {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
}

.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item.active {
    color: #cccccc !important;
}

.breadcrumb-item a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* Style cards and dashboard metrics */
.card {
    background-color: #1e1e1e !important;
    border: 1px solid #2d2d2d !important;
}

.card-header {
    background-color: #252526 !important;
    border-bottom: 1px solid #2d2d2d !important;
    color: #ffffff !important;
}

.info-box {
    background-color: #1e1e1e !important;
    border: 1px solid #2d2d2d !important;
    color: #ffffff !important;
}

.info-box .info-box-text {
    color: #aaaaaa !important;
}

.info-box .info-box-number {
    color: #ffffff !important;
}

/* Fix select / combobox heights, alignment and prevent truncation */
select, 
select.form-control,
select.form-control-sm,
select.custom-select,
select.custom-select-sm,
#changelist-form select,
.changelist-filters select,
.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single {
    height: 35px !important;
    min-height: 35px !important;
    line-height: 1.5 !important;
    padding: 4px 24px 4px 8px !important; /* Right padding preserves room for the arrow */
    border-radius: 4px !important;
    background-color: #252526 !important;
    color: #e4e6eb !important;
    border: 1px solid #3a3b3c !important;
    vertical-align: middle !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
}

/* Set styling for options inside select */
select option {
    background-color: #252526 !important;
    color: #e4e6eb !important;
}

