/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Main Content */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 50px;
    gap: 20px;
    /* margin-top: 100px; */
}

.signup-image {
    flex: 1;
    margin-top: 0;
    /* Reset or adjust if needed */
}

/* Ensure both containers take equal space */
.signup-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Make the image fill its container completely */
.signup-image img {
    width: 130%;
    height: 100%;
    object-fit: fill;
    /* Stretches the image to exactly match container dimensions */
    border-radius: 10px;
}



/* Bold Field Names */
.signup-container label {
    font-weight: bold;
    /* Makes field names bold */
}

/* Darker Placeholder Styling */
.signup-container input::placeholder,
.signup-container select::placeholder,
.signup-container textarea::placeholder {
    color: #666;
    /* Adjust to a darker shade for placeholders */
    font-weight: 500;
    /* Optional: slightly bold for better readability */
}

.signup-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #004080;
}

.signup-container label {
    display: block;
    margin: 10px 0 5px;
}

.required-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.signup-container select,
.signup-container input {
    width: 100%;
    padding: 10px 35px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.signup-container .select,
.signup-container .input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.signup-container .send_otp_btn,
.signup-container .validate_otp_btn {
    width: 30%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #007bff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.signup-container button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.signup-container button {
    background-color: #0059b3;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-container button:hover {
    background-color: #004080;
}

/* .relative {
  display: flex;
  align-items: center;
} */

/* .icon_present {
  display: flex;
  align-items: center;
} */


/* Skill and Experience Section */
.skill-experience-container {
    display: flex;
    gap: 15px;
}

.input-box {
    flex: 1;
}


/* Combined Checkboxes with single-line alignment */
.checkbox-combined {
    display: flex;
    justify-content: flex-start;
    /* Ensure alignment to the left */
    align-items: center;
    gap: 20px;
    /* Add some space between checkboxes */
}

.checkbox-combined input {
    margin-right: 10px;
}

.checkbox-combined label {
    display: inline;
}

.checkbox-combined a {
    text-decoration: none;
    color: #004080;
}

.checkbox-combined a:hover {
    text-decoration: underline;
}

/* Checkbox Container Styling */
.checkbox-container {
    display: flex;
    flex-direction: column;
    /* Ensures items stack vertically */
    align-items: flex-start;
    gap: 10px;
    /* Space between items */
    margin: 20px 0;
}

/* Styling for Legal Heading */
.checkbox-container h3 {
    font-weight: bold;
    /* Makes 'Legal' bold */
    font-size: 16px;
    /* Adjusts the size slightly */
    margin-bottom: 5px;
}

.checkbox-container h3 span {
    color: red;
    /* Red asterisk for mandatory indication */
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between checkbox and label */
}

.checkbox-item input {
    margin: 0;
    width: 18px;
    height: 18px;
    /* Standard size for checkboxes */
}

.checkbox-item label {
    font-size: 14px;
    color: #333;
}

.checkbox-item a {
    text-decoration: none;
    color: #004080;
}

.checkbox-item a:hover {
    text-decoration: underline;
}

/* Button Styling */
.action-button {
    background-color: #004080;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.action-button:hover {
    background-color: #0059b3;
}

/* toggle eye button */
/* Hide default password toggle in Edge/IE */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/* For newer Edge versions that might use different implementation */
::-webkit-credentials-auto-fill-button,
::-webkit-caps-lock-indicator,
::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    height: 0;
    width: 0;
    margin: 0;
}

/* Additional rules for mobile browsers */
input[type="password"]::-webkit-textfield-decoration-container {
    visibility: hidden;
}

input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-outer-spin-button,
input[type="password"]::-webkit-clear-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* For iOS Safari */
input[type="password"] {
    -webkit-text-security: disc !important;
}

/* Toggle completed */

.hide-on-desktop {
    display: none;
}

.signup-container select {
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .signup-container select {
        padding-left: 2.5rem !important;
        padding-right: 1rem !important;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        height: auto !important;
        line-height: 1.5 !important;
        -webkit-appearance: none;
        appearance: none;
        -moz-appearance: none;
    }
}

/* Media query for mobile */
@media only screen and (min-width: 320px) and (max-width: 768px) {

    /* Main Content Layout */
    .main-content {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: center;
        margin-top: 30px;
    }

    /* Top Image Container */
    .signup-image {
        display: block;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .signup-image img {
        width: 100%;
        height: 200px;
        /* Fixed height */
        object-fit: cover;
        /* Cover to ensure full width */
        object-position: center;
    }

    .hide-on-mobile {
        display: none;
    }

    /* Signup Container Styling */
    .signup-container {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        background-color: #fff;
        border-radius: 0;
        /* Remove border radius to make it flush */
        box-shadow: none;
        margin-top: -20px;
        /* Overlap with image slightly */
    }

    /* Rest of the CSS remains the same as your previous submission */
    /* OTP Button Specific Styling */
    .send_otp_btn,
    .validate_otp_btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Checkbox Container Modifications */
    .checkbox-container {
        margin-bottom: 20px;
    }

    .checkbox-container .checkbox-item {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        gap: 10px;
    }

    .checkbox-container .checkbox-item input[type="checkbox"] {
        margin: 0;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .checkbox-container .checkbox-item label {
        display: flex;
        align-items: center;
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
    }

    .checkbox-container .checkbox-item a {
        color: #007bff;
        text-decoration: none;
        margin-left: 5px;
    }

    /* Ensure single-line layout */
    .checkbox-combined {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .checkbox-combined .checkbox-item {
        display: flex;
        align-items: center;
        margin: 0;
    }

    /* Input and Select Styling */
    .input-wrapper,
    .select-wrapper {
        margin-bottom: 15px;
    }

    .input-wrapper input,
    .select-wrapper select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    /* Submit Button */
    .submit-button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border-radius: 5px;
        margin-top: 10px;
    }

    /* Labels */
    .signup-container label {
        display: block;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .required-label::after {
        content: " *";
        color: red;
        font-weight: bold;
    }
}