/* 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 */

#pet_price_group, .accordion-validation, #microchip_number_group,
#no_microchip_group, #pec_alert, #pec_details_group,
#health_issue_group, #vet_name_group, #vet_number_group,
#extra_vet_name_group, #extra_vet_number_group, #remove_vet_container,
#vet_add_container, #insurance_date, #insurance_reason,
#insurance_details, #price_change_alert, .price-update,
.total-amount, #direct_debit_guarantee, #pet_weight_group {
    display: none;
    opacity: 0;
    transition-property: display opacity;
    transition-duration: 0.3s;
    transition-behavior: allow-discrete;
}

#pet_price_group.show, .accordion-validation.show, #microchip_number_group.show,
#no_microchip_group.show, #pec_alert.show, #pec_details_group.show,
#health_issue_group.show, #vet_name_group.show, #vet_number_group.show,
#extra_vet_name_group.show, #extra_vet_number_group.show, #remove_vet_container.show,
#vet_add_container.show, #insurance_date.show, #insurance_reason.show,
#insurance_details.show, #price_change_alert.show, .price-update.show,
.total-amount.show, #direct_debit_guarantee.show, #pet_weight_group.show {
    display: block;
    opacity: 1;
    
    @starting-style {
        opacity: 0;
    }
}

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

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

#thankyou_dog_cat_img::after{
    content: "";
    width: 181px;
    height: 13px;
    background-size: 181px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    background-image: url("../assets/thankyou_underline.24304377a6c5.svg");
}

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

.tab-pane { 
    margin-top: 24px;
}

.extra-covers {
    text-align: left;
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.1s ease-out; 
}

.pricing-card:has(.btn-check:checked) .extra-covers {
    max-height: 357px;
}

.extra-covers p {
    font-size: 14px;
    font-style: normal;
    line-height: 21px;
    letter-spacing: -0.28px;
}

.extra-covers p span {
    font-weight: 500 !important;
}

.extra-covers .form-check-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.32px;
    position: relative;
    width: stretch;
}

.extra-covers .form-check-label span {
    float: right;
}

.extra-cover-title {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.32px;
}

#plan_comparison table th, #plan_comparison table td {
    background-color: transparent;
    border-color: #E7E8EF;
    border-bottom-width: 1px;
    padding-left: unset;
    padding-right: unset;
    padding-top: 4px;
    padding-bottom: 4px;
}

#plan_comparison table tbody th[rowspan] {
    vertical-align: middle;
    padding: 0;
    position: relative;
}

#plan_comparison table tbody th div{
    background-color: #E7E8EF;
    padding: 8px;
    font-weight: 600;
}

#plan_comparison table tbody th[rowspan] div {
    position: absolute;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
}

#plan_comparison table tbody td {
    text-align: center;
    vertical-align: middle;
}

#plan_comparison table thead th {
    border-bottom: unset;
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
}

#plan_comparison tr.with-divider th, #plan_comparison tr.with-divider td {
    border-bottom: 2px solid #414860;
}

#plan_comparison table tbody th div.primary {
    background-color: var(--progressbar-bg);
}

#plan_comparison table .icon {
    width: 40px;
    height: 40px;
    border: 3px solid;
    border-radius: 100%;
    display: flex;
    margin: auto;
    margin-bottom: 12px;
}

#plan_comparison table .icon img {
    margin: auto;
}

#plan_comparison table .icon.value {
    border-color: #A3D2E6;
}

#plan_comparison table .icon.standard {
    border-color: #F5E3EE;
}

#plan_comparison table .icon.premier {
    border-color: #F3F0CE;
}

#plan_comparison table .title.value {
    color: #1A8EC1;
}

#plan_comparison table .title.standard {
    color: #CD75AA;
}

#plan_comparison table .title.premier {
    color: #C19D31; 
}

#plan_comparison .plan-pws {
    text-align: center;
    font-weight: 600;
}

#plan_comparison .plan-pws a {
    text-decoration: underline;
    font-weight: 400;
    color: var(--progressbar-width-bg);
}

#plan_comparison .plan-pws.value {
    color: #1A8EC1;
}

#plan_comparison .plan-pws.standard {
    color: #CD75AA;
}

#plan_comparison .plan-pws.premier {
    color: #C19D31;
}

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

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

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

#payment_method_accordion {
    position: relative;
}

#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);
}

.quote-number img {
    width: 20px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.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, .total-amount,
.price-update {
    display: none;
    opacity: 0;
    transition: none;
}

.price-update-summary.show, .plan-container.show, .total-amount.show,
.price-update.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 {
    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;
}

.payment-method-title {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: unset;
}

#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>');
}

#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: 28px;
    height: 28px;
    background-size: 28px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 5%;
    top: 6%;
    background-image: url("../assets/claw_mark_2.cc49745d4c82.svg");
    transform: rotate(4deg);
}

#dog_cat_img::after {
    content: "";
    width: 46px;
    height: 46px;
    background-size: 46px !important;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 18%;
    top: 18%;
    background-image: url("../assets/paw.6e1f86ad33e4.svg");
    transform: rotate(-32deg);
}
