/* DRAP Dashboard Styles */

/* Dropdown styling - dark theme with visible text */
.drap-dropdown .Select-control {
    background-color: #1e293b !important;
    border: 2px solid #475569 !important;
    border-radius: 8px !important;
    min-height: 44px !important;
}

.drap-dropdown .Select-value-label,
.drap-dropdown .Select-placeholder {
    color: #f1f5f9 !important;
}

.drap-dropdown .Select-menu-outer {
    background-color: #1e293b !important;
    border: 2px solid #475569 !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    z-index: 1000 !important;
}

.drap-dropdown .Select-option {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    padding: 10px 12px !important;
}

.drap-dropdown .Select-option:hover,
.drap-dropdown .Select-option.is-focused {
    background-color: #334155 !important;
    color: #ffffff !important;
}

.drap-dropdown .Select-option.is-selected {
    background-color: #eb9534 !important;
    color: #ffffff !important;
}

.drap-dropdown .Select-arrow {
    border-color: #f1f5f9 transparent transparent !important;
}

.drap-dropdown .Select-clear {
    color: #f1f5f9 !important;
}

/* Date picker styling */
.drap-date-picker .DateInput_input {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border: 2px solid #475569 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
}

.drap-date-picker .DateInput_input:focus {
    border-color: #eb9534 !important;
    outline: none !important;
}

.drap-date-picker .SingleDatePickerInput {
    background-color: transparent !important;
    border: none !important;
}

.drap-date-picker .CalendarDay__selected {
    background: #eb9534 !important;
    border: 1px solid #eb9534 !important;
}

.drap-date-picker .CalendarDay__hovered_span,
.drap-date-picker .CalendarDay__selected_span {
    background: rgba(235, 149, 52, 0.3) !important;
}

.drap-date-picker .DayPickerNavigation_button {
    background-color: #334155 !important;
    border: 1px solid #475569 !important;
}

/* Multi-select dropdown for columns */
.drap-column-selector .Select-value {
    background-color: #eb9534 !important;
    border-color: #eb9534 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    margin: 2px !important;
}

.drap-column-selector .Select-value-icon {
    border-right-color: rgba(255,255,255,0.3) !important;
}

.drap-column-selector .Select-value-icon:hover {
    background-color: rgba(0,0,0,0.2) !important;
    color: #ffffff !important;
}

/* Table styling */
.drap-table .dash-spreadsheet-container {
    background-color: #0f172a !important;
}

.drap-table .dash-header {
    background-color: #1e293b !important;
}

.drap-table .dash-cell {
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

.drap-table .dash-cell.focused {
    border-color: #eb9534 !important;
}

/* Metric cards hover effect */
.drap-metric-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.drap-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Filter section styling */
.drap-filter-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
}

/* Login button hover */
#drap-login-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Input focus states */
#drap-username-input:focus,
#drap-password-input:focus {
    border-color: #eb9534 !important;
    box-shadow: 0 0 0 3px rgba(235, 149, 52, 0.2) !important;
}