body {background-color: #ffffff !important;}

.single-post h2.wp-block-heading,
.single-post h3.wp-block-heading,
.single-post h4.wp-block-heading,
.single-post h5.wp-block-heading,
.single-post h6.wp-block-heading  {
    text-align: left;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.text-indent {
    text-indent: 40px;
}

.my-auto {
    margin: 0 auto;
}

/* General */
.custom-h1 {
    font-family: 'Source Sans Pro';
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #2E384D;
}
.display-none {display: none !important;}
.visible-on-desktop {display: block;}
.hide-on-tablet {display: none;}
.hide-on-desktop {display: none;}

.display-block {display: block !important;}
.custom-h1 a {color: #61CE70;}
.custom-text {color: #2E384D;}
.mb-0 {margin-bottom: 0 !important;}
.mb-5 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-15 {margin-bottom: 15px;}
.mb-20 {margin-bottom: 20px;}
.mb-30 {margin-bottom: 30px;}
.mt-20 {margin-top: 20px;}
.mxw-400 {max-width: 400px;}
.text-center,
.text-center-md {text-align: center;}
.text-green {color: #61CE70;}
.text-red {color: #FE4544;}
.d-block {display: block;}
.z-negative {z-index: -1;}
.py-60 {
    padding: 60px 0;
}
.text-right {
    text-align: right;
}
.pos-relative {
    position: relative;
}
.has-opacity {
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}
input:hover, input:focus, input:focus-visible {
    border: 1px solid rgba(207, 207, 207, 1);
    outline: none;
    box-shadow: none;
}
.disabled-checkbox {
    pointer-events: none;
    accent-color: black;
}

.full-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-loader.main-loader {
    z-index: 99999999;
}

.lds-dual-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #61ce70;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.lds-dual-ring::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border-left: 4px solid #33DDDD;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.order-by-society .full-loader {
    position: absolute;
}

/* Subheader */
.menu-sticky__form .home-form {
    display: flex;
    align-items: flex-start;
    column-gap: 34px;
    justify-content: flex-end;
}
.menu-sticky__form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 30px;
}
.subheader-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 2;
}
.subheader-menu {
    display: flex;
    align-items: center;
    min-height: 106px;
    border-bottom: 1px solid #DADADA;
    justify-content: space-between;
}
.subheader-menu.is-pined {
    box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.5) !important;
}

.total-rca__today {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    padding: 0 10px;
    width: 100%;
    height: 46px;
    max-width: 300px;
    align-items: center;
    text-align: center;
    color: #2E384D;
    column-gap: 6px;
}
.total-rca__today span {font-weight: 700;}
.recent-car__wrapper {
    display: flex;
    align-items: center;
    column-gap: 25px;
}
.recent-car__wrapper p {margin: 0;}
.recent-car__wrapper .home-form__link {
    display: flex;
    align-items: center;
    column-gap: 12px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
    cursor: pointer;
    position: relative;
}
.recent-car__wrapper .home-form__link::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    bottom: -4px;
    background-color: #2E384D;
}
.menu-sticky__form button.home-form__button {
    min-width: 187px;
    height: 45px;
    line-height: 0;
}
.custom-menu-sticky {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.5) !important;
}
input.home-form__input {
    width: 267px;
    height: 46px;
    border-radius: 7px;
    text-transform: uppercase;
    border: 1px solid #000000;
    color: #2E384D !important;
    font-weight: 600;
    font-size: 16px;
    padding-left: 40px;
    line-height: 25px;
    text-align: left;
}
#inmatriculare-error {
    display: block;
    margin-top: 3px;
    color: red !important;
}
input.home-form__input::placeholder {
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    line-height: 25px;
    color: #919191;
}
input.home-form__input:focus {
    border: 1px solid #000000;
    outline: none;
}
.inmatriculare-container {
    position: relative;
}
.home-form__element {position: relative}
.home-form__element img {
    position: absolute;
    left: 3px;
    top: 3px;
    min-width: 26px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    height: 40px;
}
.custom-hero-background {
    z-index: 9;
}

/* Custom form */
.wrapper-custom__form {
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    max-width: 640px;
    width: 100%;
    padding: 30px;
    z-index: 99;
}
.wrapper-custom__form .btn-link {color: #33DDDD;}
.wrapper-custom__form .home-form__button {
    min-width: 187px;
    height: 45px;
    line-height: 0;
}
.wrapper-custom__form .buttons {
    display: flex;
    align-items: center;
    column-gap: 25px;
}
.wrapper-custom__form .buttons div {
    display: flex;
    align-items: center;
    gap: 20px;
}
.wrapper-custom__form .home-form__link {
    color: #2E384D;
    display: flex;
    align-items: center;
    column-gap: 15px;
    position: relative;
}
.wrapper-custom__form .home-form__link::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #2E384D;
    position: absolute;
    left: 0;
    bottom: -4px;
}
.wrapper-custom__form .home-form__link p {
    margin: 0;
    padding: 0;
}
.before-line {position: relative}
.before-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 120px;
    width: 20px;
    min-height: 2px;
    height: 2px;
    background-color: #2E384D;
    display: block;
}
.before-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 120px;
    width: 20px;
    min-height: 2px;
    height: 2px;
    background-color: #2E384D;
    display: block;
}
.before-line:first-of-type::before {left: 15px;}

.before-line:last-of-type::after {right: 15px;}

/* Reviews */
.custom-image-reviews-w figure img {min-width: 50px;}

