body.bc-modal-open {
    overflow: hidden;
}

/* ===== MODAL ===== */
.bc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.bc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}

.bc-modal-content {
    position: relative;
    z-index: 2;
    width: min(96vw, 1180px);
    max-height: 94vh;
    overflow-y: auto;
    margin: 3vh auto;
    background: #f3f1ee;
    border-radius: 0;
    padding: 12px 22px 26px;
    box-sizing: border-box;
    margin-top:100px;
}

.bc-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #d9d9d9;
    color: #111;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ===== FALLBACK ===== */
.bc-coming-soon {
    padding: 40px 20px;
    text-align: center;
    font-size: 22px;
    color: #1f1f1f;
}

/* ===== TIEMPO CONTIGO ===== */
.tc-modal-wrap {
    color: #111;
    font-family: "Montserrat", sans-serif;
}

.tc-main-title,
.tc-panel-title,
.tc-fieldset-title,
.tc-time-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.tc-main-title {
    text-align: center;
    font-size: 27px;
    line-height: 1.1;
    margin: 0 0 8px;
}

.tc-head-row {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    margin: 0 auto 14px;
    max-width: 1050px;
}

.tc-heart-wrap {
    width: 118px;
    min-width: 118px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2px;
}

.tc-heart-icon {
    width: 90px;
    height: auto;
    object-fit: contain;
    display: block;
}

.tc-head-info {
    flex: 1;
    min-width: 0;
}

.tc-meta-pill {
    height: 34px;
    border-radius: 18px;
    background: #9fd0cf;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 14px;
    max-width: 620px;
    box-sizing: border-box;
}

.tc-meta-left,
.tc-meta-goal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e2d2f;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.tc-meta-goal {
    white-space: normal;
    line-height: 1.2;
}

.tc-cal-icon,
.tc-meta-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tc-cal-icon svg {
    width: 18px;
    height: 18px;
}

.tc-meta-caret svg {
    width: 14px;
    height: 14px;
}

.tc-meta-divider {
    width: 1px;
    height: 18px;
    background: rgba(30, 45, 47, 0.25);
    flex: 0 0 1px;
}

.tc-top-progress-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    max-width: 690px;
}

.tc-top-progress {
    flex: 1;
    height: 10px;
    border-radius: 999px;
    background: transparent;
    position: relative;
}

.tc-top-progress-fill {
    width: 100%;
    height: 100%;
    background: #6a8f92;
    border-radius: 999px;
}

.tc-top-progress-text {
    font-size: 31px;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    margin-top: -1px;
}

/* PANEL */
.tc-panel {
    max-width: 1050px;
    margin: 14px auto 0;
    background: #9fd0cf;
    border-radius: 22px;
    padding: 12px 28px 28px;
    box-sizing: border-box;
}

.tc-panel-title {
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
    margin: 2px 0 14px;
}

/* FIELDSET */
.tc-fieldset {
    border: 3px solid #6f8e92;
    border-radius: 16px;
    padding: 8px 18px 14px;
    margin-bottom: 12px;
}

.tc-fieldset-title {
    text-align: center;
    font-size: 22px;
    line-height: 1.15;
    margin: 0 0 10px;
}

.tc-chip-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}

.tc-chip {
    min-width: 94px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid #6f8e92;
    background: transparent;
    color: #1e2d2f;
    font-size: 14px;
    line-height: 1;
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

.tc-chip.is-active {
    background: #6f8e92;
    color: #fff;
}

.tc-chip-group-actions .tc-chip {
    min-width: 96px;
}

/* TIME */
.tc-time-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 8px 0 12px;
    flex-wrap: wrap;
}

.tc-time-title {
    font-size: 22px;
    line-height: 1.1;
}

.tc-chip-group-time {
    gap: 10px 14px;
}

.tc-chip-time {
    min-width: 86px;
    height: 32px;
}

/* ENERGY */
.tc-energy-box {
    padding-top: 10px;
    padding-bottom: 8px;
}

.tc-energy-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 2px;
}

.tc-energy-item {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    line-height: 1;
}

