:root {
    --verde: #73c9ae;
    --azul: #2762a7;
    --off-white: #f7fcfe;
    --fosco: #053939;
    --borda: rgba(5, 57, 57, 0.12);
}

body {
    font-family: 'Roboto', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(115, 201, 174, 0.20), transparent 28%),
        radial-gradient(circle at top right, rgba(39, 98, 167, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(115, 201, 174, 0.04), transparent 22%),
        var(--off-white);
}

.font-display {
    font-family: 'Space Grotesk', sans-serif;
}

.brand-panel {
    background: rgba(236, 248, 244, 0.88);
    border: 1px solid var(--borda);
    box-shadow: 0 24px 80px rgba(5, 57, 57, 0.10);
    backdrop-filter: blur(14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card {
    background: rgba(243, 250, 248, 0.90);
    border: 1px solid rgba(5, 57, 57, 0.08);
    box-shadow: 0 16px 40px rgba(5, 57, 57, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(5, 57, 57, 0.10);
}

.brand-grid {
    background-image: radial-gradient(rgba(5, 57, 57, 0.10) 1px, transparent 1px);
    background-size: 22px 22px;
}

.map-surface {
    background:
        linear-gradient(180deg, rgba(241, 247, 244, 0.96), rgba(232, 242, 238, 0.96)),
        linear-gradient(90deg, rgba(39, 98, 167, 0.03), transparent 42%);
}

.map-pin {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: white;
    border: 3px solid var(--azul);
    box-shadow: 0 0 0 8px rgba(39, 98, 167, 0.10), 0 8px 18px rgba(5, 57, 57, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.map-pin:hover {
    transform: scale(1.1);
}

.map-pin.active {
    border-color: var(--verde);
    box-shadow: 0 0 0 8px rgba(115, 201, 174, 0.16), 0 8px 18px rgba(5, 57, 57, 0.12);
}

.map-label {
    position: absolute;
    transform: translate(-50%, calc(-100% - 14px));
    border-radius: 9999px;
    background: rgba(5, 57, 57, 0.92);
    padding: 6px 10px;
    color: white;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(5, 57, 57, 0.18);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-pin:hover + .map-label,
.map-label { /* Keep active or modify dynamically */
    opacity: 1;
}

.map-controls {
    position: absolute;
    left: 18px;
    top: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(5, 57, 57, 0.10);
    background: rgba(249, 252, 251, 0.94);
    box-shadow: 0 8px 20px rgba(5, 57, 57, 0.08);
    backdrop-filter: blur(10px);
}

.map-controls button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--fosco);
    font-size: 20px;
    line-height: 1;
    transition: background 0.2s ease;
}

.map-controls button:hover {
    background: rgba(5, 57, 57, 0.05);
}

.map-controls button + button {
    border-top: 1px solid rgba(5, 57, 57, 0.08);
}

.brand-orb {
    position: absolute;
    border-radius: 9999px;
    border: 6px solid var(--azul);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 0 10px rgba(39, 98, 167, 0.10);
    animation: pulseOrb 4s infinite alternate;
}

@keyframes pulseOrb {
    0% { transform: scale(1); box-shadow: 0 0 0 10px rgba(39, 98, 167, 0.10); }
    100% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(39, 98, 167, 0.15); }
}

.brand-orb::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: var(--verde);
    transform: translate(-50%, -50%);
}

.mobile-frame {
    width: 308px;
    border-radius: 34px;
    padding: 9px;
    background: #053939;
    box-shadow: 0 30px 80px rgba(5, 57, 57, 0.20);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mobile-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(5, 57, 57, 0.25);
}

.mobile-screen {
    min-height: 448px;
    overflow: hidden;
    border-radius: 27px;
    border: 1px solid rgba(5, 57, 57, 0.08);
    background:
        radial-gradient(circle at top left, rgba(115, 201, 174, 0.22), transparent 34%),
        linear-gradient(180deg, #f7fcfe, #edf7f3);
}

.surface-overlay {
    background: rgba(249, 252, 251, 0.97);
    border: 1px solid rgba(5, 57, 57, 0.12);
    box-shadow: 0 14px 32px rgba(5, 57, 57, 0.10);
    transition: transform 0.3s ease;
}

.surface-overlay:hover {
    transform: translateY(-2px);
}

.surface-overlay-strong {
    background: rgba(249, 252, 251, 0.99);
    border: 1px solid rgba(5, 57, 57, 0.14);
    box-shadow: 0 18px 40px rgba(5, 57, 57, 0.12);
}

.mobile-notch {
    width: 112px;
    height: 20px;
    border-radius: 0 0 16px 16px;
    background: #053939;
    margin: 0 auto;
}

.operator-mini-map {
    background:
        linear-gradient(180deg, rgba(241, 247, 244, 0.96), rgba(228, 240, 236, 0.96)),
        linear-gradient(90deg, rgba(39, 98, 167, 0.04), transparent 44%);
}

.toggle-checkbox:checked {
    right: 0;
    border-color: var(--fosco);
}

.toggle-checkbox:checked + .toggle-label {
    background-color: var(--fosco);
}

.toggle-checkbox:checked + .toggle-label:after {
    transform: translateX(100%);
    border-color: white;
}
