.pstn-call-modal-wrapper {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pstn-call-modal-wrapper.d-none {
    display: none;
}

.pstn-call-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pstn-call-modal {
    overflow-y: auto;
    position: relative;
    width: 100%;
    max-height: 600px;
    max-width: 540px;
    background: #F7F7FB;
    border-radius: 24px;
    padding: 28px 24px 32px;
    z-index: 2;
    box-sizing: border-box;
}

.pstn-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
}

.pstn-top-handle {
    width: 52px;
    height: 6px;
    border-radius: 10px;
    background: #D8D8E2;
    margin: 0 auto 20px;
}

.pstn-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.pstn-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.pstn-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.pstn-info-box {
    background: #DDF2EC;
    border-radius: 8px;
    padding: 15px 12px;
    text-align: center;
    margin-bottom: 28px;
    color: #0F4C45;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.pstn-feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pstn-feature-item {
    display: flex;
    gap: 16px;
}

.pstn-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.pstn-feature-item h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.pstn-feature-item p {
    margin: 0;
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
}

.pstn-call-btn {
    width: 220px;
    height: 64px;
    border: 0;
    border-radius: 18px;
    margin: 32px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        90deg,
        #5B57D9 0%,
        #4B4FD1 100%
    );
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}

.pstn-call-btn:hover {
    opacity: 0.96;
}
/* max limit popup start */
.pstn-max-modal-content
{
    background: #fff;
    width: 444px;
    margin: auto;
    padding: 30px;
    border-radius: 24px;
    position: relative;
    text-align: center;
}
.pstn-max-modal-header
{
    padding-bottom: 10px;
}
.pstn-max-modal-body .pstn-ok-btn
{
margin: 20px auto 0;
cursor: pointer;
}
.pstn-max-modal-body p
{
    font-weight: 400;
    color: rgb(107, 114, 128);
    font-size: 16px;
    line-height: 1.6;
}
.pstn-max-modal-header .pstn-close-btn
{
    top: 8px;
    right: 16px;
    font-size: 20px;
    color: #5c5d5f;
}
.favourite-carer-container-nd .job-detail-block-rt .job-block-bottom
{
      flex-direction: column;
      margin-top: 15px;
}
.favourite-carer-container-nd .Both-contact-btn-and-masked-number-wrapper
{
    flex-direction: row-reverse;
}

@media (min-width: 1200px)
{
.favourite-carer-container-nd .job-detail-block-rt .job-block-bottom a.btn.button-pulse
{
 display: inline-flex;
 align-items: center;
}
}
/* max limit popup end */
@media (min-width: 768px) and (max-width: 991px)  
{
 .favourite-carer-container-nd .job-detail-block-rt .job-block-bottom a.btn
 {
    font-size: 12px;
        padding: 0 5px !important;
       
 } 
    .favourite-carer-container-nd .job-detail-block-rt .job-block-bottom .Both-contact-btn-and-masked-number-wrapper
     {
        gap: 3px;
     }  
     .favourite-carer-container-nd .job-detail-block-rt .job-block-bottom a.btn.button-pulse
{
 display: inline-flex;
 align-items: center;
}
}

@media (max-width: 767px) {
.favourite-carer-container-nd .job-detail-block-rt .job-block-bottom a.btn.redB-btn-lg ,
.favourite-carer-container-nd .job-detail-block-rt .job-block-bottom a.btn.job-block-btn-rt
 {
    font-size: 12px;
        padding: 0 5px !important;
        display: inline-flex;
 } 

     .favourite-carer-container-nd .job-detail-block-rt .job-block-bottom .Both-contact-btn-and-masked-number-wrapper
     {
      gap: 3px;
     }

    .pstn-call-modal {
        width: calc(100% - 20px);
        padding: 24px 18px;
        border-radius: 20px;
        max-height: calc(100% - 50px);
        overflow-y: auto;
    }

    .pstn-call-btn {
        width: 100%;
        font-size: 18px;
    }
    .pstn-max-modal-content
    {
    width: 95%;
    margin: auto;
    }
    .pstn-max-modal-header h2
    {
    font-size: 20px;
    }
     .favourite-carer-container-nd .Both-contact-btn-and-masked-number-wrapper .button-pulse.call-carer-btn {
        padding: 0 !important;
        letter-spacing: 0 !important;
    }

}


@media (max-width: 360px) 
{
    .favourite-carer-container-nd .job-detail-block-rt .job-block-bottom .Both-contact-btn-and-masked-number-wrapper
    {
        flex-wrap: wrap;
    }
}