.tc-energy-flower {
    display: inline-block;
    font-size: 52px;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.tc-energy-flower.is-dark {
    color: #000;
}

.tc-energy-flower.is-light {
    color: #b7b0b0;
}

.tc-energy-flower.is-mix-left {
    background: linear-gradient(to right, #000 50%, #b7b0b0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.tc-energy-flower.is-mix-right {
    background: linear-gradient(to right, #b7b0b0 50%, #000 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.tc-energy-item.is-active .tc-energy-flower {
    transform: scale(1.04);
}

.tc-energy-labels {
    margin-top: 2px;
    display: flex;
    justify-content: center;
    gap: 160px;
    font-size: 14px;
    color: #1f1f1f;
}

/* ACTIONS */
.tc-actions {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.tc-save-btn {
    min-width: 164px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #6f8e92;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .bc-modal-content {
        width: 100vw;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        padding: 14px 14px 24px;
    }

    .tc-head-row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .tc-heart-wrap {
        width: auto;
        min-width: 0;
        padding-top: 0;
    }

    .tc-heart-icon {
        width: 84px;
    }

    .tc-head-info {
        width: 100%;
    }

    .tc-meta-pill {
        max-width: 100%;
        height: auto;
        min-height: 42px;
        padding: 10px 12px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tc-meta-divider {
        display: none;
    }

    .tc-top-progress-row {
        max-width: 100%;
    }

    .tc-panel {
        padding: 14px 14px 20px;
        border-radius: 18px;
    }

    .tc-panel-title {
        font-size: 24px;
    }

    .tc-fieldset {
        padding: 10px 10px 14px;
    }

    .tc-fieldset-title,
    .tc-time-title {
        font-size: 20px;
    }

    .tc-energy-scale {
        gap: 8px;
        flex-wrap: wrap;
    }

    .tc-energy-flower {
        font-size: 42px;
    }

    .tc-energy-labels {
        gap: 40px;
        font-size: 13px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .tc-main-title {
        font-size: 22px;
        margin-top: 6px;
    }

    .bc-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .tc-meta-left,
    .tc-meta-goal {
        font-size: 13px;
    }

    .tc-top-progress {
        height: 8px;
    }

    .tc-top-progress-text {
        font-size: 16px;
    }

    .tc-panel-title {
        font-size: 20px;
    }

    .tc-fieldset-title,
    .tc-time-title {
        font-size: 18px;
    }

    .tc-chip {
        min-width: auto;
        padding: 0 12px;
        font-size: 13px;
    }

    .tc-time-block {
        gap: 12px;
    }

    .tc-energy-scale {
        gap: 6px;
    }

    .tc-energy-flower {
        font-size: 34px;
    }

    .tc-energy-labels {
        justify-content: space-between;
        gap: 10px;
        padding: 0 10px;
    }

    .tc-save-btn {
        width: 100%;
        max-width: 220px;
    }
}

/* ===== DIAS SIN ALCOHOL ===== */

.dsa-container{
    text-align:center;
}

.dsa-title{
    font-size:26px;
    margin-bottom:10px;
}

.dsa-header{
    display:flex;
    align-items:center;
    gap:20px;
    justify-content:center;
}

.dsa-big-icon{
    width:80px;
}

.dsa-pill{
    background:#9DCECC;
    padding:8px 15px;
    border-radius:20px;
    display:flex;
    gap:15px;
}

.dsa-progress-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}

.dsa-progress{
    width:200px;
    height:6px;
    background:#ddd;
    border-radius:10px;
}

.dsa-progress-fill{
    height:100%;
    background:#5A8F8D;
}

.dsa-box{
    background:#9DCECC;
    padding:20px;
    border-radius:20px;
    margin-top:20px;
}

.dsa-grid{
    display:grid;
    grid-template-columns: repeat(6, 1fr);
    gap:10px;
    margin:20px 0;
}

.dsa-day{
    cursor:pointer;
}

.dsa-number{
    font-size:12px;
}

.dsa-icon{
    width:30px;
    display:block;
    margin:0 auto;
}

.dsa-fill{
    fill:transparent;
}

.dsa-day.active .dsa-fill{
    fill:#000;
}

.dsa-actions{
    display:flex;
    justify-content:center;
    gap:20px;
}

.dsa-btn-primary{
    background:#5A8F8D;
    color:#fff;
    padding:10px 20px;
    border-radius:20px;
}

.dsa-btn-secondary{
    background:#6f8e92;
    color:#fff;
    padding:10px 20px;
    border-radius:20px;
}

/* MOBILE */
@media(max-width:768px){
    .dsa-grid{
        grid-template-columns: repeat(5,1fr);
    }

    .dsa-header{
        flex-direction:column;
    }
}

/* ===== RELACIONES ===== */
.rel-modal-wrap{
    font-family:"Montserrat", sans-serif;
    color:#111;
}

.rel-panel{
    max-width:1050px;
    margin:0 auto;
    background:#9fd0cf;
    border-radius:22px;
    padding:16px 28px 28px;
    box-sizing:border-box;
}

.rel-fieldset{
    border:3px solid #6f8e92;
    border-radius:16px;
    padding:8px 18px 14px;
    margin-bottom:20px;
}

.rel-fieldset-title{
    margin:0 0 10px;
    text-align:center;
    font-family:Georgia, "Times New Roman", serif;
    font-size:25px;
    font-weight:400;
    line-height:1.12;
}

.rel-chip-group{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

.rel-chip{
    min-width:90px;
    height:30px;
    padding:0 18px;
    border-radius:999px;
    border:2px solid #6f8e92;
    background:transparent;
    color:#1e2d2f;
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    line-height:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-sizing:border-box;
}

.rel-chip.is-active{
    background:#6f8e92;
    color:#fff;
}

.rel-summary{
    text-align:center;
    margin:8px 0 18px;
}

.rel-summary p{
    margin:4px 0;
    font-family:Georgia, "Times New Roman", serif;
    font-size:24px;
    line-height:1.18;
    font-weight:400;
    color:#111;
}

.rel-actions{
    display:flex;
    justify-content:center;
}

.rel-btn-primary{
    min-width:160px;
    height:34px;
    border:none;
    border-radius:999px;
    background:#6f8e92;
    color:#fff;
    font-family:"Montserrat", sans-serif;
    font-size:14px;
    cursor:pointer;
    padding:0 26px;
}

@media (max-width: 991px){
    .rel-panel{
        padding:14px 14px 20px;
        border-radius:18px;
    }

    .rel-fieldset{
        padding:10px 10px 14px;
        margin-bottom:16px;
    }

    .rel-fieldset-title{
        font-size:21px;
    }

    .rel-summary p{
        font-size:20px;
    }
}

@media (max-width: 640px){
    .rel-fieldset-title{
        font-size:18px;
    }

    .rel-chip{
        min-width:auto;
        padding:0 14px;
        font-size:13px;
    }

    .rel-summary p{
        font-size:16px;
        line-height:1.25;
    }

    .rel-btn-primary{
        width:100%;
        max-width:220px;
    }
}

/* ===== AHORRO ===== */

.ahorro-container{
    text-align:center;
    font-family:Montserrat, sans-serif;
}

.ahorro-title{
    font-size:28px;
    margin-bottom:10px;
}

.ahorro-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.ahorro-icon{
    width:80px;
}

.ahorro-pill{
    background:#9DCECC;
    padding:8px 15px;
    border-radius:20px;
    display:flex;
    gap:15px;
}

.ahorro-progress-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}

.ahorro-progress{
    width:220px;
    height:6px;
    background:#ddd;
    border-radius:10px;
}

.ahorro-progress-fill{
    height:100%;
    background:#5A8F8D;
}

.ahorro-box{
    background:#9DCECC;
    margin-top:20px;
    padding:25px;
    border-radius:20px;
}

.ahorro-total{
    font-size:28px;
    margin-bottom:15px;
}

.ahorro-icons{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:15px;
}

.ahorro-step{
    width:40px;
    height:40px;
    border:2px solid #fff;
    border-radius:8px;
}

.ahorro-step.active{
    background:#5A8F8D;
}

.ahorro-options{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin:15px 0;
}

.ahorro-pill-btn{
    padding:8px 15px;
    border-radius:20px;
    border:2px solid #6f8e92;
    background:transparent;
    cursor:pointer;
}

.ahorro-pill-btn.active{
    background:#6f8e92;
    color:#fff;
}

.ahorro-input-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:15px 0;
}

.ahorro-input-row input{
    width:150px;
    padding:8px;
    border-radius:10px;
    border:1px solid #ccc;
}

.ahorro-btn{
    background:#5A8F8D;
    color:#fff;
    padding:10px 25px;
    border-radius:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .ahorro-header{
        flex-direction:column;
    }

    .ahorro-progress{
        width:100%;
    }

    .ahorro-input-row{
        flex-direction:column;
    }

    .ahorro-input-row input{
        width:100%;
    }

    .ahorro-btn{
        width:100%;
    }
}

/* ===== PRESENCIA AMIGOS ===== */

.pca-container{
    text-align:center;
    font-family:Montserrat, sans-serif;
}

.pca-title{
    font-size:26px;
    margin-bottom:10px;
}

.pca-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.pca-icon{
    width:80px;
}

.pca-pill{
    background:#9DCECC;
    padding:8px 15px;
    border-radius:20px;
    display:flex;
    gap:15px;
}

.pca-progress-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}

.pca-progress{
    width:220px;
    height:6px;
    background:#ddd;
    border-radius:10px;
}

.pca-progress-fill{
    height:100%;
    background:#5A8F8D;
}

.pca-box{
    background:#9DCECC;
    margin-top:20px;
    padding:25px;
    border-radius:20px;
}

.pca-input-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:15px;
}

.pca-input-row input{
    padding:8px;
    border-radius:10px;
    border:1px solid #ccc;
}

.pca-fieldset{
    border:2px solid #6f8e92;
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
}

.pca-options{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:10px;
}

.pca-pill-btn{
    padding:8px 15px;
    border-radius:20px;
    border:2px solid #6f8e92;
    background:transparent;
    cursor:pointer;
}

.pca-pill-btn.active{
    background:#6f8e92;
    color:#fff;
}

.pca-split{
    display:flex;
    gap:20px;
    margin:15px 0;
}

.pca-col{
    flex:1;
    border-top:2px solid #6f8e92;
    padding-top:10px;
}

.pca-btn{
    margin-top:15px;
    background:#5A8F8D;
    color:#fff;
    padding:10px 25px;
    border-radius:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .pca-header{
        flex-direction:column;
    }

    .pca-split{
        flex-direction:column;
    }

    .pca-input-row{
        flex-direction:column;
    }

    .pca-input-row input{
        width:100%;
    }

    .pca-btn{
        width:100%;
    }
}


/* ===== LLAMADA FAMILIAR ===== */

.lf-container{
    text-align:center;
    font-family:Montserrat, sans-serif;
}

.lf-title{
    font-size:26px;
    margin-bottom:10px;
}

.lf-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.lf-icon{
    width:80px;
}

.lf-pill{
    background:#9DCECC;
    padding:8px 15px;
    border-radius:20px;
    display:flex;
    gap:15px;
}

.lf-progress-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}

