/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-image: url('assets/images/banner.jpg'); /* Background image */
    background-size: cover; /* Cover the entire body */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    min-height: 100vh; /* Ensure body covers full viewport height */
}

/* Language selector */
.language-selector {
    text-align: right;
    padding: 10px 20px;
    background-color: rgba(0, 123, 255, 0.8); /* Slightly transparent blue */
    color: white;
}

.language-selector select {
    padding: 5px;
    margin-left: 10px;
    background-color: white; /* Set background color to white for better contrast */
    color: #333; /* Dark text color for readability */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style the flags */
.language-selector option {
    background-size: 20px 20px; /* Set size of the flag */
    padding-left: 25px; /* Add padding to avoid overlap with flag */
}

/* Adjustments for options */
.language-selector option[value="fa"] {
    background: url('assets/images/fa-flag.png') no-repeat left center;
}

.language-selector option[value="en"] {
    background: url('assets/images/en-flag.png') no-repeat left center; /* Default background */
}

.language-selector option[value="ps"] {
    background: url('assets/images/ps-flag.png') no-repeat left center;
}

/* Container for forms */
.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Button styles */
.buttons {
    display: flex;
    justify-content: center;
    margin: 20px 0; /* More space between buttons and text */
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px; /* Increased padding for larger buttons */
    margin: 0 10px; /* Space between buttons */
    cursor: pointer;
    font-size: 18px; /* Increased font size */
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Form styles */
.form-container {
    display: none; /* Initially hidden */
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin: 10px 0 5px;
}

input[type="text"], textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px; /* Increased padding for submit button */
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        background-attachment: fixed; /* Optional: keep background fixed on mobile */
    }

    .container {
        padding: 10px;
    }

    button {
        padding: 12px 20px; /* Adjusted padding for smaller screens */
        font-size: 16px; /* Slightly smaller font size */
    }

    input[type="text"], textarea {
        font-size: 14px;
    }
}
