* {
    margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #00feba, #5b548a);
    height: 100vh; display: flex; align-items: center; justify-content: center;
}

.card {
    width: 90%; max-width: 470px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
}

.search-box {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
}

.search-box input {
    border: 0; outline: 0; background: #ebfffc; color: #555;
    padding: 10px 25px; height: 60px; border-radius: 30px;
    flex: 1; margin-right: 16px; font-size: 18px;
}

.search-box button {
    border: 0; outline: 0; background: #ebfffc; border-radius: 50%;
    width: 60px; height: 60px; cursor: pointer; transition: 0.2s;
}
.search-box button:hover { background: #d4fcf7; transform: scale(1.05); }
.search-box button i { font-size: 22px; color: #555; }

.weather-icon { width: 170px; margin-top: 30px; }

.weather h1 { font-size: 80px; font-weight: 500; }
.weather h2 { font-size: 45px; font-weight: 400; margin-top: -10px; }

.details {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; margin-top: 50px;
}

.col { display: flex; align-items: center; text-align: left; }
.col i { font-size: 40px; margin-right: 10px; }
.col p { font-size: 16px; margin-top: 6px; }

.error { text-align: left; margin-left: 10px; font-size: 14px; margin-top: 10px; display: none; }
.error p { color: #ffadad; font-weight: bold; }

/* --- FOOTER CREDIT --- */
.footer-credit {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    pointer-events: none;
}

.footer-credit i {
    color: #ff6b6b;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}