* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

body {
    background: #121212; /* Dark background profesional */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    width: 90%;
    max-width: 420px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    padding: 40px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search input {
    border: 0;
    outline: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 25px;
    height: 50px;
    border-radius: 30px;
    flex: 1;
    margin-right: 15px;
    font-size: 18px;
}

/* Mengubah warna placeholder agar terlihat di background transparan */
.search input::placeholder {
    color: #f0f0f0;
}

.search button {
    border: 0;
    outline: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.search button img {
    width: 18px;
    filter: invert(1); /* Membuat ikon search jadi putih */
}

.weather-icon {
    width: 140px;
    margin-top: 30px;
}

.temp {
    font-size: 70px;
    font-weight: 600;
}

.city {
    font-size: 40px;
    font-weight: 400;
    margin-top: -10px;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-top: 50px;
}

.col {
    display: flex;
    align-items: center;
    text-align: left;
}

.col img {
    width: 35px;
    margin-right: 12px;
}

.humidity, .wind {
    font-size: 20px;
    font-weight: 500;
}