@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: Poppins, sans-serif;
    width: 100%;
}

.main_container_form_field {
    display: flex;
    justify-content: center;
}

.main_container_form {
    border-bottom: 7px solid #193664;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* .form_container_inner{
    border: 2px solid red;
    
} */
.section-title {
    display: flex;
    gap: 0px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 60px 0;
}

.title-box {
    background-color: #193664;
    color: white;
    font-size: 32px;
    font-weight: 700;
    padding: 10px 235px;
    border-radius: 8px;
    white-space: nowrap;
}

.line {
    flex-grow: 1;
    height: 7px;
    background-color: #193664;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* form style start */

.form-container {
    width: 844px;
    background-color: white;
    padding: 20px;
}

.form-group {
    display: flex;
    /* align-items: center; */
    margin-bottom: 10px;
}
.form_group_label{
    margin-bottom: 10px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"] {
    flex: 1;
    padding: 18px;
    border: none;
    background-color: #f4f4f4;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input::placeholder {
    color: #193664;
    font-weight: 400;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border: 1px solid #193664;
    background-color: white;
}

/* Gender Section */
.gender-group {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

.gender-group span {
    color: #193664;
    font-weight: 400;
    font-size: 16px;
    margin-right: 10px;
}

.gender-group label {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.gender-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    font-size: 14px;
}

/* Two-column Layout */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

/* CNIC Input Half Width */
.cnic-group {
    flex: 0.5;
}

.form-group input[type="date"] {
    appearance: none;
}

.apply-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}
.gender-group .radio-options {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.gender-group label {
    font-weight: 500;
    color: #333;
}

.gender-group input[type="radio"] {
    margin-right: 6px;
}

.apply-text {
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.apply-button {
    background-color: #19345e;
    color: white;
    padding: 10px 35px;
    border: none;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    margin: 15px;
}

.apply-button:hover {
    background-color: #102742;
}

@media (max-width: 480px) {
    .main_container_form img {
        width: 260px;
    }
    .title-box {
        padding: 10px 100px !important;
        font-size: 16px !important;
        font-weight: 400 !important;

    }

    .apply-section {
        margin-top: 20px !important;
    }
    .apply-button{
        font-size: 16px !important;
        font-weight: 500 !important;
        padding: 8px 25px !important;
    }
}

@media screen and (max-width: 1024px) {
    .form-container {
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group input {
        width: 100%;
    }

    .gender-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .form-container {
        padding: 10px;
    }

    .form-row .form-group,
    .form-group,
    .cnic-group {
        width: 100% !important;
        flex: 1 !important;
    }

    .gender-group {
        flex-direction: column;
    }
}