/* General background properties for the whole page */
body, html {
    background-image: url('./images/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e3f2fd;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: hidden; /* Prevent horizontal scrolling */
}

/* Central container for layout management */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align items to the bottom */
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    padding: 0 0 200px; /* Add padding at the bottom to raise content up */
    box-sizing: border-box;
    margin: 0;
}

/* Inner container for aligning elements */
.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Ensure space between wheel and form */
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Set a max-width to avoid overflow */
    margin: 0 auto;
    box-sizing: border-box;
}

/* Form container styling */
.form-container {
    width: 400px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-left: 50px; /* Adjust margin to align properly */
}

/* Logo container styling */
.logo-container {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.logo {
    width: 150px;
}

/* Input and button styling */
input, button {
    font-family: 'Maven Pro', sans-serif;
    font-weight: 500;
    margin: 10px;
    padding: 10px;
    width: 100%;
}

#spinButton {
    background-color: #024683;
    color: #ffffff;
    border-color: #02395b;
}

#highlightedText {
    color: #02395b;
}

h2 {
    color: black;
}

/* Modal footer styling */
.modal-footer {
    justify-content: center;
    display: flex;
}

/* Language toggle button styling */
#langToggle {
    background-color: transparent;
    color: #000;
    border: none;
}
#langToggle:focus {
    outline: none;
    box-shadow: none;
}

/* Right-to-left styling */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .form-control {
    text-align: left;
}
