/* Reset Básico e Configuração do Corpo da Página */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #333;
    padding: 20px;
}

/* O Painel Principal com Dimensões Fixas (MODIFICADO) */
.weather-panel {
    width: 1920px; /* LARGURA ALTERADA */
    height: 1080px; /* ALTURA ALTERADA */
    background: linear-gradient(to bottom, #2a477a, #5c85d6);
    color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 20px;
}

/* Seção de Busca */
.search-section {
    padding: 25px 40px; /* Padding ajustado */
    display: flex;
    gap: 15px;
}
.search-section input, .search-section button {
    font-size: 1.6em; /* Fontes ajustadas */
    padding: 15px 25px;
}

/* NOVO: Container para o conteúdo principal */
.main-content {
    display: flex; /* Alinha as duas seções filhas lado a lado */
    flex-grow: 1;
    overflow: hidden;
}

/* Seção do Clima Atual (MODIFICADO para ser a coluna da esquerda) */
.current-weather-section {
    flex-basis: 55%; /* Ocupa 55% do espaço */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Linha divisória */
}

#current-weather-icon {
    width: 200px; /* Ícone ajustado */
    height: 200px;
}

#current-temp {
    font-size: 10em; /* Temperatura ajustada */
}

#city-name {
    font-size: 3em;
}

#weather-description {
    font-size: 2.2em;
}

.current-details {
    margin-top: 40px;
}

/* Seção da Previsão (MODIFICADO para ser a coluna da direita) */
.forecast-section {
    flex-basis: 45%; /* Ocupa 45% do espaço */
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center; /* Centraliza a lista na vertical */
}

/* O container principal de cada linha da previsão */
.forecast-day {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    font-size: 2em; /* Fonte ajustada */
}

/* Coluna 1: Nome do dia */
.day-name {
    width: 45%;
    text-align: left;
}

/* Coluna 2: Container do ícone */
.icon-container {
    width: 10%;
    display: flex;
    justify-content: center;
}

.forecast-icon {
    width: 60px; /* Ícone ajustado */
    height: 60px;
}

/* Coluna 3: Temperatura */
.forecast-temp {
    width: 45%;
    text-align: right;
    font-weight: 700;
}