body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #83a4d4, #b6fbff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
    flex: 1;
    text-align: left;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.language-switcher button {
    background: none;
    border: 1px solid #007BFF;
    color: #007BFF;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.language-switcher button:hover {
    background-color: #007BFF;
    color: #fff;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.weather-result {
    margin-top: 20px;
    text-align: left;
}

.weather-result p {
    margin: 5px 0;
    font-size: 16px;
}

body[dir="rtl"] .weather-result {
    text-align: right;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    background-color: #f4f4f4;
    width: 100%;
    text-align: left;
    font-size: 12px;
    color: #333;
}
