.current-openings {
    position: relative;
}

.current-openings h2 {
    font-size: var(--font-size-32);
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 30px 0;
    text-align: left;
}

.current-openings-background {
    background-color: var(--color-white);
    padding: 30px 20px 50px 20px;
    border-radius: 24px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.current-openings-form {
    background-color: var(--color-white);
    padding: 30px 20px 50px 20px;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.current-openings-form p{
    margin-bottom: 10px !important;
}
.current-openings-form .wpcf7{
    width: 100%;
}
.file-upload input{
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.current-openings-form form input {
    height: 40px;
    border: 1px solid var(--color-gray);
    border-radius: 10px;
    padding: 0 10px;
    width: 100%;
    font-size: var(--font-size-16);
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 10px;
    margin-top: 8px;
}

.current-openings-background h6 {
    font-size: var(--font-size-32);
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
}

.current-openings-background p {
    font-size: var(--font-size-20);
    font-weight: 400;
    color: #444444;
    margin: 0;
}


/* Style the container (the area around the button) */
input[type="file"] {
    background-color: transparent; /* Light gray background */
    padding: 0 0 !important;
    border-radius: 8px !important;
    color: #333; /* Color for the "No file chosen" text */
    font-size: 14px;
    border: 1px solid var(--color-gray) !important;
    cursor: pointer;
    height: 40px !important;
}

/* Style the actual "Upload File" button inside the input */
input[type="file"]::file-selector-button {
    background-color: #ffffff;
    color: #4c75a3; /* Bluish text color */
    padding: 8px 16px;
    border: 0px solid #ced4da;
    border-radius: 0px !important;
    cursor: pointer;
    font-weight: 500;
    margin-right: 15px;
    transition: background 0.2s;
    
}

/* Hover effect for the button */
input[type="file"]::file-selector-button:hover {
    background-color: #f8f9fa;
}
.current-openings-form textarea{
    height: 100px !important;
    width: 100% !important;
    border: 1px solid var(--color-gray) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    font-size: var(--font-size-16) !important;
    font-weight: 400 !important;
    color: var(--color-black) !important;
    margin-bottom: 10px !important;
    margin-top: 8px !important;
}
.current-openings .left-content{
    display: flex;
    flex-direction: column;
}
.current-openings .left-content .current-openings-background{
    height: 100%;
}
.submit_button input,
.current-openings-form input[type="submit"],
.current-openings-form .wpcf7-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: var(--font-size-16);
    font-weight: 300;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    width: auto;
    min-width: 120px;
}

.submit_button input:hover,
.current-openings-form input[type="submit"]:hover,
.current-openings-form .wpcf7-submit:hover {
    background-color: var(--color-primary-hover);
}

.submit_button input:focus,
.current-openings-form input[type="submit"]:focus,
.current-openings-form .wpcf7-submit:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(9, 185, 109, 0.3);
}
.wpcf7-mail-sent-ok {
    border: none !important;
}
@media (max-width: 767px) {
    .current-openings h2 {
        font-size: var(--font-size-24);
    }
    .current-openings-background {
        padding: 30px 20px 50px 20px;
    }
    .current-openings-background h6 {
        font-size: var(--font-size-24);
    }
    .current-openings-background p {
        font-size: var(--font-size-16);
    }
}
@media (max-width: 991px) {
    .current-openings h2 {
     margin: 20px 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .current-openings h2 {
        font-size: var(--font-size-24);
    }
    .current-openings-background {
        padding: 30px 20px 50px 20px;
    }
    .current-openings-background h6 {
        font-size: var(--font-size-28);
    }
    .current-openings-background p {
        font-size: var(--font-size-20);
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .current-openings h2 {
        font-size: var(--font-size-24);
    }
    .current-openings-background {
        padding: 30px 20px 50px 20px;
    }
    .current-openings-background h6 {
        font-size: var(--font-size-32);
    }
    .current-openings-background p {
        font-size: var(--font-size-20);
    }
}