.cockpit-shell .cockpit-header {
    position: relative;
}

.cockpit-shell .cockpit-header-tools {
    row-gap: 8px;
}

.cockpit-shell .cockpit-header-filter {
    padding: 7px 8px 8px 10px;
    border: 1px solid var(--cockpit-line);
    border-radius: 14px;
    background: var(--cockpit-panel);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.cockpit-shell .cockpit-theme-toggle,
.cockpit-shell .cockpit-logout-btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cockpit-shell .cockpit-theme-toggle:hover,
.cockpit-shell .cockpit-logout-btn:hover {
    transform: translateY(-1px);
    border-color: var(--cockpit-accent) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
}

.cockpit-shell .cockpit-control .Select-control,
.cockpit-shell .cockpit-control .Select-menu-outer,
.cockpit-shell .cockpit-control .Select-menu {
    background: var(--cockpit-panel) !important;
    border-color: var(--cockpit-line) !important;
    color: var(--cockpit-ink) !important;
    box-shadow: none !important;
}

.cockpit-shell .cockpit-control .Select-control {
    min-height: 34px !important;
    border-radius: 10px !important;
}

.cockpit-shell .cockpit-control .Select-value-label,
.cockpit-shell .cockpit-control .Select-placeholder,
.cockpit-shell .cockpit-control .Select-input > input {
    color: var(--cockpit-ink) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.cockpit-shell .cockpit-control .Select-placeholder {
    color: var(--cockpit-muted) !important;
}

.cockpit-shell .cockpit-control .Select-arrow,
.cockpit-shell .cockpit-control .Select-arrow-zone,
.cockpit-shell .cockpit-control .Select-clear-zone {
    color: var(--cockpit-muted) !important;
}

.cockpit-shell .cockpit-control .Select-option {
    background: var(--cockpit-panel) !important;
    color: var(--cockpit-ink) !important;
    font-size: 12px !important;
}

.cockpit-shell .cockpit-control .Select-option.is-focused {
    background: var(--cockpit-panel-alt) !important;
}

.cockpit-shell .cockpit-control .is-open > .Select-control,
.cockpit-shell .cockpit-control .Select-control:hover {
    border-color: var(--cockpit-accent) !important;
}

.cockpit-shell.cockpit-dark .cockpit-header-filter {
    background: rgba(22, 27, 34, 0.76);
    backdrop-filter: blur(14px);
}

.cockpit-shell.cockpit-dark .cockpit-control .Select-option.is-focused {
    background: #0B1220 !important;
}

.cockpit-shell.cockpit-light .cockpit-header-filter {
    background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
    .cockpit-shell .cockpit-header {
        align-items: flex-start !important;
    }

    .cockpit-shell .cockpit-header-tools {
        justify-content: flex-start !important;
    }
}
