/* Navbar */

.navbar {
    padding: unset;
    background-color: var(--navbar-bg);
}

.navbar .container-fluid {
    padding: 11px 16px;
}

.navbar .navbar-brand img {
    width: 111.73px;
}

.navbar .navbar-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    font-family: var(--font-header);
    color: var(--button-primary-bg);
    text-align: right;
    margin-bottom: unset;
}

/* Progress Bar */

.qnb-progressbar {
    width: 100%;
}

.progress {
    height: 8px;
    background-color: var(--progressbar-bg);
    border-radius: unset;
}

.progress-bar {
    background-color: var(--progressbar-width-bg);
    border-radius: 0 100px 100px 0;
}

/* Footer */

footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px 24px 24px;
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0 -5px 15px 0 rgba(31, 40, 68, 0.05);
    backdrop-filter: blur(13.591408729553223px);
    z-index: 1001;
}

footer .container {
    padding: 0;
}

footer .selected-plan {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: var(--letter-spacing-default);
}

body > footer {
    margin-top: auto;
}

footer .submit-invalid-feedback {
    display: none;
}

.footer-total {
    margin-bottom: 12px;
}

footer .price-update {
    text-align: right;
}

/* Extras */

#btn_add_pet svg {
    margin-top: -5px;
}

.pet-item-header {
    margin-bottom: .5rem;
    display: flex;
    justify-content: space-between;
}

.pet-item > .col-12:first-child hr {
    margin-top: 36px;
}

.pet-item {
    transition: opacity 0.5s ease, height 0.5s ease, margin 0.5s ease, padding 0.5s ease;
    overflow: hidden;
}

.pet-item.fade-out {
    opacity: 0;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pet-item.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.pet-price-group, .accordion-validation,
.pec-alert, .pec-details-group, .vet-name-group, 
.vet-number-group, .remove-vet-container, .add-vet-container,
.extra-vet-name-group, .extra-vet-number-group, .insurance-date,
.insurance-reason, .insurance-details, #direct_debit_guarantee,
.pricing-excess {
    display: none;
    opacity: 0;
    transition-property: display opacity;
    transition-duration: 0.3s;
    transition-behavior: allow-discrete;
}

.pet-price-group.show, .accordion-validation.show,
.pec-alert.show, .pec-details-group.show, .vet-name-group.show,
.vet-number-group.show, .remove-vet-container.show, .add-vet-container.show,
.extra-vet-name-group.show, .extra-vet-number-group.show, .insurance-date.show,
.insurance-reason.show, .insurance-details.show, #direct_debit_guarantee.show,
.pricing-excess.show {
    display: block;
    opacity: 1;
    
    @starting-style {
        opacity: 0;
    }
}

#confirmation_title, #thankyou_title {
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
}

#confirmation_title::after {
    content: "";
    width: 136px;
    height: 10px;
    background-size: 136px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 8px;
    bottom: -7px;
    background-image: url("../assets/confirmation_underline.6848e0a8cd56.svg");
}

#dog_cat_img, #thankyou_dog_cat_img {
    margin: auto;
    position: relative;
    width: fit-content;
}

#dog_cat_img::before {
    content: "";
    width: 40px;
    height: 40px;
    background-size: 50px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 16%;
    top: 14%;
    background-image: url("../assets/paw.6e1f86ad33e4.svg");
    transform: rotate(-46deg);
}

#dog_cat_img::after {
    content: "";
    width: 46px;
    height: 46px;
    background-size: 46px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: -3%;
    top: 23%;
    background-image: url("../assets/claw_mark_2.cc49745d4c82.svg");
    transform: rotate(98deg);
}

#thankyou_dog_cat_img::after{
        content: "";
    width: 46px;
    height: 46px;
    background-size: 46px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: -2%;
    top: 21%;
    transform: rotate(90deg);
    background-image: url("../assets/claw_mark_2.cc49745d4c82.svg");
}

