
        /* Estilos base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #333;
            padding: 20px; 
            background-image: url('Meteorologia.png');
            background-size: cover;           
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        /* Container principal do App */
        .weather-app {
            background-color: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 450px;
            text-align: center;
        }

        .weather-app h1 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        /* Área de busca */
        .search-container {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .search-container input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s;
        }

        .search-container input:focus {
            border-color: #9face6;
        }

        .search-container button {
            padding: 12px 20px;
            background-color: #4b6cb7;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: bold;
            transition: background 0.3s;
        }

        .search-container button:hover {
            background-color: #3a539b;
        }

        /* Informações do clima atual */
        .weather-info {
            display: none;
            margin-top: 20px;
            animation: fadeIn 0.5s ease-in-out;
        }

        .weather-info h2 {
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .current-emoji {
            font-size: 48px;
            margin: 10px 0;
        }

        .temperature {
            font-size: 56px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 15px;
        }

        /* Previsão do dia (Carrossel Horizontal) */
        .hourly-forecast-title {
            text-align: left;
            font-size: 16px;
            font-weight: bold;
            margin-top: 25px;
            margin-bottom: 10px;
            color: #555;
        }

        .hourly-container {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding-bottom: 15px;
            /* Suaviza a barra de rolagem */
            scrollbar-width: thin;
            scrollbar-color: #9face6 transparent;
        }

        .hourly-container::-webkit-scrollbar {
            height: 6px;
        }
        .hourly-container::-webkit-scrollbar-thumb {
            background-color: #9face6;
            border-radius: 10px;
        }

        .hour-card {
            min-width: 70px;
            background: #f1f2f6;
            border-radius: 10px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }

        .hour-time {
            font-size: 14px;
            color: #666;
        }

        .hour-emoji {
            font-size: 24px;
        }

        .hour-temp {
            font-size: 16px;
            font-weight: bold;
            color: #e67e22;
        }

        .error {
            color: #e74c3c;
            margin-top: 15px;
            display: none;
            font-weight: bold;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }