
.modal-open .wrapper {
    filter: blur(10px);
}
/* === Bottom Sheet Modal Customization (Fixed) === */
.bottom-sheet-modal .modal-dialog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100vw;
    max-width: inherit;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
    transform: translateY(100%);
}

.bottom-sheet-modal.show .modal-dialog {
    transform: translateY(0);
    pointer-events: auto;
}
.modal-bottom-sheet .modal-content {
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.12);
    border: none;
    max-height: 90vh;
    height: 90vh;
    overflow-y: auto;
}
.modal-bottom-sheet .modal-header {
    border-bottom: none;
    padding: 40px 20px 20px;
}
.modal-bottom-sheet .modal-header .modal-title {
    font-size: 34px;
    font-weight: 400;
    text-align: center;
    letter-spacing: -1px;
    color: var(--black);
}
.modal-bottom-sheet .modal-content .modal-body {
    color: var(--black);
}

/* Optional: Add a drag handle for mobile look */
/* .bottom-sheet-modal .modal-content::before {
    content: '';
    display: block;
    width: 48px;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
    margin: 12px auto 16px auto;
    cursor: grab;
} */

/* Bottom sheet slide-up animation */
.bottom-sheet-modal .modal-dialog {
    animation: bottomSheetSlideUp 0.35s cubic-bezier(.4, 0, .2, 1);
}

@keyframes bottomSheetSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0.7;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Remove Bootstrap's default fade for this modal */
.bottom-sheet-modal.fade .modal-dialog {
    transition: none;
}

/* Modal bottom sheet flex layout for header/body/footer separation */
.modal-bottom-sheet .modal-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    height: 90vh;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -2px 24px rgba(0,0,0,0.12);
    border: none;
}

.modal-bottom-sheet .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}
.modal-bottom-sheet .modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    padding: 20px;
    border-top: 1px solid #C7CBD4;
}
.modal-bottom-sheet .modal-footer .enter-btn {
    background: none;
    border: none;
    color: var(--black);
    font-weight: 500;
    padding: 0;
    height: 45px;
}
.modal-bottom-sheet .modal-footer .or-label {
    margin: 0 40px;
}
.modal-bottom-sheet .modal-footer .btn-secondary {
    height: 45px;
    border-radius: 22.5px;
    min-width: 146px;
    background-color: var(--black);
    color: var(--white);
    font-weight: 500;
}
.modal-bottom-sheet .modal-footer .btn-primary {
    height: 45px;
    border-radius: 22.5px;
    min-width: 146px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}
.modal-bottom-sheet .modal-footer .btn-primary:hover {
    box-shadow: none;
}
.modal-bottom-sheet .modal-footer .btn-primary:focus {
    box-shadow: none;
}

/* Job profile dialog */

.job-profile-modal .modal-header {
    border-bottom: none;
    padding: 40px 20px 20px;
    display: block;
}
.job-profile-modal .modal-header .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.job-profile-modal .modal-header .modal-title {
    font-size: 34px;
    font-weight: 400;
    text-align: center;
    letter-spacing: -1px;
    color: var(--black);
}
.job-profile-modal .modal-header .btn-back {
    height: 45px;
    border-radius: 10px;
    width: 128px;
    border: 1px solid #8A8A8A;
    background-color: transparent;
    color: var(--black);
    font-weight: 500;
}
.job-profile-modal .modal-header .steps-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.job-profile-modal .modal-header .progress {
    height: 9px;
    width: 270px;
    background-color: #D9D9D9;
}
.job-profile-modal .modal-header .job-profile-step-label {
    color: var(--black);
    margin-right: 10px;
    font-size: 16px;
}
.job-profile-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
}
.job-profile-modal .modal-footer {
    flex-wrap: nowrap;
}
.job-profile-modal .modal-footer.step-6-footer {
    justify-content: space-between;
}
.job-profile-modal .modal-footer .job-profile-payment-note {
    color: #8A8A8A;
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 400;
    margin: 0;
    max-width: 60%;
}
.job-profile-modal .job-profile-step-content {
    max-width: 722px;
    width: 100%;
}
.job-profile-modal .job-profile-step-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}
.job-profile-modal .job-profile-step-content p {
    color: #8A8A8A;
    margin-bottom: 30px;
    font-size: 20px;
}
.job-profile-modal .job-profile-step-content .form-control {
    height: 66px;
    border-radius: 10px;
    border: 1px solid #EBEBEB;
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
}
.job-profile-modal .job-profile-step-content textarea.form-control {
    height: 177px;
}
.job-profile-modal .job-profile-step-content .form-control::placeholder {
    color: #C7CBD4;
    font-weight: 500;
    font-size: 16px;
}
.job-profile-modal .job-profile-step-content .down-para {
    font-size: 16px;
    margin-left: 20px;
}

/*Step-3 Css*/
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    gap: 15px;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li {
    border: 1px solid #8A8A8A;
    border-radius: 5px;
    padding: 10px 20px;
    position: relative;
    cursor: pointer;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li .active-check {
    display: none;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li:hover {
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #2F50DE, #1C8EC1) border-box;
    overflow: visible;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li.active {
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #2F50DE, #1C8EC1) border-box;
    overflow: visible;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li.active h4 {
    color: var(--black);
    font-weight: 500;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li.active .active-check {
    display: block;
    position: absolute;
    top: -15px;
    right: -10px;
    z-index: 2;
}
.job-profile-modal .job-profile-step-content .step-3 .skills-box ul li h4 {
    color: #8A8A8A;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
}

/*Step-4 Css*/
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box {
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box .upload-icon {
    margin-bottom: 20px;
}
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box h4 {
    font-size: 16px;
    font-weight: 500;
}
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box p {
    font-size: 14px;
    font-weight: 400;
}
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box p a {
    text-decoration: underline;
}
.job-profile-modal .job-profile-step-content .step-4 .upload-resume-box .bottom-bagde {
    font-size: 14px;
    font-weight: 400;
    color: #C7CBD4;
}
.upload-resume-box.dragover {
    border: 2px dashed #2346d8;
    background: #f0f6ff;
}

/*Step-5 Css*/
.job-profile-modal .job-profile-step-content .step-5 h3 {
    margin-bottom: 30px;
}
.job-profile-modal .job-profile-step-content .horizontal-line {
    margin: 40px 0;
}

/*Step-6 Css*/
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li {
    border: 1px solid #EBEBEB;
    border-radius: 5px;
    padding: 10px 20px;
    position: relative;
    cursor: pointer;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li .active-check {
    display: none;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active {
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    background:
        linear-gradient(#F3F5FF, #F3F5FF) padding-box,
        linear-gradient(90deg, #2F50DE, #1C8EC1) border-box;
    overflow: visible;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active h4 {
    color: var(--black);
    font-weight: 500;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .active-check {
    display: block;
    position: absolute;
    top: -15px;
    right: -10px;
    z-index: 2;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--black);
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li h4 {
    color: var(--black);
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 20px;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li .btn-secondary {
    background-color: #E9EDF0;
    border-color: #E9EDF0;
    border-radius: 22.5px;
    width: 100%;
    height: 45px;
    color: #444A4D;
    font-size: 16px;
    font-weight: 500;
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .btn-secondary {
    background-image: linear-gradient(to right, var(--primary-color) , var(--secondary-color));
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: var(--white);
}
.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .btn-secondary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 80, 222, 0.4);
}

.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .btn-secondary:hover::before {
    left: 100%;
}

.job-profile-modal .job-profile-step-content .step-6 .skills-box ul li.active .btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(47, 80, 222, 0.3);
}