/* Acordeon */
.custom-acordeon-border .elementor-accordion-item {border-bottom: 1px solid #CFCFCF !important;}


/* Reviews */
.review-item {
    background: #FFFFFF;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding: 30px;
}
.review-user {
    display: flex;
    align-items: center;
    column-gap: 12px;
    margin-bottom: 30px;
}
.review-stars {
    margin-bottom: 30px;
    display: flex;
}
.review-stars .star-rating {
    color: #FFEA30;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
}
.review-stars .star-rating i.fa-star-o {color: #CBCBCB;}
.review-content {
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
    margin-bottom: 26px;
}
.review-content * {margin: 0;}
.review-content p {
    margin-bottom: 16px;
}
.review-content p:last-of-type {
    margin-bottom: 0;
}
.review-user img {
    width: 56px;
    height: 56px;
    border-radius: 100%;
    object-fit: cover;
}
.review-footer {
    display: flex;
    align-items: center;
    column-gap: 20px;
    justify-content: space-between;
    margin-top: auto;
}
.review-footer__date {
    color: #CFCFCF;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
}
.review-footer__socials {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
.review-wrapper .slick-track {
    display: flex !important;
    margin-bottom: 30px;
}

.review-wrapper .slick-slide {
    margin: 10px 20px;
    height: inherit !important;
    display: flex;
    flex-direction: column;
}
.review-wrapper .review-user__name {
    color: #2E384D;
    font-weight: 600;
}
.review-wrapper .slick-list {
    margin: 0 -20px;
}
.review-wrapper .slick-dots {
    padding: 20px 0 0 0;
    margin: 0;
    display: flex;
    align-items: center;
    width: calc(100% - 240px);
}
.review-wrapper .slick-dots li {
    list-style: none;
    padding: 0;
    width: 25%;
    height: 2px;
}
.review-wrapper .slick-dots li button {
    font-size: 0;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    height: 2px;
    width: 100%;
    background-color: #D6D6D6;
}
.review-wrapper .slick-dots li.slick-active button {background-color: #61CE70;}
.submit-reviews-wrapper {
    justify-content: flex-end;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-top: -20px;
    cursor: pointer;
}

.submit-reviews-wrapper > div {
    position: relative;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.submit-reviews-wrapper > div:after {
    content: "";
    width: 100%;
    height: 1.5px;
    display: block;
    background-color: #D6D6D6;
    position: absolute;
    left: 0;
    bottom: -7px;
}

/* add review modal */
.add-review-modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    padding: 0 20px;
    z-index: 999;
}
.add-review-modal::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: .8;
    display: block;
    left: 0;
    top: 0;
    z-index: -1;
}
.add-review-wrapper {
    max-width: 414px;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding: 40px;
}
.add-review__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.add-review__header img {cursor: pointer;}
.add-review-message {
    text-align: center;
    font-size: 18px;
}
.add-review-close__modal {
    max-width: 200px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #61CE70 !important;
    border-radius: 25px;
    border: 1px solid #61CE70;
    margin-top: 25px;
    background-color: #ffffff !important;
}
.add-review-message.success {color: #2f9147;}
.add-review-message.error {color: red;}
.add-review-wrapper h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #2E384D;
}
.add-review-wrapper label {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
    display: block;
    margin-bottom: 8px;
}
.add-review-wrapper #add-review__name-error,
.add-review-wrapper #add-review__message-error {
    color: red;
    font-size: 14px;
}
.add-review__name {margin-bottom: 20px;}
.add-review__message {margin-bottom: 30px;}
.add-review-wrapper button {
    max-width: 100%;
    height: 45px;
    width: 100%;
    padding: 0;
    line-height: initial;
}
.add-review-wrapper input:hover,
.add-review-wrapper input:focus {
    outline: none;
    background: #F6F6F6;
    border: 1px solid #F1F1F1;
}
.add-review-wrapper input,
.add-review-wrapper textarea {
    width: 100%;
    background: #F6F6F6;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    resize: none;
}
.add-review__rating {
    margin-bottom: 20px;
}
div.rating-wrapper {
    display: flex;
    align-items: first baseline;
    flex-direction: column;
    margin-top: 10px;
}
div.star-wrapper {font-size: 24px;}
.add-review-modal .star-wrapper i {cursor: pointer;}
div.star-wrapper i.yellow {color: #FDD835 !important;}
.home-ensures__card div.star-wrapper i.yellow {color: #61CE70 !important;}
div.star-wrapper i.fa-star {color: #CBCBCB;}
div.star-wrapper i.vote-recorded {color: #F57C00 !important;}
.ensure-rating .star-wrapper {
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.home-ensures__row .ensure-rating .link-rview {
    color: #2E384D;
}
.rating-error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
.add-review-image-success {
    text-align: center;
    margin-bottom: 25px;
}


/* Single asigurator */
.single-asigurator .ast-container {padding: 0 !important;}
.container-xl {
    padding: 0 20px;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    width: inherit;
}
.ensure-wrapper h1 {
    text-align: center;
    margin-bottom: 60px;
}
.ensure main {
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    padding: 60px;
    margin-top: 80px;
}
.ensure main p:last-of-type {
    margin-bottom: 0;
}
.ensure-wrapper {
    margin-bottom: 60px;
}
.single-ensure .ensure-wrapper {
    margin-bottom: 0;
}
.ensure {padding: 60px 0;}
.ensure-card {
    display: flex;
    justify-content: space-between;
    padding: 60px;
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    margin-bottom: 60px;
    grid-gap: 40px;
}

.ensure-header {
    text-align: center;
    min-width: 170px;
}
.ensure-logo {margin-bottom: 20px;}
.ensure-rating .rating-wrapper {
    margin-bottom: 20px;
    align-items: center;
}
.ensure-rating .rating-wrapper i {pointer-events: none;}
.ensure-offer__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.ensure-body {
    min-width: 215px;
}
.ensure-offer__list li {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-bottom: 12px;
}
.ensure-offer__list li span {
    display: flex;
    text-align: left;
}

.ensure-body__content p:last-of-type {
    margin-bottom: 0;
}
.single-ensure .ensure-body__content p {
    color: #2E384D;
}
.single-ensure .ensure-body__content a {
    display: block;
    margin-top: 12px;
}
.ensure main p {margin-bottom: 20px !important;}
.ensure-body__content {
    color: rgba(46, 56, 77, 0.6);
    font-size: 16px;
    line-height: 20px;
    max-width: 300px;
}
.ensure-footer {
   max-width: 413px;
}
.ensure-offer__list li:last-child {margin-bottom: 0;}
.ensure-footer__excerpt {margin-bottom: 40px;}
.ensure-footer__link {
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 16px;
    background-color: #61CE70;
    line-height: 20px;
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    color: #FFFFFF !important;
    border-radius: 25px;
}

/* Asiguratori pagina de acasa */
.home-ensures__card {}
.home-ensures__row {
    display: grid;
    grid-template-columns: .6fr 1fr;
    column-gap: 40px;
    padding: 40px 30px;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    align-items: center;
    height: 100%;
}
.home-ensures__row .star-wrapper {
    font-size: 20px;
    column-gap: 3px;
}
.ensure-body__link {
    display: flex;
    max-width: 186px;
    height: 45px;
    font-weight: 700;
    justify-content: center;
    font-size: 16px;
    line-height: 20px;
    align-items: center;
    text-align: center;
    color: #FFFFFF !important;
    background: #61CE70;
    border-radius: 49px;
    margin-top: 40px;
}
.home-ensures__row .ensure-header {
    min-width: 100%;
}
.home-ensures__row .ensure-body {
    min-width: 230px;
    margin-left: auto;
}
.home-ensures__row .ensure-logo img {
    margin-left: auto;
    margin-right: auto;
    /*height: 37px;*/
    object-fit: contain;
    object-position: center ;
}
.home-ensures .slick-track {
    display: flex !important;
}
.home-ensures .slick-slide {
    margin: 10px 20px;
    height: inherit !important;
    display: flex;
    flex-direction: column;
}

/* Contact page */
.wpcf7-form input,.wpcf7-form textarea {
    width: 100%;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    background-color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D !important;
}
.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 14px;
    margin-top: 3px;
    margin-left: 8px;
}
.wpcf7-form p:last-of-type {
    margin-bottom: 0;
    position: relative;
}
.wpcf7-form .wpcf7-response-output {
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
}
.wpcf7-form.invalid .wpcf7-response-output {
    color: #dc3232;
}
.wpcf7-form .wpcf7-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus {
    outline: none !important;
    border: 1px solid #61CE70 !important;
    box-shadow: none !important;
}
.wpcf7-form[data-status="sent"] .wpcf7-response-output {
    color: #2f9147 !important;
}
.custom-hero-background {
    /*overflow: hidden;*/
    position: relative;
}
.custom-hero-background::before {
    content: '';
    width: 100vw;
    height: 115%;
    display: block;
    background-image: url("/wp-content/themes/astra-child/images/hero-car-parashute.webp");
    background-position: bottom left;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 99;
    bottom: -15px;
    left: -100px;
    background-size: contain;
}
/**=============  HOME PAGE END  =====================*/

/**============= CALCULATOR PAGE =====================*/
/* ==== RCA Steps ==== */
.progres {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px auto;
    max-width: 760px;

}

.progres__step {
    display: flex;
    align-items: center;
}

.progres__box {
    width: 25%;
}

.progress__line {
    width: 100%;
    height: 1px;
    background-color: #CFCFCF;
}
.progres .progres__box .progres__step {
    position: relative;
}
.progres .progres__box:first-of-type .progres__step .progress__line:first-of-type,
.progres .progres__box:last-of-type .progres__step .progress__line:last-of-type {
    background-color: #FFFFFF;
}
.progress__circle {
    min-width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 1px solid #CFCFCF;
    color: #7A7A7A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progres__info {
    text-align: center;
    margin-top: 5px;
}

.progress__line_done {
    background-color: #61CE70;
}

.progress__circle_done {
    background-color: #61CE70;
    border: none;
    background-image: url("/wp-content/themes/astra-child/images/svg-icons/step-mark.svg");
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.progres .progres__box.is-mark .progress__circle_done::after {
    content: attr(data-active);
    position: absolute;
    min-width: 27px;
    min-height: 27px;
    background-image: none;
    background-color: #61CE70;
    border-radius: 50%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: 700;
    top: 50%;
    left: 50%;
    font-size: 18px;
    transform: translate(-50%, -50%);
}
.progres .progres__box.is-mark .progress__circle_done::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url("/wp-content/themes/astra-child/images/svg-icons/mark-down-step.svg");
    background-repeat: no-repeat;
    z-index: 9;
    top: -12px;
    left: 8px;
}

/* ==== End RCA Steps ==== */

.calculator {
    padding: 60px 0;
}
.calculator h1 {
    margin-bottom: 50px;
    text-align: center;
}
.calculator .intro h1 {
    margin-bottom: 20px;
}
.calculator .intro {
    margin-bottom: 50px;
}
.calculator .intro h3 {
    font-size: 20px;
}
    /* Rca Form */
.rca-form section.content {
    padding: 60px;
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    /*margin-bottom: 60px;*/
}
.rca-form section.content:last-of-type {
    margin-bottom: 0;
}
.hide-form {
    display: none;
    /*overflow: hidden;*/
    /*opacity: 0;*/
    /*height: 0;*/
    /*padding: 0 !important;*/
}
.show-form {
    display: block;
    /*overflow: visible;*/
    /*height: fit-content;*/
    /*opacity: 1;*/
}
.final__buttons {
    display: flex;
    align-items: center;
    column-gap: 20px;
}
.rca-form h2 {
    margin-bottom: 25px;
}
.rca-form__header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    margin-bottom: 20px;
    grid-column-gap: 20px;
}
.rca-form__header .rca-form__step {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    text-align: right;
    color: #C1C1C1;
}
.rca-form__header p {
    margin-bottom: 0;
}
.rca-form__body {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 400px);
    grid-column-gap: 100px;
}
.rca-form__type-person {
    grid-column-gap: 0 !important;
}
#leasing-new.rca-form__body {
    row-gap: 30px;
}
.rca-form__body .element input,
.rca-form__body .element select,
.rca-form__body .element .select-container {
    width: 100%;
    /*border: 1px solid #CFCFCF;*/
    border-radius: 10px;
    background-color: #ffffff;
    min-height: 48px;
}
.rca-form__body .element input {
    color: #000 !important;
}

.rca-form .select2-selection__rendered[title="Alege"],
.rca-form .select2-selection__rendered[title="ALEGE"] {
    color: #666 !important;
}

.rca-form select[aria-invalid="false"]{
    color: #000 !important;
}

.rca-form__body .element .select2,
.rca-form__body .element .select2-selection--single {
    /*height: 48px;*/
    /*border: 1px solid #CFCFCF;*/
    width: 100% !important;
    outline: none;
    border-radius: 10px;
    /*color: #000000 !important;*/
}
.rca-form__body .element .select2-selection--single {
    height: 48px;
}
.rca-form__body .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 12px;
    padding-right: 50px;
}
.calculator .select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url("/wp-content/themes/astra-child/images/svg-icons/select-icon.svg");
    background-color: transparent;
    background-size: contain;
    border: none !important;
    height: 11px !important;
    width: 11px !important;
    margin: auto !important;
    background-repeat: no-repeat;
    background-position: center;
    top: 50% !important;
    transform: translateY(-50%);
    left: -3px !important;
}
.rca-form__body .select2-selection--single .select2-selection__arrow {
    height: 48px;
}
.rca-form__body .element input:not(#serie_sasiu):is(:focus, :hover),
.rca-form__body .element select:not(#serie_sasiu):is(:focus, :hover) {
    outline: none !important;
    border: 1px solid #CFCFCF !important;
}
.rca-form__body .element-box {
    margin-bottom: 20px;
    /*max-width: 100%;*/
}
.rca-form__body .element-box.column-1 {
    grid-column: 1 / span 2;
}
.rca-form__body .grid-container__small_two.column-full {
    grid-column: 1 / span 3;
}
.autocomplete__hide-block {
    display: none;
    height: 0;
    /* overflow: hidden; */
    z-index: -1;
    background: #ffff;
    position: relative;
    transition: ease 0.5s;
}
.autocomplete__hide-block.active {
    display: block;
    height: auto;
    /*overflow: auto;*/
    z-index: 1;
    background: transparent;
    transition: ease 0.5s;
}
.rca-form__body .element-box:last-of-type {
    margin-bottom: 0;
}
.rca-form__body.first .element-box .element {
    grid-template-columns: minmax(auto, 220px) 1fr;
    grid-column-gap: 30px;
}
.rca-form__type-person.first .element-box .element {
    grid-template-columns: 180px 1fr;
    column-gap: 25px;
}
.rca-form__type-person.first .element-box.last-item .element {
    grid-template-columns: 1fr 1fr;
}
.rca-form__type-person .two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
}
.rca-form__type-person .two-column .element {
    grid-template-columns: 100px;
}
.rca-form__type-person .two-column .element__wrap {
    justify-content: flex-end;
}
.rca-form__body .element-box .element{
    display: grid;
    align-items: center;
    grid-template-columns: 100px 1fr;
    justify-content: space-between;
    grid-column-gap: 20px;
}
.rca-form__body .grid-container__small_row .element--start {
    align-items: flex-start !important;
}
.rca-form__body .grid-container__small_row .element.big-gap {
    column-gap: 30px !important;
}
.rca-form__body .element-box label[for="data_expirare_itp"],
.rca-form__body .element-box label[for="prima_inmatriculare"]{
    /*transform: translateY(18px);*/
}
.rca-form__column_two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
}
.rca-form__column_two.new-column .element {
    grid-template-columns: 100px 1fr;
}
.rca-form__column_two input:not(.select2-search__field),
.rca-form__column_two select,
.rca-form__column_two .select2{
    min-width: 180px;
}
.rca-form__column_two .element__full {
    grid-column: 1 / span 2;
}
.element-new__row.there__columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column: 1 / span 2;
    grid-column-gap: 20px;
}
.element-new__row.there__columns .element-box .element {
    grid-template-columns: 70px 1fr;
}
.element-new__row.there__columns .element-box:first-of-type .element {
    grid-template-columns: 100px 1fr;
}
.element-new__row.there__columns input:not(.select2-search__field) {
    min-width: 100px;
}
.rca-form__footer .element-box.last-item {
    grid-column: 1 / span 2;
}
.rca-form__footer .element-box.last-item input {
    max-width: 297px;
    margin-left: auto;
    display: block;
}

.rca-form__bottom.leasing .grid-container #leasing-exists {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
}
.rca-form__body .element-box select {
    background: url("/wp-content/themes/astra-child/images/svg-icons/select-icon.svg") no-repeat right;
    -webkit-appearance: none;
    background-position-x: calc(100% - 12px);
}

select#etaj,
select#etaj_leasing {
    width: auto !important;
    min-width: 100px;
    max-width: 100px;
}

#etaj-parent .select2-container,
#etaj_leasing-parent .select2-container{
    width: auto !important;
    min-width: 100px;
    max-width: 100px;
}

.rca-form .element-box .element__wrap {
    display: flex;
    align-items: center;
    column-gap: 2px;
    /*margin-bottom: 4px;*/
}
.rca-form .element-box .element__wrap label {
    margin-bottom: 0;
}
.rca-form .element-box label {
    display: inline-block;
    /*margin-bottom: 4px;*/
}

.rca-form .append-error label.error {
    color: red;
    font-size: 16px;
    margin-top: 5px;
    grid-column: 1  / span 2;
}
.append-error {
    position: relative;
}
/*TODO - remove the next code*/
.append-error img {
    position: absolute;
    right: 40px;
    top: 12px;
}
.append-error img.small {
    right: 6px;
    top: 14px;
}
/*------- Until here ---------*/
.rca-form #tip_persoana-error {
    margin-top: 10px;
}
/*#cod_postal-error {*/
/*    margin-top: -15px;*/
/*}*/

