

/* .weatherApp{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
} */
/* .data-section{ */
/* display: flex; */
/* background-color: red; */
/* width: 90%; */
/* justify-content: center; */
/* align-items: center; */
/* } */
/* .data-section .weather-input{
    border: none;
    outline: none;
    padding: 15px 40px;
    border-radius: 5px 0px 0px 5px;
    text-align: right;
    font-size: 1.3rem;
}

.data-section :placeholder-shown{
    color: black;
    font-size: 20px;
    text-align: right;
    font-weight: bold; 
}
button{
    font-size: 25px;
    padding: 10px 20px;
    border: none;
    border-radius: 0px 5px 5px 0px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}
.weather-display{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    background-color: rgb(17, 48, 17);
    box-shadow: 0px 0px 10px 10px rgb(0,0,0,0.5);
    min-width: fit-content;
    padding: 10px;
    width: 400px;
    border-radius: 3px;
    font-family: sans-serif;
    font-size: 1.2rem;
} */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

.weatherApp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.data-section {
    display: flex;
    width: 380px;
}

.data-section .weather-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
    border-right: none;
}

.data-section .weather-input::placeholder {
    color: #555;
}

button {
    padding: 14px 20px;
    border: none;
    border-radius: 0 8px 8px 0;
    background-color: #c9a84c;
    color: black;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

button:hover {
    background-color: #e0c068;
}

.weather-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: #111;
    border: 1px solid #222;
    padding: 40px 60px;
    width: 380px;
    border-radius: 12px;
}

.city-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: #c9a84c;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.temp {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    line-height: 1;
    margin: 8px 0;
}

.description {
    font-size: 1rem;
    color: #888;
    text-transform: capitalize;
}

.details {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #555;
}