/* ===== МОДУЛЬ: ШАПКА ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #1e1e1e;
    border-radius: 12px;
    margin: 16px auto 24px auto;
    max-width: 1200px;
    color: #e0e0e0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

.logo span { color: #fc3f1d; }

.header-right, .header-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.city-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #333;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    margin-right: 8px;
}

.city-btn:hover { background: #444; }

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border: 1px solid #444;
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover { background: #444; color: #fc3f1d; }

/* Тултипы */
.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.has-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}