/*.rca-form .append-error #masa_maxima-error,*/
/*.rca-form .append-error #capacitate_cilindrica-error,*/
/*.rca-form .append-error #an_fabricatie-error {*/
/*    margin-top: -20px;*/
/*}*/
.grid-container__select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 20px;
    margin-bottom: 25px;
}
.grid-container__select .condition-radio {
    position: relative;
    cursor: pointer;
}
.grid-container__select .condition-radio label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    display: block;
    cursor: pointer;
    width: 100%;
}
.rca-form__body .grid-container__select input {
    width: 100% !important;
    min-height: 45px;
    display: block;
    border-radius: 25px;
    outline: none !important;
    border: none !important;
    background-color: #DADADA;
}
/*#leasing-exists,*/
#leasing-new,
.conducatori {
    display: none;
}
#leasing-exists:not(.display-none) {
    display: grid !important;
}

.element-person__type {
    margin-bottom: 30px;
}
.element-person__type .element div {
    display: flex;
    align-items: center;
    column-gap: 8px;
    position: relative;
    width: 100%;
}
.element-person__type .element div label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    display: block;
    cursor: pointer;
    width: 100%;
}
.element-person__type .element input {
    width: 100%;
    height: 45px;
    border-radius: 25px;
    border: none !important;
    outline: none !important;
    background-color: #d5d5d5;
}
.element-person__type .element > div {
    column-gap: 40px;
}

.element-leasing__type .element {
    display: grid;
    grid-template-columns: 1fr .5fr;
    align-items: center;
    justify-content: space-between;
}
.rca-form__bottom {
    display: grid;
    grid-template-columns: 1fr .8fr;
    column-gap: 40px;
}
.rca-form__bottom .grid-container {
    display: grid;
    grid-template-columns: 1fr;
}

/*Strada + cod postal*/
.strazi-div,
.strazi-div-leasing {
    position: absolute;
    background-color: #fff;
    right: 0;
    left: 0;
    z-index: 9;
    padding: 10px 10px 5px;
    min-height: 50px;
    max-height: 140px;
    overflow-y: scroll;
    border: 1px solid #dddddd;
}

.strazi-div a,
.strazi-div div,
.strazi-div-leasing a,
.strazi-div-leasing div {
    color: #2E384D;
    display: block;
    width: 100%;
    padding-bottom: 4px;
    margin-bottom: 2px;
    cursor: pointer;
}

.strazi-div div:not(:last-child),
.strazi-div-leasing div:not(:last-child) {
    border-bottom: 1px solid #cdcdcd;
}

/** Example talon */
.example-talon {
    background-color: #f1f8fe;
    padding: 10px 5px;
    height: fit-content;
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
}
.example-talon h4 {
    text-align: center;
    font-size: 18px;
}
.example-talon__grid {
    display: flex;
    border: none;
}
.example-talon td .active {
    outline: 1px solid #FE4544;
    outline-offset: 2px;
    color: #FE4544;
}
.example-talon__grid table {
    border: none;
    padding: 0;
    margin: 0;
}
.example-talon__grid table tr,
.example-talon__grid table td {
    padding: 0;
    font-size: 14px;
    line-height: 15px;
}
.example-talon__grid .example-talon__left {
    background-color: #eeeeff;
}
.example-talon__grid .example-talon__right {
    background-color: #fffdbf;
    max-height: 230px;
}
.full-height-color {
    background-color: #fffdbf;
}
.example-talon__heading {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 15px;
    justify-content: center;
}
/*.example-talon__grid .example-talon__left td {*/
/*    padding-bottom: 15px;*/
/*    padding-left: 10px;*/
/*}*/
.example-talon__grid .example-talon__right td {
    padding: 5px;
    white-space: nowrap;
}
.example-talon__grid .example-talon__left td {
    padding: 5px 5px 5px 10px;
    border: none;
}
.example-talon__grid .example-talon__left tr td:last-of-type {
    padding: 0 5px;
}
.rca-form__footer h2 {
    margin-bottom: 50px;
}
.grid-container__small {
    display: grid;
    grid-template-columns: 1fr;
    /*grid-column-gap: 40px;*/
}
.grid-container__small_row {
    display: grid;
    grid-template-columns: minmax(auto, 220px) 120px 1fr;
    align-items: center;
    margin-bottom: 20px;
    grid-column-gap: 30px;
}

.rca-form__body .grid-container__small_row .element {
    display: grid;
    grid-template-columns: 1fr 120px !important;
    grid-column-gap: 10px !important;
}
.rca-form__body .grid-container__small_two {
    grid-column: 1 / span 2;
}
.rca-form__body .grid-container__small_two .element-box {
    margin-bottom: 0;
}
.rca-form__body .grid-container__small_two .element__wrap {
    justify-content: space-between;
    display: grid;
    grid-template-columns: minmax(auto, 220px) 1fr;
    grid-column-gap: 30px;
    width: 100%;
}
.rca-form__body .grid-container__small_two .element {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
}
.rca-form__body .grid-container__small_two .element input,
.rca-form__body .grid-container__small_two .element select {
    min-width: 113px;
    max-width: 100%;
    /*margin-left: auto;*/
}
.element-small__tag {
    max-width: 120px;
    width: 100%;
    display: block;
    line-height: 16px;
}

input[type="radio"] {
    /* Hide the default radio button */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Create a custom radio button */
    min-width: 14px;
    height: 14px;
    border: 1px solid rgba(97, 206, 112, 1);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

/* Change the border color when the radio button is checked */
input[type="radio"]:checked {
    outline: 1px solid rgba(97, 206, 112, 1); /* Replace with your desired border color */
    background-color: rgba(97, 206, 112, 1);
    border: none;
    outline-offset: 2px;
}

/*this is for disabled radio button*/
input[type="radio"]:disabled {
    background-color: #ccc;
    border: 1px solid red;
}

/*this is for a radio button immediately after a disabled one*/
input[type="radio"]:disabled + input[type="radio"] {
    background-color: rgba(97, 206, 112, 1);
    border: 1px solid rgba(97, 206, 112, 1);
}

.rca-form .element-person__type label {
    margin-bottom: 0 !important;
    cursor: pointer;
}
.rca-form__policy .discount input[type="checkbox"] {
    position: relative;
    width: 50px;
    height: 30px;
    -webkit-appearance: none;
    background: #cccccc;
    outline: none;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.2);
    transition: 0.7s;
    cursor: pointer;
}

.rca-form__policy .discount #decontare {
    margin-top: 10px;
}

.rca-form__policy .discount input:checked[type="checkbox"] {
    background: rgba(97, 206, 112, 1);
}

.rca-form__policy .discount input[type="checkbox"]:before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 3px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: .5s;
}


.accept-terms__wrapper {
    width: 100%;
    max-width: 521px;
    margin-bottom: 30px;
}

.accept-terms__wrapper input[aria-invalid="true"] {
    border: 2px solid red !important;
}

.accept-terms__wrapper input[type=checkbox] {
    position: relative;
    border-radius: 4px;
    border: 1px solid #CFCFCF;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 20px;
    width: 20px;
    -webkit-appearance: none;
    opacity: .5;
}

.accept-terms__wrapper input[type=checkbox]:hover {
    opacity: 1;
}

.accept-terms__wrapper input[type=checkbox]:checked {
    background-color: #61CE70;
    opacity: 1;
}
#accept_terms-error {
    display: block;
    margin-top: 4px;
}

.accept-terms__wrapper input[aria-invalid="true"] {
    border: 2px solid red;
}
.accept-terms__wrapper input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px -1px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

.rca-form__policy .discount input:checked[type="checkbox"]:before {
    left: 20px;
}

.rca-form__policy .checkbox-item input[type=checkbox] {
    position: relative;
    border-radius: 4px;
    border: 1px solid #CFCFCF;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    height: 20px;
    width: 20px;
    -webkit-appearance: none;
    opacity: .5;
}

.rca-form__policy .checkbox-item input[type=checkbox]:hover {
    opacity: 1;
}

.rca-form__policy .checkbox-item input[type=checkbox]:checked {
    background-color: #61CE70;
    opacity: 1;
}

.rca-form__policy .checkbox-item input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px -1px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

.rca-form__info {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 30px;
    height: fit-content;
    margin-top: 40px;
    position: absolute;
    right: 0;
    width: 100%;
}
.rca-form__info h3 {
    color: rgba(97, 206, 112, 1) !important;
}
.info-car__inmatriculation {
    padding: 30px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
}
.info-car__inmatriculation h3 {
    margin-bottom: 20px;
    color: rgba(97, 206, 112, 1) !important;
}
.info-car__inmatriculation ul {
    margin-bottom: 0;
}
.info-car__inmatriculation li {
    margin-bottom: 12px;
}
.info-car__inmatriculation li.active {
    margin-left: -30px;
}
.info-car__inmatriculation li.active strong {
    color: green;
}
.info-car__inmatriculation li::marker {
    background-color: rgba(97, 206, 112, 1) !important;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    padding-bottom: 10px;
}
.info-car__inmatriculation li:last-child {
    margin-bottom: 0;
}
.info-car__inmatriculation strong {
    color: rgba(97, 206, 112, 1)
}

.rca-form__footer .rca-form__body,
.content-wprapper .rca-form__bottom{
    grid-template-columns: 1fr;
}
.content-wprapper .rca-form__bottom {
    grid-column-gap: 0;
}
.content-wprapper {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 460px);
    margin-bottom: 40px;
    grid-column-gap: 40px;
    position: relative;
}

#step-2 .content-wprapper {
    margin-bottom: 30px;
}

.rca-form__footer .submit-button button {
    min-width: 186px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 45px;
}
.rca-form__policy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    align-items: center;
}
.step-2-policy {
    flex-direction: unset;
    justify-content: left;
}
.rca-form__policy .discount div {
    display: flex;
    align-items: center;
    column-gap: 12px;
    margin-bottom: 16px;
    justify-content: center;
}
.rca-form__policy .perioada-polita {
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 17px;
    display: none;
}
.rca-form__policy .checkbox-container {
    display: flex;
    column-gap: 20px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #CFCFCF;
}
.checkbox-tab input[type="radio"]:checked{
    background-color: #2f9147;
}
.rca-form__policy .perioada-polita .element__wrap {
    display: flex;
    column-gap: 5px;
}
.rca-form__policy .perioada-polita .element__wrap h3 {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #2E384D;
    margin-bottom: 20px;
}
.rca-form__policy .discount {
    margin-bottom: 30px;
}
.rca-form__policy .discount h2 {
    margin-bottom: 0;
    line-height: 0;
}
.rca-form__policy .discount p {
    /*max-width: 340px;*/
    /*text-align: center;*/
    margin: 0 auto;
}
#submit-step-1 {
    margin-top: 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}
#submit-step-1 img,
#submit-step-2 img {
    margin-left: 15px;
    transform-origin: bottom;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-name: bounce-1;
    animation-timing-function: linear;
}

#step-1-completed {
    margin-bottom: 40px;
}
#step-1-completed .client-info__row {
    align-items: center;
}
@keyframes bounce-1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ==== Modal Privacy + Finish + Errors ==== */
.modal.active {
    display: block;
}
.modal__response.success span {
    color: #61CE70;
    font-weight: 600;
}
.modal__response {
    background: transparent;
    padding: 0;
    margin: 0;
}
.modal__response.errors span {
    color: #FF0721;
    font-weight: 600;
}
.modal {
    display: block;
    width: 100%;
    z-index: 99;
    padding: 0;
    margin: 0;
    height: 100%;
}

