* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.weather-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
}

.search-box button {
    padding: 12px 20px;
    background-color: #0984e3;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.search-box button:hover {
    background-color: #0176d3;
}

.weather-info h2 {
    font-size: 28px;
    color: #2d3436;
    margin-bottom: 15px;
}

#weather-desc {
    color: #636e72;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.temp-display {
    font-size: 48px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 25px;
}

.details {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item span {
    font-size: 14px;
    color: #b2bec3;
    margin-bottom: 5px;
}

.detail-item strong {
    font-size: 18px;
    color: #2d3436;
}

.error-message {
    color: #d63031;
    font-weight: 600;
    margin-top: 10px;
}

.hidden {
    display:  none !important;
}