/* Custom CSS for DSP Visualization App */

/* Dark theme for dropdowns */
.dark-dropdown .Select-control {
    background-color: #0f0f23 !important;
    border-color: #3a3a5e !important;
}

.dark-dropdown .Select-menu-outer {
    background-color: #1a1a2e !important;
    border-color: #3a3a5e !important;
}

.dark-dropdown .Select-option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
}

.dark-dropdown .Select-option:hover {
    background-color: #2a2a4e !important;
}

.dark-dropdown .Select-value-label {
    color: #ffffff !important;
}

.dark-dropdown .Select-placeholder {
    color: #8080a0 !important;
}

/* Dash dropdown styling */
.Select-control {
    background-color: #0f0f23 !important;
    border: 1px solid #3a3a5e !important;
    border-radius: 6px !important;
}

.Select-menu-outer {
    background-color: #1a1a2e !important;
    border: 1px solid #3a3a5e !important;
}

.Select-option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
}

.Select-option.is-focused {
    background-color: #2a2a4e !important;
}

.Select-option.is-selected {
    background-color: #3a3a5e !important;
}

.Select-value-label {
    color: #ffffff !important;
}

.Select-input > input {
    color: #ffffff !important;
}

.Select-arrow-zone {
    color: #8080a0 !important;
}

.Select.is-open > .Select-control {
    border-color: #6080ff !important;
}

/* VirtualizedSelect specific */
.VirtualizedSelectOption {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
}

.VirtualizedSelectFocusedOption {
    background-color: #2a2a4e !important;
}

/* Slider styling */
.rc-slider {
    background-color: transparent !important;
}

.rc-slider-track {
    background-color: #6080ff !important;
}

.rc-slider-rail {
    background-color: #3a3a5e !important;
}

.rc-slider-handle {
    background-color: #6080ff !important;
    border-color: #6080ff !important;
}

.rc-slider-handle:hover {
    border-color: #80a0ff !important;
}

.rc-slider-handle:active {
    border-color: #80a0ff !important;
    box-shadow: 0 0 5px #6080ff !important;
}

/* Demo button hover effect */
.demo-button:hover {
    border-color: #6080ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(96, 128, 255, 0.2);
}

/* Input styling */
input[type="number"] {
    background-color: #0f0f23 !important;
    color: #ffffff !important;
    border: 1px solid #3a3a5e !important;
    border-radius: 6px !important;
}

input[type="number"]:focus {
    border-color: #6080ff !important;
    outline: none !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f0f23;
}

::-webkit-scrollbar-thumb {
    background: #3a3a5e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a6e;
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