.modal::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    /*background: #fff;*/
    opacity: 0.8;
    display: block;
}

.modal__body {
    position: relative;
    margin: 0 auto;
    max-width: 720px;
    height: auto;
    z-index: 9;
    padding: 40px;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);

}
.finish-modal .modal-privacy__bar {
    margin-bottom: 15px;
}
.finish-modal .modal-privacy h2 {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}
.modal-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    row-gap: 20px;
}
.modal-footer__content p {
    margin-bottom: 15px;
}
.modal-privacy .modal-footer__content .btn-sub {
    max-width: 187px;
    width: 100%;
    height: 45px;
    background-color: #61CE70;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer;
}
.modal-footer__content p:last-of-type {
    margin-bottom: 0;
}
.modal__body h2 {
    font-size: 26px;
    line-height: 26px;
    font-weight: 700;
}

.modal__body p {
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 15px;
}
.modal__body p:last-of-type {
    margin-bottom: 0;
}
.modal__body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    border-radius: 7px;
    top: 0;
    z-index: -1;
    opacity: 0.8;
    display: block;
}

.modal__body h3 {
    margin-bottom: 15px;
}

.modal__item {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal__item li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.modal__item li h3 {
    color: black;
    z-index: 2;
}

.modal__item li p {
    margin-bottom: 15px;
    z-index: 2;
    color: black;
}

.btn-dowland__pdf {
    color: #fff !important;
    cursor: pointer;
    background: #61CE70;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    max-width: 160px;
    text-align: center;
    text-decoration: none !important;
    position: relative;
    z-index: 99;
}

.btn-dowland__pdf:hover {
    background-color: #61CE70;
}

.btn-dowland__pdf_inactive {
    display: none;
    background-color: #707070;
    cursor: initial;
}

.error-message {
    display: flex;
    justify-content: space-between;
}

.modal__icon {
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    opacity: 0.1;
    width: 340px;
    height: 390px;
    left: 50%;
    transform: translateX(-50%);
}

.modal__status {
    position: relative;
}

.modal__response {
    z-index: 2;
}

/* ==== Media ==== */
@media only screen and (max-width: 575.98px) {
    .modal__item li p {
        font-size: 15px;
    }

    .modal__response h1 {
        font-size: 25px;
    }

    .modal__body h2 {
        font-size: 20px;
    }
}

.modal-container {
    z-index: 99991;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.modal-title {
    margin: 0 !important;
}

.modal-privacy {
    width: 100%;
    max-width: 946px;
    position: fixed;
    height: fit-content;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 40px;
    z-index: 999;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto; /* Add this line */
}

.modal-privacy .btn-sub {
    width: fit-content;
    /*padding: 0 15px;*/
}
.modal-privacy form .btn-sub {
    height: 45px;
    min-width: 100px;
}

.input-loader {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 5px solid #ccc;
    background-color: #fff;
    z-index: 1;
    border-top: 5px solid #162d50;
    right: 20px;
    position: absolute;
    top: 56px;
    display: none;
    animation: rotate_loader 2s infinite;
    animation-timing-function: linear;
}

.finish-modal .modal-privacy {
    max-width: 720px;
}


@keyframes rotate_loader {
    0% {
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}

.disabled-link {
    pointer-events: none;
    /*background-color: #6EC1E4 !important;*/
    opacity: 0.7;

}

.modal-privacy.autocompleted .modal-privacy__dialog {
    max-width: 494px;
    padding: 20px;
    width: 100%;
    background: #fff;
    margin: 0 auto;
    border-radius: 25px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
}

.modal-privacy.autocompleted {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 15px;
}
.modal-privacy.autocompleted p {
    text-align: left;
    margin-bottom: 15px !important;
}
.autocomplete-modal.success p:last-of-type {
    margin-bottom: 0 !important;
}
.modal-privacy.autocompleted p.text-green {
    margin-bottom: 32px !important;
}
.modal-privacy.autocompleted .text--red {
    color: red;
    margin-bottom: 32px !important;
}
.autocomplete-modal__row  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}
.autocomplete-modal.error .autocomplete-buttons {
    display: grid;
    grid-template-columns: 1fr;
}
.autocomplete-modal.error .autocomplete-modal__col p {
    margin-bottom: 0 !important;
}
.autocomplete-modal.error .autocomplete-buttons .btn {
    max-width: 100%;
}
.modal-privacy .autocomplete-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    text-align: center;
    color: #fff;
    font-weight: 500;
}
.modal-privacy .btn {
    cursor: pointer;
    /*padding: 7px 0;*/
    /*border-radius: 5px;*/
}
.autocomplete-buttons .btn {
    color: #FFFFFF;
    max-width: 187px;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}
.modal-privacy .btn--teal {
    background-color: rgba(97, 206, 112, 1);
}

.modal-privacy .btn--gray {
    background: rgba(207, 207, 207, 1);
    margin-left: auto;
}
.autocomplete-modal__image {
    text-align: center;
}
.modal-privacy .btn--danger {
    background: red;
    padding: 7px 0;
    border-radius: 5px;
    max-width: 200px;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: 600;
}
.modal-container::before {
    content: "";
    position: absolute;
    -webkit-backdrop-filter: blur(3px); /* Added -webkit- prefix */
    backdrop-filter: blur(3px);
    width: 100%;
    height: 100%;
}

.modal-privacy__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.modal-privacy__bar h2 {
    color: rgba(97, 206, 112, 1);
}
.modal-privacy__content  {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #CFCFCF;
    overflow-y: auto;
    height: 289px;
    margin-bottom: 30px;
}
.modal-privacy .privacy-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 40px;
    align-items: center;
}
.modal-privacy .privacy-wrap a {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    height: 45px;
    background-color: rgba(97, 206, 112, 1);
    width: 100%;
}
.modal-privacy .privacy-wrap a.disabled-link {
    opacity: .6;
    pointer-events: none;
}
.modal-privacy .privacy-checkbox div {
    display: flex;
    align-items: flex-start;
    column-gap: 6px;
    margin-bottom: 15px;
}
.modal-privacy .privacy-checkbox div label {
    cursor: pointer;
}
.modal-privacy .privacy-checkbox div:last-of-type {
    margin-bottom: 0;
}

.modal-privacy .privacy-checkbox input[type=checkbox] {
    position: relative;
    border-radius: 4px;
    border: 1px solid #CFCFCF;
    background: none;
    cursor: pointer;
    line-height: 0;
    margin: 0 .6em 0 0;
    outline: 0;
    padding: 0 !important;
    vertical-align: text-top;
    min-height: 20px;
    min-width: 20px;
    -webkit-appearance: none;
    opacity: .5;
}
.modal-close__img {
    cursor: pointer;
}
.modal-privacy .privacy-checkbox input[type=checkbox]:hover {
    opacity: 1;
}

.modal-privacy .privacy-checkbox input[type=checkbox]:checked {
    background-color: #61CE70;
    opacity: 1;
}

.modal-privacy .privacy-checkbox input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px -1px 0 -1px;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

    /*.modal-privacy__content::-webkit-scrollbar {*/
/*    width: 1px;*/
/*    background-color: rgba(97, 206, 112, 1);*/
/*    margin-right: 5px;*/
/*    right: 5px;*/
/*}*/
.modal-privacy__content p:last-of-type {
    margin-bottom: 10px;
}
.modal-privacy__content p {
    color: rgba(46, 56, 77, 1);
}
.autocomplete__buttons {
    display: grid;
    grid-template-columns: 1fr 120px;
    grid-gap: 5px;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    background-color: #ffffff !important;
}

/* ⚠️ PLATE AUTOCOMPLETE BUTTON HIDDEN (October 22, 2025)
 * When button is hidden, display input as simple field without grid layout
 * Reason: Simplify user flow - focus on VIN-based autocomplete
 */
.autocomplete__buttons--simple {
    display: block !important;
    grid-template-columns: none !important;
}

.autocomplete__buttons--simple input {
    width: 100% !important;
}

/* Hide plate autocomplete button completely */
.autocomplete__button-plate {
    display: none !important;
    visibility: hidden !important;
}

.autocomplete__buttons .autocomplete__button:disabled,
.autocomplete__buttons .autocomplete__button-plate:disabled {
    background: #86b18c;
}
.autocomplete__buttons .autocomplete__button,
.autocomplete__buttons .autocomplete__button-plate {
    background: #61ce70;
    padding: 0;
    font-size: 14px !important;
    line-height: 18px;
    font-weight: 500;
    border-radius: 10px;
    margin: 2px;
}

.autocomplete__buttons input {
    border: none !important;
}
.autocomplete__buttons input[type=text]:focus-visible,
.autocomplete__buttons input[type=text]:focus,
.autocomplete__buttons input[type=text]:valid {
    outline: none;
    background: #ffffff !important;
    border: none !important;
}

/* Pagina de oferte */
.result-container {
    padding: 60px 0;
}
.full-opacity {
    opacity: 0.4;
    pointer-events: none;
}
.client-info__wrapper {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 268px);
    grid-column-gap: 112px;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 60px;
}
.client-info__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}
.client-info__wrapper .client-info {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 60px;
}
.client-info__wrapper h2 {
    color: #2E384D;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}
.client-info__column p {
    margin-bottom: 14px;
}
.client-info__column p:last-of-type {
    margin-bottom: 0;
}
.client-info__wrapper .rca-form__policy {
    margin-top: 50px;
    align-items: end;
    flex-direction: row;
    justify-content: space-between;
}
.client-info__wrapper .rca-form__policy .discount {
    margin-bottom: 0;
}
.client-info__wrapper .rca-form__policy h2 {
    font-weight: 500;
}
.client-info__wrapper .rca-form__policy .discount div {
    justify-content: space-between;
}
.client-info__wrapper .rca-form__policy .discount p {
    text-align: justify;
}
.client-info__wrapper .to-rca__form {
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    background-color: rgba(97, 206, 112, 1);
    height: 45px;
    max-width: 186px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-info__brand.show-on-mobile {
    display: none;
}
/* Filter offers */
.filter-offers {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}
.filter-offers .checkbox-container {
    padding: 30px 0;
    border-radius: 0;
    border: 0;
    column-gap: 32px;
    justify-content: center;
}
.filter-offers .checkbox-row {
    display: flex;
    align-items: center;
    column-gap: 30px;
    justify-content: center;
}
.filter-offers .checkbox-tab {
    border-radius: 25px;
    border: 1px solid rgba(97, 206, 112, 1);
    padding: 10px 15px;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    column-gap: 8px;
}
.filter-offers .checkbox-tab * {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: none;
}
.filter-offers .checkbox-tab.active {
    background-color: rgba(97, 206, 112, 1);
}
.filter-offers .checkbox-tab.active * {
    color: #fff;
}
.filter-offers .checkbox-tab.active input {
    background-color: #fff;
    outline: 1px solid #fff;
    border: none;
    outline-offset: 2px;
}
.filter-offers__button {
    display: flex;
    align-items: center;
    column-gap: 20px;
    cursor: pointer;
}
.filter-offers__wrapper {
    max-width: 1050px;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: space-between;
}
.filter-offers__wrapper .rca-form__policy {
    align-items: center;
}

/* Oferte */
.custom-whatsapp__button {
    border-radius: 25px;
    border: 1px solid rgba(97, 206, 112, 1);
    padding: 10px 15px;
    min-width: 200px;
    background-color: rgba(97, 206, 112, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    cursor: pointer;
    color: #fff !important;
    font-weight: 600;
}

#discotinuitate-groupama {
    grid-column: 3 / span 2;
}
.cotatie .tabel__row {
    padding: 30px 20px;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 32px;
    align-items: center;
}
.cotatie .tabel {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}
.cotatie .order-by-society {
    position: relative;
    row-gap: 25px;
    display: flex;
    flex-direction: column;
    order: 30;
}
.cotatie .ensure-offer__list {
    margin: 0;
}

.tabel__row_discount h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 12px;
}
.tabel__row_discount .table__data_dec p {
    margin-bottom: 0;
}
.tabel__row .ensure-offer__list li  {
    margin-bottom: 6px;
    font-size: 15px;
}


.cotatie .ensure-rating .rating-wrapper {
    align-items: center;
}
.tabel__row_first img {
    margin-bottom: 20px;
}
.cotatie_information {
    padding: 60px;
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
}
.dinamic__details h4 {
    margin-bottom: 20px;
}
.dinamic__details p,
.dinamic__details div,
.dinamic__details .text {
    margin-bottom: 12px !important;
}
.details_block.last p {
    margin-bottom: 12px !important;
}
.details_block.last p:last-of-type {
    margin-bottom: 0 !important;
}
.cotatie_information h3 {
    margin-bottom: 25px;
    color: #2E384D;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
}
.cotatie_information p {
    margin-bottom: 50px;
}
.cotatie_information p:last-of-type {
    margin-bottom: 0;
}
.cotatie .tabel__details-info p {
    margin-bottom: 8px;
}
.cotatie .tabel__data .prima,
.cotatie .tabel__data .title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 10px;
}
.cotatie .tabel__data .prima {
    color: #2E384D;
}
.cotatie .tabel__data .title {
    color: #61CE70;
}
.cotatie .tabel__data_empty .title,
.cotatie .tabel__data_empty .prima {
    color: #D8D8D8;
}

