* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #00b4db, #0083b0);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #0083b0;
    box-shadow: 0 0 5px rgba(0,131,176,0.3);
    outline: none;
}

button {
    padding: 10px 20px;
    background: #0083b0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #006687;
    transform: scale(1.05);
}

.weather-info {
    text-align: center;
}

.weather-icon {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    animation: float 3s ease-in-out infinite;
    text-indent: -9999px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.city {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.temperature {
    font-size: 48px;
    font-weight: bold;
    color: #0083b0;
    margin: 10px 0;
}

.description {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.forecast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.forecast-day {
    text-align: center;
    padding: 10px;
    background: rgba(0,131,176,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.forecast-day:hover {
    transform: scale(1.05);
    background: rgba(0,131,176,0.2);
}

.forecast-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.forecast-temp {
    font-size: 20px;
    font-weight: bold;
    color: #0083b0;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.detail-item {
    text-align: center;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: scale(1.05);
}

.detail-label {
    color: #666;
    font-size: 14px;
}

.detail-value {
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

.error {
    color: #ff3333;
    text-align: center;
    margin-top: 10px;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}