#thankyou_dog_cat_img::before {
    content: "";
    width: 46px;
    height: 46px;
    background-size: 46px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 25%;
    top: 5%;
    background-image: url("../assets/paw.6e1f86ad33e4.svg");
}

.pricing-subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
}

.pricing-excess.show {
    margin-top: 26px;
}

.description {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

ul.description li:not(:last-child) {
    margin-bottom: 12px;
}

.accordion-validation {
    fill: #16A34A;
    margin-left: 10px;
    margin-top: -3px;
}

.pet-group, #payment_method_accordion {
    position: relative;
    overflow: hidden;
}

.pet-group .pet-gitem, .pet-gitem .pet-uq {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.pet-group .pet-gitem.active, .pet-gitem .pet-uq.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

#payment_method_accordion .accordion-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

#payment_method_accordion .accordion-item.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.nav-pills.nav-summary .nav-item .nav-link.active {
    background-color: #76BBDA;
}

.nav-pills.nav-summary {
    width: 100%;
}

.nav-pills.nav-summary .nav-item {
    width: 50%;
}

.nav-pills.nav-summary .nav-item .nav-link {
    width: 100%;
}

.summary-plan { 
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow-wrap: break-word;
}

.quote-number {
    margin-bottom: unset;
    max-width: 70%;
    font-size: var(--font-size-default);
    font-weight: 600;
    line-height: 20px;
    font-family: var(--font-header);
}

.plan-details {
    margin-left: auto;
}

.plan-details span {
    display: none;
}

.plan-details .btn::after {
    margin-left: unset;
    margin-bottom: 1px;
}


#collapse_summary {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: var(--letter-spacing-default);
    font-weight: 500;
}

#collapse_summary p {
    margin-bottom: 8px;
}

#collapse_summary .col-12 p:last-child {
    margin-bottom: unset;
}

#collapse_summary .col-12 p:first-of-type {
    width: 85%;
}

.summary-link {
    color: #15729A;
    text-decoration: underline;
}

.price-update-summary, .plan-container {
    display: none;
    opacity: 0;
    transition: none;
}

.price-update-summary.show, .plan-container.show {
    display: block;
    opacity: 1;
    transition-property: display opacity;
    transition-duration: 0.05s;
    transition-behavior: allow-discrete;
    
    @starting-style {
        opacity: 0;
    }
}

.accordion.white .accordion-item .accordion-header.active {
    border-radius: 6px 6px 0px 0px;
}

.accordion.white .accordion-header.active {
    background-color: #F5E3EE;
    border: 2px solid #D791BB;
    box-shadow: inset 0 0 0 4px #FFFFFF;
}

.accordion.white .accordion-body {
    border-radius: 8px;
}

.link-dark {
    float: right;
    margin-top: 3px;
    font-weight: 700;
    text-decoration: underline;
    color: var(----text-color);
}

.accordion-header.summary-pet-item .accordion-button, .summary-personal-details {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    padding: 8px 0px;
    font-family: var(--font-normal);
}

.summary-pet-details {
    margin-top: 22px;
}

.summary-pet-item .pet-image {
    width: 20px;
    margin-right: 6px;
}

#confirmation_logo {
    position: relative;
    width: fit-content;
    margin: auto;
}

#confirmation_logo::after {
    content: "";
    width: 24px;
    height: 24px;
    background-size: 24px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M20.0481 6.35147C20.5168 6.8201 20.5168 7.5799 20.0481 8.04853L10.4481 17.6485C9.97951 18.1172 9.21971 18.1172 8.75108 17.6485L3.95108 12.8485C3.48245 12.3799 3.48245 11.6201 3.95108 11.1515C4.41971 10.6828 5.17951 10.6828 5.64814 11.1515L9.59961 15.1029L18.3511 6.35147C18.8197 5.88284 19.5795 5.88284 20.0481 6.35147Z" fill="white"/> </svg>');
}

#review_container {
    position: relative;
}