.cotatie .tabel__data .ipay-accuracy {
    width: 100%;
    height: 45px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    border-radius: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(97, 206, 112, 1);
    margin-top: 20px;
    cursor: pointer;
}
.cotatie .tabel__data .ipay-accuracy.pay-buy__rates {
    height: auto;
    background-color: transparent;
    padding: 0;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ff6600;
    border-radius: 0;
    margin: 0;
}

.cotatie .tabel__data_empty .ipay-accuracy {
    background-color: rgba(216, 216, 216, 1);
    pointer-events: none;
}

.cotatie .tabel__data_empty .select-link-offer {
    pointer-events: none;
}

.cotatie .tabel__data_empty .rate-offer__banner {
    color: #d8d8d8;
    border-color: #d8d8d8;
}

.cotatie .pdf-offers {
    margin-top: 30px;
    display: flex;
    column-gap: 20px;
}
.pdf-offers__row {
    display: flex;
    column-gap: 8px;
}
.cotatie .pdf-offers .pdf-offers__box {
    display: flex;
    cursor: pointer;
    align-items: center;
    border-top: 1px solid #CFCFCF;
    padding-top: 10px;
    font-weight: 700;
    column-gap: 25px;
    color: #000;
}
.filter-mobile {
    display: none !important;
}
.rate-offer__banner {
    margin-top: 20px;
}
.rate-offer__banner {
    font-size: 14px;
    font-weight: 600;
    color: #ff6600;
    cursor: pointer;
    border: 1px solid #ff6600;
    text-align: center;
    padding: 3px 7px;
}
.tbipay-holder {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    column-gap: 6px;
    margin-top: 3px;
}
.cotatie .tabel__details-chose .eco {
    color: rgba(254, 69, 68, 1);
    margin-bottom: 20px;
    font-weight: 700;
}
.tabel__details-more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 180px;
}
.cotatie .tabel__data {
    position: relative;
}
.tabel__row_discount .tabel__details.slide__down {
    grid-column: 1 / span 5;
}
.tabel__details-more p {
    margin: 0;
}
.tabel__details-more img {
    cursor: pointer;
}
.tabel__details.slide__down {
    grid-column: 1 / span 5;
    margin-top: 25px;
}
/*.tabel__details.slide__down .tabel__details-content {*/
/*    max-width: 700px;*/
/*}*/
.tabel__details.slide__down .tabel__details-text p:last-of-type {
    margin-bottom: 0;
}
.cotatie .tabel__row.blur-effect{
    position: relative;
}
.best-offer__image {
    position: relative;
}
.best-offer__image::before {
    content: "";
    display: block;
    min-width: 50px;
    width: 50px;
    height: 50px;
    background-image: url("/wp-content/themes/astra-child/images/best-offer.svg");
    background-repeat: no-repeat;
    position: absolute;
    background-size: contain;
    top: 35px;
    right: 0;
}
.cotatie .tabel__row.blur-effect:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 90%;
    -webkit-backdrop-filter: blur(3px); /* Added -webkit- prefix */
    backdrop-filter: blur(3px);
    z-index: 99;
}
.tabel__details.opacity-full {
    opacity: 0.4;
}

.cotatie .tabel__img-wrap {
    text-align: center;
}
.cotatie .tabel__img-wrap img {
    margin-bottom: 15px;
}
.tabel__row .ensure-rating {
    text-align: center;
}
/* Info box */
.info-box-card {
    border-radius: 25px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    padding: 50px;
    margin-top: 60px;
}
.info-box-card .info-row:first-of-type {
    padding-top: 0;
}
.info-box-card .info-row {
    padding: 50px 40px;
    border-bottom: 1px solid #CFCFCF;
}
.info-box-card .info-row:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}
.info-box-card .info-row.grid {
    display: grid;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    grid-template-columns: .9fr 250px;

}
.info-box-card .info-row.pay p.text,
.info-box-card .info-row.pay .info-row__images{
    margin-bottom: 30px;
}
.info-box-card .info-row__radio-header,
.info-box-card .info-row__radio-header div {
    display: flex;
    align-items: center;
    column-gap: 10px;
    cursor: pointer;
}
.info-box-card .info-row__radio {
    border: 1px solid #eeeeee;
    border-radius: 5px;
    padding: 15px;
    overflow: hidden;
}
.info-box-card .info-row__radio label{
    cursor: pointer;
}
.info-box-card .info-row__brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-box-card .info-row__heading {
    margin-bottom: 25px;
}
.info-box-card .info-row__content p {
    margin-bottom: 15px;
}
.info-box-card .info-row__content p:last-of-type {
    margin-bottom: 0;
}
.info-box-card .client-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}
.info-box-card .client-info__brand {
    text-align: center;
}
.info-box-card .client-info__brand.mobile {
    display: none;
}
.info-box-card .client-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    margin-bottom: 50px;
}
.info-box-card .client-contact__grid .element {
    display: flex;
    flex-direction: column;
}
.info-box-card .client-contact__grid .element label {
    display: block;
    color: rgba(46, 56, 77, 1);
    margin-bottom: 10px;
}

.info-box-card .client-contact__grid .element input {
    border-radius: 10px;
    border: 1px solid #CFCFCF;
    height: 44px;
    background-color: #FFFFFF;
}
.info-box-card .client-contact__grid .element input::placeholder {
    color: rgba(207, 207, 207, 1);
}
.info-box-card .action-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 40px;
}
.info-box-card .action-buttons .buttons {
    display: flex;
    column-gap: 12px;
    align-items: center;
}
.info-box-card .action-buttons a {
    display: flex;
    min-width: 100px;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
    height: 44px;
    background-color: rgba(97, 206, 112, 1);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    color: #FFFFFF;
}
.info-box-card .action-buttons a:last-of-type {
   min-width: 270px;
}
.info-box-card .action-buttons p.important-info {
    margin-bottom: 8px;
}

/* Info client rates box */
.client-rates {
    max-width: 608px;
    margin-top: 20px;
}
.client_rates__periods-list {
    display: flex;
    list-style: none;
    margin: 0 0 50px 0;
    padding: 0;
    color: #CFCFCF;
}
.client_rates__periods-list li {
    width: 100%;
    height: 1px;
    background: #CFCFCF;
    list-style: none;
    font-size: 14px;
    position: relative;
}
.client_rates__periods-list li:last-child {
    width: 0;
}
.client_rates__periods-list.first li:first-child span,
.client_rates__periods-list.first li:nth-child(2) span {
    transform: translateX(-4px);
}
.client_rates__periods-list li:last-child:before {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #61CE70;
    background: #fff;
    transform: translate(-4px, 6px);
}
.client_rates__periods-list li::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 100%;
    display: block;
    width: 1px;
    height: 10px;
    background: #CFCFCF;
}
.client_rates__periods-list li span {
    display: block;
    transform: translateX(-6px);
    margin-top: 5px;
}
.client-rates__wrapper {
    max-width: 620px;
}
.client-rates__wrapper p {
    margin-bottom: 40px;
}
.client-rates__wrapper p b {
    color: #2E384D;
}
.client-rates__terms {
    display: flex;
    align-items: baseline;
    column-gap: 12px;
    cursor: pointer;
}
.client-rates__terms input[type="checkbox"] {
    min-width: 18px;
    height: 18px;
    transform: translateY(5px);
}
.client-rates__terms-error {
    color: red;
    margin-top: 12px;
    display: block;
}
.calculate-rate__item {
    display: flex;
    align-items: center;
    column-gap: 12px;
    margin-bottom: 12px;
}
.calculate-rate__options {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
.calculate-rate {
    margin-top: 30px;
}
.calculate-rate__title {
    margin-bottom: 15px;
    font-size: 18px !important;
}
.client-rates__info-box {
    padding: 10px 15px;
    border: 1px solid #eeeeee;
    border-radius: 5px;
}
.client-rates__select-period {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-bottom: 15px;
    justify-content: space-between;
    margin-right: 12px;
}
.client-rates__select-period div:first-of-type {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
.client__rates-total {
    background-color: #f2f2f2f2;
    transform: translateX(-12px);
    margin-bottom: 15px;
    position: relative;
}
.client__rates-total::before {
    content: "";
    background-color: #f2f2f2f2;
    display: block;
    position: absolute;
    height: 100%;
    width: 50%;
    right: 99%;
    top: 0;
}
.client__rates-total p {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #cccccc;
    position: relative;
}
.client__rates-total p:before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 50%;
    right: 99%;
    bottom: 0;
}
/*Ascundere notificare pe desktop și tablete*/
.mobile-display {
    display: none;
    color: #2E384D;
    font-size: 14px;
    margin-top: 10px;
}

/*New custom code*/
#an_permis {
    cursor: pointer;
}


/*cmplz*/
.cmplz-soft-cookiewall,
.cmplz-cookiebanner {
    z-index: 2147483648 !important;
}

.wrap_c9bf {
    z-index: 999 !important;
}

/*.btn-continue {*/
/*    display: block;*/
/*    margin: 20px auto 0;*/
/*}*/

.red-text {
    font-weight: bold;
    color: red;
}

.finish-modal .modal-privacy h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

/*Custom SEO Templates*/
.single-asigurare-rca .continut-articol p,
.single-post .continut-articol p {
    margin-bottom: 10px;
}

.ae-accordion-item .elementor-accordion-icon {
    font-size: 17px;
    line-height: 30px;
    margin-top: -5px;
}

.ae-tab-title a {
    color: var(--e-global-color-primary);
}

.ae-tab-title.ae-active a {
    color: var(--e-global-color-accent);
}

/**============= CASCO PAGE =====================*/
.casco-bg::before {
    background-image: url("/wp-content/uploads/2025/03/asigurare-CASCO.avif");
    height: 95%;
    max-height: 684px;
    bottom: initial;
    top: 80px;
    left: 0;
}

.elementor-field-group-talon_carte_masina_fisiere label,
.elementor-field-group-carte_identitate_cui_fisiere label {
    position: unset;
    width: auto;
    height: auto;
    margin-right: 20px;
    max-width: 35%;
}

