/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* === STRUCTURE === */
.auth-container {
    display: flex;
    min-height: 100%;
    flex-direction: row;
}


select {
    text-align: center;
}

.image-section {
    width: 50%;
    position: relative;
    height: auto;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === FORM SECTION === */
.form-section {
    width: 50%;
    height: 100vh;
    min-width: 400px;
    background: #fff;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.05);
}

.form-header {
    text-align: center;
}

.logo {
    max-width: 200px;
    padding-top: 20px;
}

.form-header h2 {
    font-size: 24px;
    color: #006c9a;
    margin-bottom: 8px;
}

.form-header p {
    color: #777;
    font-size: 15px;
}

/* === FORM INPUTS === */
.form-group {
    gap: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group input::placeholder {
    text-align: center;
}
label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
.icon {
  position: absolute;
  top: 47px;
  right: 12px;
  color: #999;
  font-size: 16px;
  pointer-events: none;
}

.form-control,
.form-select {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 6px;
    /* text-align: center; */
    font-size: 16px;
    align-items: center;
    color: #555;
    background-color: #fff;
    display: flex;
}
.form-select{
    appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23614c91' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center; 
  background-size: 22px;
  padding-right: 40px; 
}
.form-control:focus,
.form-select:focus {
    border-color: #5cb85c;
    outline: none;
}

.text-danger {
    font-size: 14px;
    color: #a94442;
    margin-top: 5px;
    display: block;
}

/* === SUBMIT BUTTON === */
.submit-btn {
    height: 50px;
    background-color: #006c9a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #67bfe5;
}

/* === FOOTER === */
.form-footer {
    margin-top: 25px;
    display: flex;
    text-align: center;
    font-size: 15px;
    flex-direction: column;
    gap: 10px;

}

.form-footer a {
    color: #006c9a;
    text-decoration: none;
    margin: 0 5px;
}

.form-footer a:hover {
    color: #77acc3;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }

    .image-section {
        display: none;
    }

    .form-section {
        width: 100%;
        min-width: auto;
        padding: 40px 20px;
        box-shadow: none;
    }
}

@media (max-width: 576px) {
    .form-section {
        padding: 30px 15px;
    }

    .form-control {
        font-size: 14px;
    }

    .submit-btn {
        font-size: 14px;
    }
}


