@font-face {
  font-family: "Bentley-Regular";
  src: url("../assets/fonts/Bentley-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Bentley-SemiBold";
  src: url("../assets/fonts/Bentley-SemiBold.otf") format("opentype");
}

@font-face {
  font-family: "GE SS Text Medium";
  src: url("../assets/fonts/GE SS Text Medium.otf") format("opentype");
}

body {
    font-family: "Bentley-Regular", Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

h2 {
    font-family: "Bentley-SemiBold", Arial, sans-serif;
}

.logo-container {
    margin-top: 40px;
}

.bentley-logo {
    width: 150px;
    margin-bottom: 10px;
}

form {
    margin-top: 20px;
}

.form-row {
    display: flex;
    flex-direction: column; /* stack labels above input */
    align-items: center;
    margin: 12px 0;
}

/* Container for the two labels */
.form-row .labels {
    display: flex;
    justify-content: space-between;
    width: 420px; /* same as input width */
    margin-bottom: 5px;
}

.label-en, .label-ar {
    font-size: 16px;
    display: inline-block;
}

.label-en {
    text-align: left;
}

.label-ar {
    text-align: right;
    direction: rtl;
    font-family: "GE SS Text Medium", Arial, sans-serif;
}

input {
    width: 420px;
    padding: 6px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom:10px;
}

.form-row select {
    width: 420px;
    padding: 6px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 16px;
    font-family: "Bentley-Regular", Arial, sans-serif;
    background-color: #fff;
    cursor: pointer;
    margin-bottom: 10px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='black' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 32px;
}


/* Submit button container */
.submit-container {
    margin-top: 20px;
}

button {
    padding: 8px 20px;
    border: 1px solid black;
    background: black;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}


/* ---------------------------------- */
/* MOBILE RESPONSIVE STYLES           */
/* ---------------------------------- */
/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .form-row .labels {
        width: 90%;          /* labels take full width */
        flex-direction: row;  /* keep labels on one line if possible */
        justify-content: space-between;
        margin-bottom: 5px;
    }

    input {
        width: 90%; /* input takes full width */
    }

    .submit-container button {
        width: 90%;
    }
    
    .form-row select {
        width: 90%;
    }
}