.switch-casco-form.inactive {
    background: #DADADA;
}

.casco-first-options,
.casco-second-buttons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto;
    column-gap: 20px;
}

.switch-casco-form {
    grid-column: span 3;
}

#faq_first_item .e-n-accordion-item-title {
    border: none;
}

.elementor-field-group-talon_carte_masina_fisiere input,
.elementor-field-group-carte_identitate_cui_fisiere input {
    border-style: solid;
    background-color: #ffffff;
    border-color: #DDDDDD;
    border-radius: 10px 10px 10px 10px;
    border-width: 1px;
    padding: 10px;
}
/**============= END CASCO PAGE =====================*/

.terms-div-policy {
    margin-top: 40px;
}

/* October 22, 2025: Reset button layout modification */
.submit-button--with-reset {
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
}

/* October 22, 2025: Reset button styling */
.btn-reset {
    text-decoration: unset !important;
    padding: 0 25px;
    height: 45px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font: 600 15px/1.55 'Arial', Arial, sans-serif;
    /*border-radius: 3px;*/
    background-color: #ff6b6b !important;
    border: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.btn-reset:hover {
    background-color: #ff5252;
    color: white;
}

.btn-reset:active {
    transform: scale(0.98);
}

/* October 22, 2025: Responsive layout for reset button on mobile */
@media (max-width: 768px) {
    .submit-button--with-reset {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 10px 20px;
    }

    .btn-sub,
    .btn-reset {
        width: 100%;
        max-width: 100%;
    }

    #submit-step-1 {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .submit-button--with-reset {
        padding: 10px 15px;
    }

    .btn-sub,
    .btn-reset {
        font-size: 14px;
        height: 42px;
        padding: 0 20px;
    }
}

@media only screen and (max-width: 1400px) {
    .rca-form__body {
        grid-column-gap: 50px;
    }
    .content-wprapper {
        grid-template-columns: 1fr minmax(auto, 400px);
    }
}

@media only screen and (max-width: 1300px) {

    .wrapper-custom__form .buttons {
        column-gap: 10px;
    }
    .wrapper-custom__form .home-form__button {
        min-width: 160px;
    }
    .grid-container__small_row {
        grid-template-columns: minmax(auto, 200px) 120px 1fr;
    }
    .rca-form__body.first .element-box .element {
        grid-template-columns: minmax(auto, 200px) 1fr;
    }
    .rca-form__body .grid-container__small_two .element__wrap {
        grid-template-columns: minmax(auto, 200px) 1fr;
    }

    /* Pagina de oferte */
    .rate-offer__banner {
        font-size: 13px;
        padding: 3px;
    }
    .rca-form__body .grid-container__small_row .element.big-gap {
        column-gap: 20px !important;
    }
    .grid-container__small_row.desktop-breakpoint label#data_expirare_itp-error{
        margin-left: 230px;
    }
}

@media screen and (min-width: 1200px) and (max-width:1300px){
    /* pagina de calculator */
    .grid-container__small_row.desktop-breakpoint {
        grid-template-columns: minmax(auto, 200px) 1fr;
    }
    .grid-container__small_row.desktop-breakpoint .grid-container__small_two {
        grid-column: 1 / span 2;
    }
     .grid-container__small_row.desktop-breakpoint .element-box:last-of-type {
         grid-column: 1 / span 2;
    }
    .grid-container__small_row.desktop-breakpoint .element.element--start.big-gap {
        grid-template-columns: minmax(auto, 200px) 1fr !important;
        margin-top: 18px;
        column-gap: 30px !important;
    }
}

