/* Styles for Tarificador Layout */

@font-face {
    font-family: 'ZT Talk';
    src: url('../fonts/ZTTalk-SemiExpanded.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Talk Bold';
    src: url('../fonts/ZTTalk-BoldSemiExpanded.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Talk Black';
    src: url('../fonts/ZTTalk-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}


:root {
    --brand-red: #EB003F;
    --brand-dark-red: #EB003F;
    --brand-black: #000000;
    --brand-charcoal: #231F20;
    --brand-grey-hover: #4A4A4A;
    --brand-light-grey: #F0F0EF;
    --brand-white: #FFFFFF;
}

.bg-danger {
    background-color: var(--brand-red) !important;
}

.toast-header {
    font-family: "ZT Talk Bold", sans-serif;
}

body {
    background-color: var(--brand-light-grey) !important;
    font-family: "ZT Talk", "Inter", sans-serif;
    color: #231F20;
    margin: 0;
    padding: 0;
}

/* Header Integration */
.header-banner {
    background-color: var(--brand-red);
    padding: 24px 0 35px 0;
    color: #FFFFFF;
    position: relative;
    border-bottom: 4px solid var(--brand-dark-red);
}

.header-top {
    margin-bottom: 24px;
}

.header-logo img {
    height: auto;
    width: 100px;
}

.header-close {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-close:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.header-content {
    max-width: 900px;
}

.header-title {
    font-family: "ZT Talk Black", "ZT Talk Bold", sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.header-subtitle {
    font-family: "ZT Talk Black", sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 50px;
    text-transform: uppercase;
    color: #000000;
    /* Dark contrast subtitle */
    margin: 0;
}

/* Steps list styles */
.header-steps-container {
    margin-top: 15px;
}

.header-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "ZT Talk", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

.header-steps li {
    color: rgba(255, 255, 255, 1);
    position: relative;
    font-weight: 500;
    margin-left: 20px;
}

.header-steps li.active {
    color: #000000;
    /* Active step is black */
    font-family: "ZT Talk Bold", sans-serif;
    font-weight: 700;
}

.header-steps li.current {
    color: #FFFFFF;
    /* Current step is white */
    font-family: "ZT Talk Bold", sans-serif;
    font-weight: 700;
}

/* Page Content spacing */
main.tarificador-content {
    background-color: var(--brand-white);
    padding: 40px 0 80px 0;
    min-height: calc(100vh - 400px);
}

/* Button override & Custom Buttons */
.btn-primary-custom,
.btn-red.red-important {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px !important;
    background-color: var(--brand-black) !important;
    color: #FFFFFF !important;
    font-family: "ZT Talk Bold", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease !important;
    cursor: pointer;
    text-transform: none !important;
    max-width: none !important;
}

.btn-primary-custom:hover,
.btn-red.red-important:hover,
.btn-red:hover {
    background-color: #201C1C !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

.btn-primary-custom:active,
.btn-red.red-important:active,
.btn-red:active,
.btn-primary-custom.active,
.btn-red.red-important.active,
.btn-red.active {
    background-color: #201C1C !important;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px !important;
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-family: "ZT Talk Bold", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    border: 1px solid #000000 !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-transform: none !important;
}

.btn-secondary-custom:hover {
    background-color: #FFFFFF !important;
    border-color: #4D2AA4 !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.btn-secondary-custom:active,
.btn-secondary-custom.active {
    background-color: #DAD4F7 !important;
    border-color: #4D2AA4 !important;
    color: #000000 !important;
}

/* Footer redesign */
#footer-style.bg-Adecco-Dark-Medium {
    background-color: var(--brand-black) !important;
    padding: 40px 0;
    color: #FFFFFF;
    font-size: 13px;
    border-top: 1px solid #222;
}

#footer-style a {
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.7;
    margin-right: 15px;
    margin-bottom: 10px;
    display: inline-block;
    transition: opacity 0.2s ease;
}

#footer-style a:hover {
    opacity: 1;
    color: #FFFFFF;
    text-decoration: underline;
}

#footer-style #logo-nav {
    filter: brightness(0) invert(1);
    max-height: 30px;
    margin-bottom: 20px;
}

/* Switch toggle styling */
.custom-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cards Layout */
.card-white {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease;
}

.card-white:hover {
    transform: translateY(-2px);
}

.card-title {
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.card-desc {
    font-family: 'ZT Talk', sans-serif;
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.4;
}

/* Footer layout updates */
#footer-style.bg-Adecco-Dark-Medium {
    background-color: var(--brand-black) !important;
    padding: 60px 0 !important;
    color: #FFFFFF;
    border-top: 1px solid #222;
}

#footer-style hr {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin: 15px 0 30px 0;
}

.footer-links-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

@media (min-width: 992px) {
    .links-row {
        justify-content: flex-end;
    }
}

.links-row a {
    font-family: 'ZT Talk Bold', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #817E7E !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    margin: 0 !important;
    display: inline-block;
}

.links-row a:hover {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 60px;
    left: 30px;
    z-index: 9999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #121E2D;
    /* Dark blue circle */
    color: #FFFFFF !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
    padding: 0 !important;
    line-height: 1 !important;
}

.scroll-top-btn.visible {
    opacity: 0.8;
    visibility: visible;
}

.scroll-top-btn.visible:hover {
    background-color: #1a2a3f;
    opacity: 1;
    text-decoration: none !important;
}

.copyright-text {
    font-family: 'ZT Talk', sans-serif;
    font-size: 12px;
    color: #817E7E;
}

/* Quote Cards Redesign */
.card-quote {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-quote-banner-red {
    background-color: #EB003F;
    color: #FFFFFF;
    padding: 20px 30px;
    font-family: 'ZT Talk Black', sans-serif;
    font-size: 30px;
    font-weight: 700;
    border-radius: 18px;
}

.card-quote-banner-black {
    background-color: #000000;
    color: #FFFFFF;
    padding: 20px 30px;
    font-family: 'ZT Talk Black', sans-serif;
    font-size: 30px;
    font-weight: 700;
    border-radius: 18px;
}

.card-quote-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-quote {
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.card-subtitle-quote {
    font-family: 'ZT Talk', sans-serif;
    font-size: 15px;
    color: #000;
}

.card-desc-quote {
    font-family: 'ZT Talk', sans-serif;
    font-size: 15px;
    color: #231F20;
    line-height: 1.5;
}

.card-highlight-quote {
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 16px;
    color: #000000;
}

.resumen-percent {
    font-family: 'ZT Talk Black', sans-serif;
    font-size: 72px;
    font-weight: 900;
    color: #EB003F;
    line-height: 1;
    margin-top: 10px;
    margin-bottom: 5px;
}

.resumen-percent-text {
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #EB003F;
    border-bottom: 1px solid #EB003F;
}

.resumen-fee-text {
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #EB003F;
    margin-top: 15px;
    margin-bottom: 30px;
}

.card-quote-footer-text {
    font-family: 'ZT Talk', sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.4;
    margin-top: auto;
}

/* Accordion Custom Styling */
.accordion .card {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
    background-color: #FFFFFF !important;
}

.accordion .card-header.title-info-accordion {
    background-color: #FFFFFF !important;
    padding: 20px 30px !important;
    cursor: pointer;
    border-bottom: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .card-header.title-info-accordion a.card-title {
    font-family: 'ZT Talk Bold', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #231F20 !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.accordion .card-header.title-info-accordion::after {
    content: '+';
    font-family: 'ZT Talk Bold', sans-serif;
    font-size: 24px;
    color: #231F20;
    transition: transform 0.2s ease;
}

.accordion .card-header.title-info-accordion:not(.collapsed)::after {
    content: '−';
}

/* Secondary Select Option Buttons & Navigation Buttons */
.btn-option,
.type-profile,
.type-working,
.type-hours-movil {
    background-color: #FFFFFF !important;
    border: 0px solid #000000 !important;
    color: #000000 !important;
    font-family: "ZT Talk", sans-serif !important;
    transition: all 0.2s ease !important;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
}


#next-step-2,
#send-form {
    background-color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    font-family: "ZT Talk Bold", sans-serif !important;
    transition: all 0.2s ease !important;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.15);
    min-width: 250px;
}

.btn-option:hover,
.type-profile:hover,
.type-working:hover,
.type-hours-movil:hover,
#next-step-2:hover,
#send-form:hover {
    background-color: #FFFFFF !important;
    border-color: #4D2AA4 !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.btn-option.active,
.type-profile.active,
.type-working.active,
.type-hours-movil.active,
#next-step-2:active,
#send-form:active,
#next-step-2.active,
#send-form.active {
    background-color: #DAD4F7 !important;
    border-color: #4D2AA4 !important;
    color: #000000 !important;
}

/* Specific Navigation Buttons size and pill shapes */
#next-step-2,
#send-form {
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: none !important;
    cursor: pointer !important;
    width: auto !important;
    float: none !important;
}

/* Purple links reference */
.text-blue,
.text-blue a,
a.text-blue,
#add-more-location,
#add-more-language,
#hide-features,
#prev-step-1 {
    color: #4D2AA4 !important;
    text-decoration: none !important;
}

.text-blue:hover,
.text-blue a:hover,
a.text-blue:hover,
#prev-step-1:hover {
    color: #4D2AA4 !important;
    text-decoration: underline !important;
}

