/* General body styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    padding: 50px;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
    min-height: 100vh;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Form styling */
form {
    background: rgb(226 237 255);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
}

/* Input and select elements */
input {
    display: block;
    margin: 15px auto;
    padding: 12px;
    width: 100%;
    max-width: 350px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #fdfdfd;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

select {
    display: block;
    margin: 15px auto;
    padding: 12px;
    width: 100%;
    max-width: 372px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background: #fdfdfd;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

/* Focus state for inputs */
input:focus, select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Button styling */
button {
    padding: 12px 25px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover and active state for button */
button:hover {
    background-color: #0056b3;
}

button:active {
    transform: scale(0.95);
}

/* Anchor links styling */
a {
    color: #007BFF;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    margin-top: 10px;
    display: inline-block;
}

/* Hover state for links */
a:hover {
    color: #0056b3;
}

#user-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    font-size: 16px;
    color: #333;
}

#message {
    margin-top: 15px;
    font-size: 14px;
}


.hidden {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}


.success-message {
  margin-top: 20px;
  color: green;
  text-align: center;
}

.error-message {
  margin-top: 20px;
  color: red;
  text-align: center;
}


button {
    padding: 10px 15px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

form input, form select {
    width: -webkit-fill-available;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}


/* Responsive styling for smaller devices */
@media screen and (max-width: 768px) {
    body {
        padding: 20px;
    }

    form {
        width: -webkit-fill-available;
    }

    input, select {
        width: 90%;
    }

    button {
        width: fit-content;
    }
}

#google_translate_element {
    text-align: left; /* Adjust as needed */
    margin-bottom: 10px;
}