@media only screen and (max-width: 1200px) {
    .wrapper-custom__form .buttons {
        flex-direction: column;
        row-gap: 20px;
        align-items: flex-start;
    }
    .home-ensures__row {
        padding: 30px;
    }
    .home-ensures__row .ensure-body {min-width: 100%;}

    /* Calculator page */
    .rca-form__body {
        grid-template-columns: 1fr minmax(auto, 370px);
        grid-column-gap: 30px;
    }
    .rca-form__body.first .element-box .element,
    .rca-form__body .grid-container__small_two .element__wrap {
        grid-template-columns: minmax(auto, 160px) 1fr;
        grid-column-gap: 15px;
    }
    .grid-container__small_row {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
    .rca-form__body .grid-container__small_row .element {
        grid-template-columns: minmax(auto, 160px) 1fr !important;
        grid-column-gap: 15px !important;
    }
    .rca-form__body .grid-container__small_two .element__wrap {
        margin-bottom: 20px;
    }
    .rca-form__body .grid-container__small_two .mobile-mb-0 {
        margin-bottom: 0;
    }
    .rca-form__body.top .append-error img.small {
        right: 38px;
        width: 22px;
        height: 22px;
    }
    .grid-container__small_row.desktop-breakpoint .element.element--start.big-gap {
        column-gap: 16px !important;
    }
    .grid-container__small_row.desktop-breakpoint label#data_expirare_itp-error{
        margin-left: 180px;
    }
    /* Pagina de oferte */
    .cotatie .tabel__row {
        grid-template-columns: repeat(4, 1fr);
        grid-row-gap: 30px;
    }

    .cotatie .tabel__data_logo {
        grid-column: 1 / span 4;
    }
    .tabel__row_discount .tabel__details-wrap {
        margin-left: 0;
    }
    .tabel__details.slide__down {
        order: 5;
        margin-top: 0;
        grid-column: 1 / span 4;
    }
    .cotatie .tabel__row {
        padding: 40px;
    }
    .cotatie .ensure-offer__list {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .tabel__details-wrap {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .tabel__row .ensure-offer__list li {
        font-size: 16px;
    }
    .client-info__wrapper {
        grid-column-gap: 40px;
    }
    .client-info__wrapper .client-info {
        padding: 40px;
    }
    .client-info__row {
        grid-template-columns: 1fr;
        grid-row-gap: 12px;
    }
    #step-1-completed .client-info__row {
        grid-template-columns: 1fr 1fr;
    }
    .rca-form__body .mobile-error__left label.error {
        margin-left: 175px;
        display: block;
    }
    .rca-form__body .mobile-error__left.mobile-mt-15 label.error {
       transform: translateY(-20px);
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1200px) {
    .example-talon__grid .example-talon__right td {
        padding: 3px;
    }
    .example-talon__grid table tr,
    .example-talon__grid table td {
        font-size: 13px;
        line-height: 14px;
    }
    .element-new__row.there__columns .element-box:first-of-type .element,
    .rca-form__column_two.new-column .element,
    .rca-form__body .element-box .element {
        grid-template-columns: 80px 1fr;
    }
    .element-new__row.there__columns .element-box .element {
        grid-template-columns: 60px 1fr;
    }
    .rca-form section.content {
        padding: 40px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .last-col-item {
        grid-column: 1 / span 2;
        max-width: 413px !important;
        margin-right: auto;
        margin-left: auto;
    }
}

@media only screen and (max-width: 1024px) {

    /* Fix encrease font size on iPhone */
    input {
        font-size: 16px !important;
    }

    .menu-sticky__form input.home-form__input {
        width: 220px;
    }
    button.home-form__button {min-width: 160px}
    .before-line:first-of-type::before,
    .before-line:nth-child(3)::before {
        display: none;
    }
    .hide-on-desktop {display: block;}
    .show-on-desktop {display: none;}

    .before-line:nth-child(2)::after,
    .before-line:last-of-type::after {
        display: none;
    }
    .home-ensures__row {
        grid-template-columns: 1fr;
        row-gap: 40px;
        align-items: flex-start;
    }
    .home-ensures__row .ensure-body {text-align: center;}
    .home-ensures__row .ensure-offer__list {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .home-ensures__row .ensure-body__link {
        margin-left: auto;
        margin-right: auto;
    }
    .home-ensures__row .ensure-body__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    .custom-hero-col div.elementor-widget-wrap:first-of-type {
        padding-top: 0 !important;
    }
     .single-ensure .ensure-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .single-ensure .ensure-card {
        max-width: 780px;
        grid-column-gap: 30px;
        margin-left: auto;
        margin-right: auto;
        padding: 60px 100px;
        flex-direction: column;
    }
    .single-ensure .ensure-header {
        margin-bottom: 20px;
    }
    .single-ensure .ensure-footer {
        min-width: 100%;
    }
    .single-ensure .ensure-footer__link {
        max-width: 100%;
    }

    /* Calculator page */
    .rca-form__body {
        grid-template-columns: 1fr;
    }
    .content-wprapper {
        grid-template-columns: 1fr;
    }
    .rca-form__header {
        margin-bottom: 10px;
    }
    .rca-form__body.first .element-box .element,
    .rca-form__body .grid-container__small_two .element__wrap {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 40px;
    }
    .rca-form__body .grid-container__small_row .element {
        grid-template-columns: 1fr 1fr !important;
        grid-column-gap: 40px !important;
    }
    .example-talon {
        position: static;
    }
    .grid-container__small_row.desktop-breakpoint label#data_expirare_itp-error{
        margin-left: calc(50% - -20px);
    }
    .info-car__inmatriculation,
    .example-talon {
        margin-top: 40px;
        margin-bottom: 40px;
        display: none !important;
    }
    .example-talon__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .rca-form__column_two {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
    .rca-form__body .element-box .element {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 40px;
    }
    .rca-form__body .element-box.column-1,
    .rca-form__column_two .element__full {
        grid-column: 1;
    }
    .element-new__row.there__columns {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }
    .element-new__row.there__columns .element-box:first-of-type .element,
    .element-new__row.there__columns .element-box .element {
        grid-template-columns: 1fr 1fr;
    }
    .rca-form__type-person .two-column {
        grid-template-columns: 1fr;
    }
    .rca-form__footer .element-box.last-item {
        margin-top: 20px;
        grid-column: 1;
    }
    .rca-form__body .element-box {
        grid-column: 1;
    }
    .rca-form__footer .element-box.last-item input {
        max-width: 100%;
    }
    .rca-form__body .element-box.mobile-mb-20{
        margin-bottom: 20px;
    }
    .grid-container__small_row.desktop-breakpoint .element.element--start.big-gap {
        column-gap: 40px !important;
    }
    .rca-form__footer .element-box.text-center label,
    .rca-form__footer .element.text-center label{
        text-align: left !important;
    }
    .rca-form .no-relative-mob {
        position: unset;
    }
    .rca-form__info {
        max-width: 360px;
        padding: 15px;
        border-radius: 10px;
        display: none !important;
    }
    #submit-step-1 {
        margin-top: 0;
    }

    /* Pagina de oferte */
    .client-info__wrapper .rca-form__policy {
        flex-direction: column;
        row-gap: 20px;
        align-items: flex-start;
    }
    .rca-form__body .mobile-error__left label.error {
        margin-left: 0;
        text-align: left;
        display: grid;
        grid-template-columns: 1fr 1fr;
        direction: rtl;
        grid-column-gap: 40px;
    }
    /* Pagina de oferte */
    .cotatie .tabel__row {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 120px;
    }

    .cotatie .tabel__data_logo {
        grid-column: 1 / span 2;
    }

    .cotatie .tabel__data_logo,
    .cotatie .table__data_dec {
        grid-column: 1 / span 2;
        order: 1;
        max-width: 449px;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 20px;
    }
    .cotatie .tabel__row_discount .tabel__data_logo {
        display: none;
    }
    .cotatie .offer-list {
        order: 2;
    }
    .cotatie .tabel__details.first {
        order: 3;
    }
    .cotatie .tabel__row_discount .tabel__details.first {
        order: 4;
    }
    .tabel__row_discount .tabel__details.slide__down,
    .tabel__details.slide__down {
        grid-column: 1 / span 2;
    }
    .cotatie .tabel__data_price {
        order: 4;
    }

    /* Client info page */
    .info-box-card .client-info {
        grid-template-columns: 1fr;
        grid-row-gap: 50px;
    }
    .client-rates {
        max-width: 100%;
    }
    .info-box-card .info-row.grid {
        align-items: flex-start;
    }
    .info-box-card .client-contact__grid {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    .info-box-card .client-contact__grid .element {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .info-box-card .client-contact__grid .element label {
        margin-bottom: 0;
    }
    .info-box-card .info-row {
        padding: 50px 0;
    }
    .info-box-card .client-info__brand {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 992px) {
    .custom-hero-background {
        background-size: 0% auto !important;
    }

    .z-negative {
        z-index: 99;
    }

    .wrapper-custom__form {
        max-width: 100%;
    }

    .wrapper-custom__form .buttons {
        flex-direction: row;
    }

    .ensure-card {
        flex-wrap: wrap;
    }

    .ensure .ensure-card {
        justify-content: center;
    }

    .ensure-header {
        min-width: 100%;
    }

    .ensure-footer {
        max-width: calc(100% - 280px)
    }

    .custom-hero-background::before {
        display: none;
    }

    /* Calculator */
    .calculator .intro h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .calculator .intro {
        margin-bottom: 40px;
    }

    .calculator .intro h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .rca-form__header {
        grid-template-columns: 1fr .5fr;
        margin-bottom: 30px;
    }

    .rca-form h2 {
        margin-bottom: 0;
    }
    #step-1-completed .client-info__row {
        grid-template-columns: 1fr .7fr;
    }
    #cod_postal-error {
        margin-top: 3px;
    }

    /* Pagina de oferte */
    .cotatie .tabel__row {
        padding: 50px 80px;
    }

    /* Info client page */
    .info-box-card .action-buttons {
        flex-direction: column;
        row-gap: 40px;
        align-items: flex-start;
    }
    .privacy-wrap.page-client__info {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }
    .modal-container .modal-privacy {
        padding: 20px;
    }

    select#etaj {
        width: auto !important;
        min-width: inherit;
        max-width: initial;
    }

    #etaj-parent .select2-container {
        width: 100% !important;
        min-width: initial;
        max-width: initial
    }
}

@media only screen and (max-width: 767px) {

    html.ignore-scroll {
        overflow: hidden;
        max-height: 100vh;
    }

    body header#masthead {
        z-index: 999
    }

    .custom-header {
        z-index: 999;
    }

    .custom-header__active .elementor-widget-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .custom-header__active:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        -webkit-backdrop-filter: blur(3px); /* Added -webkit- prefix */
        backdrop-filter: blur(3px);
        /*opacity: .5;*/
        width: 100vw;
        height: 100vh;
        display: block;
        /*background: #ffffff;*/
    }

    .custom-header__active nav ul:after {
        content: "";
        position: absolute;
        right: calc(100% - 20px);
        background-color: #ffffff;
        width: 100%;
        height: 100%;
        display: block;
        z-index: -1;
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    }

    .custom-header__active nav ul {
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    }

    .custom-header__active nav ul:before {
        content: "";
        position: absolute;
        left: calc(100% - 20px);
        background-color: #ffffff;
        width: 100%;
        height: 100%;
        z-index: -1;
        display: block;
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    }

    .custom-header__active nav li:first-of-type a {
        margin-top: 15px;
    }

    .custom-header__active nav li:last-of-type a {
        width: 160px;
        height: 45px;
        border: 1px solid #2E384D;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        margin-top: 15px;
    }

    /* Subheader */
    .menu-sticky__form .home-form {
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .before-line::before, .before-line::after {
        display: none;
    }

    .custom-image-reviews-w .elementor-image-box-wrapper {
        display: flex;
        align-items: center;
        column-gap: 60px;
    }

    .custom-hero-background {
        padding-top: 30px !important;
    }

    .review-wrapper .slick-slide {
        margin: 10px 15px;
    }

    .review-wrapper .slick-list {
        margin: 0 -15px;
    }

    .review-item {
        padding: 25px;
    }

    .review-stars {
        margin-bottom: 20px;
    }

    .review-user {
        margin-bottom: 20px;
    }

    .review-content {
        font-size: 15px;
    }

    .review-user img {
        width: 50px;
        height: 50px;
    }

    /* Asigurator pagina */
    .ensure-card {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    .ensure-wrapper h1 {
        margin-bottom: 40px;
        font-size: 40px;
        line-height: 48px;
    }

    .home-ensures .ensure-body {
        min-width: 100%;
        text-align: center;
    }

    .ensure {
        padding: 50px 0;
    }

    .home-ensures .slick-slide {
        margin: 10px 15px;
    }

    .home-ensures__row {
        padding: 50px 30px;
    }

    .ensure-footer {
        max-width: 400px;
        text-align: center;
    }

    .ensure-footer__link {
        margin-left: auto;
        margin-right: auto;
    }

    .ensure main {
        padding: 50px;
    }

    .menu-sticky__form {
        row-gap: 20px;
        flex-direction: column;
    }

    .subheader-menu {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .single-ensure .ensure-body {
        grid-template-columns: 1fr;
    }

    .hide-on-desktop {
        display: none;
    }

    .show-on-desktop {
        display: block;
    }

    .single-ensure .ensure-body__content {
        text-align: center;
        max-width: 100%;
    }

    .single-ensure .ensure-offer__list {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .single-ensure .ensure-header {
        margin-bottom: 0;
    }

    .home-ensures .ensure-footer__excerpt {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Calculator */
    .rca-form__body.first .element-box .element,
    .rca-form__body .grid-container__small_two .element__wrap {
        grid-template-columns: 1fr;
    }
    .rca-form__body .grid-container__small_two .element__wrap.one-column__mobile,
    .rca-form__body .element-box .element.one-column__mobile {
        grid-template-columns: 100px 1fr !important;
    }
    .rca-form__body .fix-label__error label.error {
        margin-top: 5px;
        margin-left: calc(0% - 140px);
        margin-bottom: 0;
    }
    .rca-form__body .grid-container__small_two .element__wrap.one-column__mobile img,
    .rca-form__body .element-box .element.one-column__mobile img {
        right: 12px;
        width: 16px;
        height: 16px;
        top: 16px;
    }
    .rca-form__step {
        display: none;
    }

    .rca-form__header {
        grid-template-columns: 1fr;
    }

    .rca-form__body .grid-container__small_row .element {
        grid-template-columns: 1fr !important;
    }

    .info-car__inmatriculation,
    .example-talon {
        margin-top: 20px;
    }

    .rca-form .element label,
    .rca-form .element-box .element__wrap label{
        margin-bottom: 8px;
    }

    .grid-container__select {
        grid-column-gap: 20px;
    }
    .rca-form section.content {
        padding: 30px;
    }
    .element-person__type .element > div {
        column-gap: 20px;
    }
    .element-new__row.there__columns .element-box:first-of-type .element,
    .element-new__row.there__columns .element-box .element,
    .rca-form__body .element-box .element,
    .rca-form__type-person.first .element-box.last-item .element,
    .rca-form__bottom.leasing .grid-container #leasing-exists{
        grid-template-columns: 1fr;
    }
    #step-1-completed .client-info__row {
        grid-template-columns: 1fr .6fr;
    }
    .progres__info {
        font-size: 14px;
    }
    .rca-form__body .element-box label[for="data_expirare_itp"],
    .rca-form__body .element-box label[for="prima_inmatriculare"] {
        transform: translateY(0);
    }

    /* pagina de oferte */
    .client-info__wrapper {
        grid-template-columns: 1fr;
    }
    .cotatie .tabel__row {
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 0;
        padding: 30px;
    }
    .cotatie .tabel {
        row-gap: 30px;
    }
    .cotatie .tabel__data_logo,
    .cotatie .table__data_dec {
        grid-column: 1 / span 2;
        margin-bottom: 30px;
    }
    .rate-offer__banner {
        font-size: 15px;
    }

    /*.no-12-offer-wrapper .table__data-no-offer {*/
    /*     display: none !important;*/
    /*}*/
    .cotatie .tabel__data .ipay-accuracy.pay-buy__rates {
        font-size: 14px;
    }
    .tabel__details-wrap,
    .cotatie .ensure-offer__list {
        width: auto;
    }
    .cotatie .tabel__details.first {
        order: 4;
        margin-top: 30px;
    }
    .cotatie .ensure-offer__list {
        transform: translate(20px);
    }
    .tabel__details.slide__down,
    .tabel__row_discount .tabel__details.slide__down {
        grid-column: 1 / span 2;
        margin-top: 30px;
    }
    .cotatie .pdf-offers {
        flex-direction: column;
    }
    .cotatie .pdf-offers .pdf-offers__box:last-of-type {
        border: 0;
        column-gap: 20px;
    }

    .cotatie .pdf-offers > div {
        display: flex;
        flex-direction: column;
    }

    .cotatie .pdf-offers .detalii_suplimentare {
        order: 2;
        text-align: left;
    }

    .cotatie .pdf-offers .disabled-link {
        order: 1;
    }

    .cotatie .offer-list {
       margin: 0 auto;
        display: none !important;
    }
    .rate-offer__banner,
    .cotatie .tabel__data .ipay-accuracy.pay-buy__rates {
        font-size: 13px;
    }
    .cotatie_information h3 {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 30px;
    }
    .cotatie_information p {
        margin-bottom: 20px;
    }
    .tabel__details_ensure-points {
        display: block !important;
        margin-bottom: 20px;
    }
    .tabel__details_ensure-points .ensure-offer__list {
        transform: translate(0);
    }
    .rca-form__body .mobile-error__left label.error {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: left;
    }
    .client-info__brand.show-on-mobile {
        display: block;
    }
    .client-info__brand.show-in__desktop {
        display: none;
    }
    .client-info-mobile__wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 20px;
    }
    .client-info-mobile__wrapper h2 {
        margin-bottom: 0;
    }
    .filter-offers .checkbox-container {
        width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
    .filter-offers .checkbox-tab {
        min-width: 150px;
    }
    .filter-offer__wrapper-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        column-gap: 20px;
        cursor: pointer;
    }
    .filter-offer__wrapper-mobile h3 {
        font-weight: 400;
    }
    .filter-mobile {
        display: none !important;
    }
    .filter-offers__mobile {
        overflow: hidden;
        transform: translateX(-100%);
        transition: .6s ease;
        padding: 30px;
        position: fixed;
        display: block;
        height: 100%;
        max-width: 360px;
        width: 100%;
        background: #fff;
        opacity: 1;
        left: 0;
        top: 0;
        z-index: 9990;
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    }
    .filter-offers__mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .filter-offers__mobile.active {
        transform: translateX(0%);
        transition: .6s ease;
    }
    .offers-backdrop {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        z-index: 1;
        display: flex;
    }
    .filter-offers__mobile .checkbox-item {
        margin-bottom: 20px;
    }
    /* Page client info */
    .info-row__heading h2 {
        font-size: 24px;
        line-height: 30px;
    }
    .info-box-card .info-row {
        padding: 30px 0;
    }
    .info-box-card .info-row__brand {
        align-items: flex-start;
        flex-direction: column-reverse;
        row-gap: 20px;
    }
    .info-row__brand-logo {
        max-width: 150px;
        display: none;
    }
    .grid-container__small_row.desktop-breakpoint label#data_expirare_itp-error{
        margin-left: 0;
    }
    .grid-container__small_row.desktop-breakpoint .element__wrap.append-error {
        display: flex;
        align-items: unset;
        flex-direction: column;
    }

    .mobile-display {
        display: block;
    }

    .modal-privacy,
    .finish-modal .modal-privacy {
        max-width: 90%;
        position: absolute;
        overflow: auto; /* Add this line */
        max-height: 85%;
    }

    #info-before-pay {
        font-size: 14px;
        margin-bottom: 15px !important;
    }

    .modal-privacy__bar {
        margin-bottom: 15px;
    }

    .modal-privacy__content {
        padding: 15px;
        margin-bottom: 15px;
        height: 200px;
    }

    .modal-privacy .privacy-wrap {
        row-gap: 15px;
    }

    .single .subheader-section {
        display: none !important;
    }
}

