body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
    margin: 0;
    box-sizing: border-box;
}
.setup-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 350px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.setup-card input, .setup-card select, .setup-card button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.setup-card button {
    background-color: #ff8c00;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}
.setup-card button:hover {
    background-color: #e07b00;
}
.reset-link {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
    display: none; /* Скрыта по умолчанию */
}
/* Стили карточки погоды */
.weather-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 350px;
    display: none; /* Скрыто до получения данных */
}
.weather-card h2 { 
    margin-top: 0; 
    color: #333; 
}
.current-weather {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.temp { 
    font-size: 48px; 
    font-weight: bold; 
    color: #ff8c00; 
    margin: 10px 0; 
}
.condition { 
    font-size: 18px; 
    color: #666; 
    text-transform: capitalize; 
}
.details { 
    margin-top: 15px; 
    font-size: 14px; 
    color: #888; 
    display: flex; 
    justify-content: space-around; 
}

.forecast-container { 
    display: flex; 
    flex-direction: 
    column; gap: 15px; 
}
.forecast-day { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    background: #f9f9f9; 
    padding: 10px 15px; 
    border-radius: 10px; 
}
.forecast-date { 
    font-size: 14px; 
    font-weight: bold; 
    color: #444; 
    width: 80px; 
    text-align: left; 
}
.forecast-icon { 
    width: 40px; 
}
.forecast-temps { 
    font-size: 14px; 
    color: #555; 
    text-align: right; 
    width: 100px; 
}
.error { 
    color: red; 
    font-size: 14px; 
    text-align: center; 
}
.loading { color: #666; 
    font-size: 16px; 
    text-align: center; 
    display: none; 
}
#proxy-auth-btn {
    background-color: #6c757d; 
    margin-bottom: 5px;
}

#proxy-auth-btn:hover {
    background-color: #5a6268;
}
#save-key-btn {
    background-color: #28a745; 
}
#save-key-btn:hover {
    background-color: #218838;
}

#auth-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}