.faq-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    max-width: 1200px;
    width: 88%;
}
.container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: visible;
}
@keyframes neonGlow {
    from { text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px #007bff; }
    to { text-shadow: 0 0 20px #00d4ff, 0 0 30px #00d4ff, 0 0 40px #007bff; }
}
@keyframes twinkle {
    0%, 100% { opacity: 1.0; }
    50% { opacity: 0.6; }
}
.map-container {
    height: 400px;
    border-radius: 15px;
    border: 3px solid #a2d5f2;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    transition: all 0.3s ease;
    cursor: crosshair;
}
.col-right {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.6rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
button {
    position: relative;
    background: linear-gradient(90deg, #3a7986, #223850);
    color: #fff;
    border: none;
    padding: 0.55rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
}
button:hover {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}
.table-container3 {
    overflow-x: auto;
    position: relative;
}
.table-container3 table {
    background: rgba(21, 13, 13, 0.66);
    color: #e0e0e0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.table-container3 th {
    padding: 0.4rem 0.6rem;
    background: #98bbce;
    color: #0d1b2a;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}
.table-container3 td:nth-child(2) {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}
.table-container3 td:nth-child(6) {
    text-align: center;
}
.table-container3 td:nth-child(3) {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d7d7d7;
}
.table-container3 th:nth-child(9),
.table-container3 td:nth-child(9) {
    width: 90px;
    text-align: center;
}
.table-container3 td {
    font-size: 1.2rem;
    padding: 0rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.table-container3 tr {
    font-size: 1.1rem;
    color: #c2c2c2;
    font-weight: 400;
    transition: background 0.2s ease;
}
.table-container3 tr.day-row {
    background: rgba(220, 180, 180, 0.3);
}
.table-container3 tr.night-row {
    background-size: 120px 120px; /* Увеличен размер для заметности звёзд */
    background-repeat: repeat;
    background-color: rgba(20, 20, 60, 0.6);
    animation: twinkle 5s ease-in-out infinite; /* Мягкое мерцание */
}
.table-container3 tr:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.weather-icon {
    width: 80px;
    height: 80px;
    vertical-align: middle;
}
.uv-icon {
    width: 65px;
    height: 65px;
    vertical-align: middle;
}
.wind-icon {
    width: 65px;
    height: 65px;
    vertical-align: middle;
}
.table-header-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    display: none;
}
.instructions {
    font-size: 0.9rem;
}
.button-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    display: none;
}
.data-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}
.data-status i {
    font-size: 1.2rem;
}
.data-status .fresh {
    color: #00ff00;
}
.data-status .medium {
    color: #ffcc00;
}
.data-status .stale {
    color: #ff3333;
}
.timezone-display {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    margin-left: 1.7rem;
}
.update-timer {
    font-size: 0.7rem;
    color: #00d4ff;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.update-timer.pulse {
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.timezone-selector {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.timezone-selector label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 0.5rem;
}
.timezone-selector select {
    background: #1b263b;
    color: #e0e0e0;
    border: 1px solid #00d4ff;
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.timezone-selector select:hover {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.map-form-container {
    display: flex;
    flex-direction: row;
    gap: 1.0rem;
}
.coordinate-input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.coordinate-input-group label {
    font-size: 0.9rem;
    font-weight: 500;
    top: -20rem;
}
.coordinate-input-group input {
    bottom: 1rem;
    padding: 0.5rem;
    background: #1b263b;
    border: 1px solid #4b5e7a;
    border-radius: 8px;
    color: #e0e0e0;
    width: 100%;
    box-sizing: border-box;
}
.coordinate-input-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}
.city-input-container {
    position: relative;
    width: 100%;
}
.clear-city-btn {
    position: absolute;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #e0e0e0;
    display: none;
    margin: 0.4rem 0.4rem;
}
.clear-city-btn:hover {
    color: #00d4ff;
}
.ui-autocomplete {
    background: #1b263b;
    border: 1px solid #00d4ff;
    border-radius: 8px;
    color: #e0e0e0;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-autocomplete .ui-menu-item {
    padding: 0.5rem;
    cursor: pointer;
}
.ui-autocomplete .ui-state-active {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}
.daily-forecast {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 0rem 1rem 1rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.daily-forecast-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.75rem;
    text-align: center;
    position: relative;
    z-index: 5;
}
.text-green-500 {
    color: #20d49e; /* для дат "Сегодня" */
}
.text-blue-500 {
    color: #c2ac6a; /* для дат "Завтра" */
}
.text-red-500 {
    color: #ff6161; /* для выходных (суббота, воскресенье) */
}
.daily-forecast-header.text-green-500 {
    color: #20d49e;
}
.daily-forecast-header.text-blue-500 {
    color: #c2ac6a;
}
.daily-forecast-header.text-red-500 {
    color: #ff6161;
}
@media (min-width: 769px) {
    .table-container3 th:nth-child(2),
    .table-container3 td:nth-child(2) {
        min-width: 140px;
    }
}
@media (max-width: 1080px) {
    .faq-section {
        padding: 1rem;
        width: 88%;
        margin: 1rem auto;
    }
    .instructions {
        display: none;
    }
    .table-container3 th {
        font-size: 0.7rem;
        text-align: center;
        padding: 0.2rem;
    }
    .table-container3 td {
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    .coordinate-input-group label {
        font-size: 0.7rem;
    }
    .daily-forecast {
        padding: 0.2rem;
    }
    .col-right {
        padding: 0.5rem;
    }
    .map-form-container {
        gap: 0.5rem;
    }
    .timezone-selector select {
        padding: 0.3rem;
        font-size: 0.7rem;
    }
    .table-container3 th {
        font-size: 1rem;
        color: #e0e0e0;
        background: #33607b;
        padding: 0.1rem;
        line-height: 1.5em;
        width: 12.5%; /* Примерно одинаковая ширина для 8 колонок */
    }
    .table-container3 td {
        font-size: 1rem;
        padding: 0.1rem 0.1rem;
        width: 12.5%; /* Примерно одинаковая ширина для 8 колонок */
    }
    .table-container3 td:nth-child(2) { /* Колонка "Время" */
        padding: 0.1rem;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        width: 12.5%;
    }
    .table-container3 th:nth-child(2) { /* Колонка "Время" */
        padding: 0.2rem;
    }
    .table-container3 td:nth-child(6) {
        width: 12.5%;
        text-align: center;
    }
    .table-container3 td:nth-child(3) {
        font-size: 1.5rem;
        font-weight: 700;
        color: #d7d7d7;
        text-align: center;
        width: 12.5%;
    }
    .table-container3 td:nth-child(9) {
        text-align: center;
        width: 12.5%;
    }
    .table-header-icon {
        display: inline-block;
    }
    .table-container3 th:not(:nth-child(2)) span {
        display: none;
    }
    .weather-icon, .uv-icon, .wind-icon {
        width: 50px;
        height: 50px;
    }
    .table-header-icon {
        width: 55px;
        height: 55px;
    }
    .table-container3 tr.night-row {
        background-size: 90px 90px; /* Уменьшенный размер для мобильных */
    }
    button span {
        display: none;
    }
    .button-icon {
        display: inline-block;
    }
}
@media (max-width: 480px) {
    .daily-forecast {
        width: 100%;
    }
    .faq-section {
        padding: 0.5rem;
    }
    .weather-icon, .uv-icon, .wind-icon {
        width: 40px;
        height: 40px;
    }
    .table-header-icon {
        width: 29px;
        height: 29px;
    }
    .button-icon {
        width: 25px;
        height: 25px;
    }
    .table-container3 th, .table-container3 td {
        width: 12.5%; /* Поддержка одинаковой ширины */
    }
    .table-container3 tr.night-row {
        background-size: 70px 70px;
    }
}
@media (max-width: 380px) {
    .weather-icon, .uv-icon, .wind-icon {
        width: 37px;
        height: 37px;
    }
    .table-container3 td:nth-child(3) {
        font-size: 1.2rem;
    }
    .table-container3 th {
        font-size: 0.8rem;
        padding: 0rem;
    }
    .table-container3 td {
        font-size: 0.8rem;
        padding: 0rem 0rem;
    }
    .table-container3 tr.night-row {
        background-size: 60px 60px;
    }
}

@media (max-width: 320px) {
    .weather-icon, .uv-icon, .wind-icon {
        width: 33px;
        height: 33px;
    }
    .table-header-icon {
        width: 25px;
        height: 25px;
    }
    .table-container3 td:nth-child(3) {
        font-size: 1.0rem;
    }
    .table-container3 th {
        font-size: 0.7rem;
        padding: 0rem;
    }
    .table-container3 td {
        font-size: 0.7rem;
        padding: 0rem 0rem;
    }
    .timezone-selector {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .timezone-selector label{
        font-size: 0.7rem;
    }
}

.map-container {
    flex: 4;
}
.col-right {
    flex: 1;
}