@media screen and (min-width: 568px) and (max-width: 776px) {
    .rca-form__policy .perioada-polita  {
        max-width: 521px;
        margin-left: auto;
        width: 100%;
        margin-right: auto;
    }
    .checkbox-container .checkbox-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 568px) {
    .text-center-md {text-align: unset;}

    .mb-sm-12 {margin-bottom: 12px !important}

    /* Chat/support */
    .chaty-channel .on-hover-text {
        display: none !important;
    }

    .wrapper-custom__form .buttons {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }

    .wrapper-custom__form {
        padding: 25px;
        border-radius: 12px;
    }

    .add-review__header {
        margin-bottom: 20px;
    }

    .add-review-wrapper h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .add-review-wrapper input,
    .add-review-wrapper textarea {
        font-size: 16px !important;
    }

    .submit-reviews-wrapper > div {
        width: 140px
    }

    .review-wrapper .slick-dots {
        width: calc(100% - 170px);
    }

    /* Asigurator pagina */
    .ensure-card, .ensure main {
        padding: 30px;
    }

    .ensure-wrapper h1 {
        margin-bottom: 30px;
        font-size: 32px;
        line-height: 40px;
    }

    .single-ensure .ensure-card {
        padding: 40px 25px;
    }

    /* Calculator */
    .grid-container__select {
        grid-template-columns: 1fr;
    }

    .element-person__type .element > div {
        flex-direction: column;
        row-gap: 20px;
    }

    .progres {
        display: none;
    }

    .calculator {
        padding: 30px 0 0 0;
    }

    .calculator .intro h1 {
        font-size: 30px;
        line-height: 36px;
        margin-bottom: 15px;
    }

    .calculator .intro h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .calculator .intro {
        margin-bottom: 30px;
    }

    #step-1 {
        margin-bottom: 30px;
    }

    /* RCA form */
    .rca-form__body .element-box .autocomplete__buttons input[type="text"] {
        border-bottom: 1px solid #cccccc !important;
    }
    .autocomplete__buttons {
        gap: 2px;
        grid-template-columns: 1fr;

    }
    .autocomplete__buttons button {
        height: 40px;
    }

    .rca-form h2 {
        font-size: 24px !important;
        line-height: 30px;
    }

    .rca-form__header {
        margin-bottom: 20px;
    }

    .rca-form__policy .checkbox-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 35px;
        padding: 35px 30px;
    }

    .rca-form__policy .checkbox-container .checkbox-item {
        display: flex;
        align-items: center;
        width: 78px;
        margin: 0 auto;
    }

    .best-offer__image::before {
        content: "";
        width: 30px;
        height: 30px;
        top: 23px;
        min-width: auto;
    }
    .rca-form__policy .perioada-polita {
        width: 100%;
        margin-bottom: 24px;
    }

    .info-car__inmatriculation ul {
        margin: 0;
        list-style-position: inside;
    }

    .info-car__inmatriculation li.active {
        margin: 0;
    }

    #submit-step-1 button {
        width: 100%;
    }

    #submit-step-1 button.btn-reset {
        margin: 0 auto 20px;
        width: fit-content;
    }

    #submit-step-1 {
        padding-top: 0;
    }

    .example-talon__grid {
        grid-template-columns: 1fr;
    }

    .example-talon h4 {
        text-align: left;
        font-size: 16px;
    }
    .rca-form .submit-button,
    .rca-form .btn-sub_modify {
        width: 100%;
    }

    #step-1-completed .client-info__row {
        display: flex;
        flex-direction: column-reverse;
    }
    #to-step-1 {
        width: 100%;
    }
    #step-1-completed .rca-form__header {
        margin-bottom: 0;
    }

    #step-1-completed .client-info__column {
        width: 100%;
    }

    /* Pagina de oferte */
    .results-offer__heading h1 {
        font-size: 30px;
        font-weight: 700;
        line-height: 38px;
    }
    .cotatie .tabel__data .prima,
    .cotatie .tabel__data .title {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 5px;
    }
    .cotatie .tabel__row {
        padding: 30px 20px;
        grid-column-gap: 16px;
        margin-bottom: 0;
        grid-template-columns: 1fr 1fr;
    }
    .cotatie .tabel__data_price {
        /*grid-column: 1;*/
        margin-bottom: 18px;
    }

    .tabel__details-more {
        max-width: 100%;
    }
    .rate-offer__banner {
        margin-top: 15px;
        line-height: 18px;
    }
    .cotatie .tabel__details.first {
        margin-top: 0;
        grid-column: 1 / span 2;
    }
    .cotatie .tabel__data .ipay-accuracy {
        margin-top: 0;
        font-size: 14px;
    }
    .cotatie .tabel__details-info p {
        font-size: 14px;
        line-height: 20px;
    }

    .cotatie .tabel__img-wrap {

    }
    .tbipay-holder img {
        max-width: 32px;
        display: none;
    }
    .ensure-rating .star-wrapper {
        column-gap: 3px;
        font-size: 16px;
    }
    .cotatie .tabel__data_logo {
        margin-bottom: 15px;
    }
    .cotatie.cotatie_information {
        padding: 30px;
    }
    .client-info__wrapper h2 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 10px;
    }
    .client-info__wrapper .client-info {
        padding: 30px;
    }
    .client-info__column p {
        margin-bottom: 10px;
    }

    .ensure-rating .rating-wrapper {
        margin-bottom: 10px;
        margin-top: 0;
    }
    .result-container {
        padding: 30px 0;
    }
    .result-container .client-info__wrapper {
        margin-top: 30px;
    }
    .client-info__wrapper .to-rca__form {
        max-width: 100%;
        width: 100%;
    }
    .result-container .rca-form__policy h2 {
        line-height: initial;
    }
    /*.client-info__wrapper .rca-form__policy .discount div {*/
    /*    justify-content: flex-start;*/
    /*}*/
    .filter-offers__mobile {
        max-width: 280px;
    }

    .info-box-card {
        margin-top: 40px;
    }
    .info-box-card .action-buttons .buttons {
        flex-direction: column;
        row-gap: 20px;
        width: 100%;
    }
    .info-box-card .action-buttons a {
        min-width: 100%;
        max-width: 100%;
    }
    .info-box-card .action-buttons a:last-of-type {
        min-width: 100%;
    }
    .info-box-card {
        padding: 40px 30px;
    }
    .info-box-card .client-info__brand.desktop {
        display: none;
    }
    .info-box-card .client-info__brand.mobile {
        display: block;
        max-width: 120px;
        margin-top: 0;
    }
    .info-box-card .info-row.grid {
        grid-template-columns: 1fr;
    }
    .info-box-card .info-row__heading {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        column-gap: 10px;
    }
    .info-box-card .client-contact__grid .element {
        grid-template-columns: 1fr;
    }
    .info-box-card .client-contact__grid .element label {
        margin-bottom: 16px;
    }
    .info-box-card .client-contact__grid {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .modal-privacy .modal-privacy__dialog .modal-title {
        font-size: 24px;
        line-height: 30px;
    }

    /* filtru oferte */
    .filter-offers .checkbox-container {
        padding: 20px;
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
    .filter-offers .checkbox-container h3 {
        text-align: center;
    }
    .filter-offers .checkbox-row {
        column-gap: 16px;
    }
    .table__data-no-offer p {
        font-size: 14px;
        line-height: 18px;
    }

    /**============= CASCO PAGE =====================*/
    .casco-first-options,
    .casco-second-buttons {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
        row-gap: 20px;
    }

    .elementor-field-group-talon_carte_masina_fisiere label,
    .elementor-field-group-carte_identitate_cui_fisiere label {
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 10px;
    }
    .elementor-field-group-talon_carte_masina_fisiere input,
    .elementor-field-group-carte_identitate_cui_fisiere input {
        width: 100%;
    }
    /**============= END CASCO PAGE =====================*/
}

@media only screen and (max-width: 450px) {
    .wrapper-custom__form .home-form__button {min-width: 100%;}
    input.home-form__input {width: 100%;}
    .home-form__intro .custom-h1 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 15px !important;
    }

    /* Asigurator pagina */
    .ensure-footer__link {
        font-size: 14px;
    }

    /* Contact page */
    .contac-box iframe {
        height: 200px !important;
    }
    .rca-form__policy .checkbox-container {
        grid-gap: 20px;
        padding: 20px;
    }
    .client-rates__select-period {
        row-gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    /* filter offers */
    .filter-offers .checkbox-row {
        width: 100%;
    }
    .filter-offers .checkbox-tab {
        min-width: auto;
        width: 100%;
    }
    .custom-whatsapp__button {
        min-width: auto;
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .cotatie .tabel__data .ipay-accuracy {
        height: 40px;
    }

    .rate-offer__banner, .cotatie .tabel__data .ipay-accuracy.pay-buy__rates{
        font-size: 11px;
        line-height: 15px;
    }

    .cotatie .tabel__details-info p {
        margin-bottom: 4px;
    }
    .cotatie .tabel__row {
        grid-column-gap: 10px;
    }
    .cotatie .tabel__data .prima, .cotatie .tabel__data .title {
        font-size: 20px;
        line-height: 24px;
    }
}

@media only screen and (max-width: 360px) {
    .rate-offer__banner, .cotatie .tabel__data .ipay-accuracy.pay-buy__rates {
        font-size: 10px;
        line-height: 14px;
    }

    .filter-offers .checkbox-tab * {
        font-size: 15px;
    }
    .filter-offers .checkbox-tab {
        padding: 8px 12px;
    }

    .modal-privacy__content {
        height: 125px;
    }

    .modal-privacy .privacy-checkbox div {
        margin-bottom: 10px;
    }

    .modal-privacy .privacy-checkbox div label {
        font-size: 14px;
    }

    .modal-privacy .modal-privacy__dialog .modal-title {
        font-size: 16px;
        line-height: 20px;
    }
}

/* ============================================ */
/* AUTOCOMPLETE SUCCESS MODAL STYLES */
/* October 22, 2025: Display success message in modal */
/* ============================================ */
.autocomplete__success-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 500px;
    margin: 0 auto;
}
.autocomplete__success-icon {
    width: 40px;
    height: 40px;
    background-color: #61ce70;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}
.autocomplete__success-title {
    color: #2E384D;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}
.autocomplete__success-message {
    color: #2E384D;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}
.autocomplete__close-btn {
    background-color: #61ce70;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.autocomplete__close-btn:hover {
    background-color: #4fb85f;
}
/* Ensure modal is properly centered and visible */
.modal-container .modal-privacy.autocompleted {
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-container .modal-privacy.autocompleted .modal-privacy__dialog {
    max-width: 600px;
    width: 90%;
}
/* Mobile responsive styles */
@media only screen and (max-width: 768px) {
    .autocomplete__success-content {
        padding: 30px 20px;
    }
    .autocomplete__success-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    .autocomplete__success-title {
        font-size: 20px;
    }
    .autocomplete__success-message {
        font-size: 14px;
    }
    .autocomplete__close-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}