.lf-progress{
    width:220px;
    height:6px;
    background:#ddd;
    border-radius:10px;
}

.lf-progress-fill{
    height:100%;
    background:#5A8F8D;
}

.lf-box{
    background:#9DCECC;
    margin-top:20px;
    padding:25px;
    border-radius:20px;
}

.lf-input-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:15px;
}

.lf-input-row input{
    padding:8px;
    border-radius:10px;
    border:1px solid #ccc;
}

.lf-fieldset{
    border:2px solid #6f8e92;
    padding:15px;
    border-radius:15px;
    margin-bottom:15px;
}

.lf-options{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:10px;
}

.lf-pill-btn{
    padding:8px 15px;
    border-radius:20px;
    border:2px solid #6f8e92;
    background:transparent;
    cursor:pointer;
}

.lf-pill-btn.active{
    background:#6f8e92;
    color:#fff;
}

.lf-split{
    display:flex;
    gap:20px;
    margin:15px 0;
}

.lf-col{
    flex:1;
    border-top:2px solid #6f8e92;
    padding-top:10px;
}

.lf-col input{
    margin-top:10px;
    width:100%;
    padding:8px;
    border-radius:10px;
    border:1px solid #ccc;
}

.lf-btn{
    margin-top:15px;
    background:#5A8F8D;
    color:#fff;
    padding:10px 25px;
    border-radius:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .lf-header{
        flex-direction:column;
    }

    .lf-split{
        flex-direction:column;
    }

    .lf-input-row{
        flex-direction:column;
    }

    .lf-input-row input{
        width:100%;
    }

    .lf-btn{
        width:100%;
    }
}