body {
     font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 20px;
}
/* Error Message Styling */
.error-message {
    color: #d9534f;
    font-size: 13px;
    margin-top: 4px;
    padding-right: 25px;
    display: flex;
    align-items: center;
}

/* Highlight invalid input fields */
.has-error input,
.has-error textarea {
    border-color: #d9534f;
    box-shadow: 0 0 5px rgba(217, 83, 79, 0.5);
    background-color: #fff5f5;
    outline: none;
}
/* Error Message Alignment */
.form_group {
    position: relative;
    width: 48%;
    margin-bottom: 15px;
}

.form_group .error-message {
    position: absolute;
    top: 100%;
}
/* Main Container Styling */
.sign_up_container {
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 5px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(to bottom, #97c55c, #495f2c);
    background-origin: border-box;
    background-clip: content-box, border-box;
}
.left_background {
    width: 60%;
    padding: 40px;
    box-shadow: 1px -7px 14px rgba(0, 0, 0, 0.1);
}

.right_background {
    position: relative;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo_image {
    width: 140px;
    height: auto;
}

.sign_up_header {
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    color: #555555;
    margin-bottom: 25px;
}

/* Form Row Layout */
.form_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form_group {
    position: relative;
    width: 48%;
}

.form_group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #7cb138;
}

.form_group input,
.form_group textarea {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 8px;
    border: 1px solid #eeeeee;
    font-size: 15px;
    color: #555555;
    background-color: #eeeeee;
    max-height: 200px;
}

/* [dir="rtl"] .form_group input,
.form_group textarea {
    text-align: right;
} */

.form_group input:focus,
.form_group textarea:focus {
    border-color: #7cb138;
    background-color: #e8f4e3;
    outline: none;
}

.form_group textarea {
    resize: vertical;
    min-height: 80px;
}

.password_group .toggle-password {
    right: 15px;
    cursor: pointer;
}

/* Button Styling */
.sign_up_button {
    display: block;
    width: 100%;
    max-width: 140px;
    height: 40px;
    background: #7cb138;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 20px auto 0;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
}

.sign_up_button:hover {
    background: #69a22f;
}

/* Image Styling */
.mobile_login_image {
    max-width: 75%;
    height: auto;
}

.login_link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login_link a {
    color: #7cb138;
    text-decoration: none;
}

.login_link a:hover {
    text-decoration: underline;
}
/* Responsive Styles */
@media (max-width: 1024px) {
    .sign_up_container {
        flex-direction: column;
        width: 90%;
        padding: 1px;
        max-width: 100%;
        margin-top: 20px;
    }

    .left_background,
    .right_background {
        width: 100%;
        padding: 10px;
    }

    .right_background {
        display: none;
    }

    .form_row {
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 15px;
        gap: 10px;
    }

    .form_group {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .sign_up_container {
        max-width: 800px;
        margin-top: 20px;
    }

    .logo_image {
        width: 140px;
    }

    .sign_up_header {
        font-size: 24px;
        line-height: 28px;
    }

    .sign_up_button {
        max-width: 140px;
    }
}

@media (min-width: 1200px) {
    .sign_up_container {
        max-width: 1200px;
    }
}
