/* === PARTE 3 v2.2: MAPA GLOBAL SATELITAL CON BUSCADOR SUPERIOR FLOTANTE === */

.fleet-map-stage-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.fleet-map-floating-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    pointer-events: none;
}

.fleet-float-search {
    pointer-events: auto;
    flex: 1;
    min-width: 210px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1.5px solid #22C7D6;
    border-radius: 999px;
    padding: 7px 14px;
    box-shadow: 0 6px 18px rgba(7, 37, 64, 0.22);
}
body.dark-mode .fleet-float-search {
    background: rgba(7, 37, 64, 0.92);
}
.fleet-float-search input {
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 0.84rem;
    width: 100%;
    outline: none;
}

.fleet-layer-switcher {
    pointer-events: auto;
    display: inline-flex;
    background: rgba(7, 37, 64, 0.90);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(60, 226, 236, 0.45);
    border-radius: 999px;
    padding: 3px;
    box-shadow: 0 6px 18px rgba(7, 37, 64, 0.26);
}
.fleet-layer-btn {
    border: none;
    background: transparent;
    color: #CBD5E1;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.fleet-layer-btn.active {
    background: linear-gradient(135deg, #1762B0, #22C7D6);
    color: #FFFFFF;
}

.fleet-map-frame {
    height: 430px;
    width: 100%;
    background: #0B1E36;
}
