 /* Basic Reset and Font Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1525625293386-3f8f99389edd?q=80&w=1974&auto=format&fit=crop'); /* Singapore Background */
    background-size: cover;
    background-position: center;
    padding: 20px;
}

/* Main App Container (The "Nice Box") */
.weather-app {
    width: 100%;
    max-width: 450px;
    padding: 30px;
    text-align: center;
    color: #fff;
    
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.app-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Search Form Styling */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#city-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

#city-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#search-btn {
    border: none;
    outline: none;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: #f9a826; /* A nice warm color */
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#search-btn:hover {
    background-color: #fbc02d;
}

/* Weather Display Styling */
#weather-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#weather-icon {
    width: 120px;
    height: 120px;
}

#city-name {
    font-size: 2.5rem;
    font-weight: 500;
}

#temperature {
    font-size: 3.5rem;
    font-weight: 700;
}

#description {
    font-size: 1.2rem;
    text-transform: capitalize;
    font-weight: 300;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

#error-message p {
    background-color: rgba(255, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
}