/* Reset and base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

h1 {
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #222;
}

.search-section {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
}

#cityInput {
    flex: 1;
    padding: 12px 18px;
    font-size: 16px;
    border: 2px solid #74ebd5;
    border-radius: 30px 0 0 30px;
    outline: none;
    transition: border-color 0.3s ease;
}

#cityInput:focus {
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

#searchBtn {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #3498db;
    border: none;
    border-radius: 0 30px 30px 0;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchBtn:hover {
    background-color: #2980b9;
}

#weatherResult {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-top: 10px;
}

.weather-info {
    margin-top: 20px;
    text-align: left;
    color: #222;
}

.weather-info p {
    margin: 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.weather-info p:last-child {
    border-bottom: none;
}

/* Responsive for smaller devices */
@media (max-width: 480px) {
    .container {
        padding: 20px 25px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.8rem;
    }

    #cityInput, #searchBtn {
        font-size: 14px;
        padding: 10px 15px;
    }
}
