/*-----------------------------------
service end notice: banner
-----------------------------------*/
.service-end-banner{
    background-color: #e8f1f9;
    border-top: 1px solid #cddfef;
    border-bottom: 1px solid #cddfef;
}
.service-end-banner__inner{
    display: flex;
    align-items: center;
    gap: 12px;
    width: 972px;
    margin: 0 auto;
    padding: 12px 0;
}
.service-end-banner__label{
    display: inline-block;
    flex: none;
    white-space: nowrap;
    background-color: #1a5fa8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 2px;
}
.service-end-banner__text{
    font-size: 14px;
    color: #14508c;
}
.service-end-banner__link{
    display: inline;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #14508c;
    text-decoration: underline;
    cursor: pointer;
}

/*-----------------------------------
service end notice: modal
-----------------------------------*/
.service-end-modal-overlay{
    position: fixed;
    z-index: 5000;
    inset: 0;
    background-color: rgba(15, 28, 44, .55);
}
.service-end-modal-overlay[hidden]{
    display: none;
}
.service-end-modal{
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 660px;
    background-color: #fff;
    box-shadow: 0 18px 50px rgba(10, 25, 45, .35);
    overflow: hidden;
}
.service-end-modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background-color: #1a5fa8;
}
.service-end-modal__title{
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}
.service-end-modal__close{
    flex: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
    color: #cfe0f0;
    cursor: pointer;
}
.service-end-modal__body{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px 30px 24px;
    font-size: 14px;
    line-height: 2;
    color: #333;
}
.service-end-modal__body p{
    margin: 0;
}
.service-end-modal__body strong{
    font-weight: 700;
    color: #1a5fa8;
}
.service-end-modal__body a{
    color: #1a5fa8;
    text-decoration: underline;
    font-weight: 500;
}
.service-end-modal__footer{
    display: flex;
    justify-content: center;
    padding: 0 30px 26px;
}
.service-end-modal__close-btn{
    min-width: 180px;
    border: none;
    border-radius: 3px;
    background-color: #5b6b7b;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 28px;
    cursor: pointer;
}
body.service-end-modal-open{
    overflow: hidden;
}

/*--Small screens--*/
@media only screen and (max-width: 767px){
    .service-end-banner__inner{
        width: auto;
        padding: 10px 14px;
        gap: 10px;
    }
    .service-end-banner__label{
        background-color: #1477c0;
        font-size: 10px;
        padding: 2px 7px;
    }
    .service-end-banner__text{
        font-size: 12.5px;
        line-height: 1.7;
    }
    .service-end-banner__link{
        display: inline-block;
        min-height: 44px;
        padding: 14px 2px;
        margin: -14px -2px;
    }
    .service-end-modal{
        top: 110px;
        left: 14px;
        right: 14px;
        width: auto;
        transform: none;
        box-shadow: 0 14px 40px rgba(10, 25, 45, .35);
    }
    .service-end-modal__header{
        padding: 11px 14px;
        background-color: #1477c0;
    }
    .service-end-modal__title{
        font-size: 15px;
        letter-spacing: normal;
    }
    .service-end-modal__close{
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin: -11px -14px -11px 0;
        font-size: 17px;
        color: #d5e8f6;
    }
    .service-end-modal__body{
        gap: 14px;
        padding: 16px 14px;
        font-size: 12.5px;
        line-height: 1.9;
    }
    .service-end-modal__body strong{
        color: #1477c0;
    }
    .service-end-modal__footer{
        padding: 0 14px 16px;
    }
    .service-end-modal__close-btn{
        width: 100%;
        min-width: 0;
        padding: 12px 0;
    }
}