#prev-step-1 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Plus sign container background color to #4D2AA4 */
.add-more-location,
.add-more-language {
    background-color: #4D2AA4 !important;
}

/* JQuery UI Sliders Range Colors to Purple */
.ui-slider-horizontal .ui-slider-range {
    background: #4D2AA4 !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background: #4D2AA4 !important;
    border-color: #4D2AA4 !important;
}

.ui-slider-pips [class*=ui-slider-pip-selected] {
    color: #4D2AA4 !important;
}

/* Checked Custom Switches to Purple */
.custom-control-input:checked~.custom-control-label::before {
    background-color: #4D2AA4 !important;
    border-color: #4D2AA4 !important;
}

/* Counter +/- buttons hover state */
.minus:hover,
.plus:hover {
    background-color: #4D2AA4 !important;
    color: #FFFFFF !important;
}

/* Solution type cards purple selected state */
.card-option-white {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
}

.card-option-white:hover {
    border-color: #4D2AA4 !important;
}

.card-option-white.active {
    background-color: #DAD4F7 !important;
    border-color: #4D2AA4 !important;
}

.form-check-input:checked {
    background-color: #4D2AA4 !important;
    border-color: #4D2AA4 !important;
}

/* Fix for equal height columns when banners are outside */
.row.equal {
    display: flex !important;
    flex-wrap: wrap !important;
}

.row.equal>[class*='col-'] {
    display: flex !important;
    flex-direction: column !important;
}

.row.equal>[class*='col-']>.card-quote {
    flex-grow: 1 !important;
    height: auto !important;
}