/* =========================
   CONTENEDOR GENERAL
========================= */
.bc-agua {
    max-width: 900px;
    margin: 0 auto;
}

.bc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.bc-modal-content {
    background: #f4f4f4;
    width: 90%;
    max-width: 980px;
    margin: 80px auto;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    z-index:1;
}

.bc-close {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
}

/* =========================
   HEADER
========================= */
.bc-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bc-agua-icon {
    width: 70px;
}

/* PILL */
.bc-pill {
    background: #8ebbbb;
    padding: 10px 18px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

/* PROGRESS */
.bc-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.bc-bar {
    width: 220px;
    height: 10px;
    background: #d9d9d9;
    border-radius: 20px;
    overflow: hidden;
}

.bc-fill {
    height: 100%;
    background: #5f8f8b;
    border-radius: 20px;
}

/* =========================
   CARD PRINCIPAL
========================= */
.bc-main-card {
    background: #9DCECC;
    padding: 30px;
    border-radius: 30px;
    margin-top: 25px;
    text-align: center;
}

/* TITULO */
.bc-main-card h3 {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* =========================
   VASOS (MEJORADOS)
========================= */
.bc-vasos {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.bc-vaso {
    width: 22px;
    height: 45px;
    border: 2px solid #2f4f4f;
    border-radius: 4px;
    position: relative;
}

/* efecto "agua" */
.bc-vaso::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: #2f4f4f;
}

/* =========================
   HISTORIAL
========================= */
.bc-historial {
    background: #6f9999;
    padding: 20px;
    border-radius: 25px;
    text-align: left;
}

.bc-historial h4 {
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
}

/* GRID */
.bc-historial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ITEMS */
.bc-h-item {
    background: white;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* =========================
   BOTONES
========================= */
.bc-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.bc-btn-secondary {
    background: #7fa3a3;
    color: white;
    border-radius: 25px;
    padding: 10px 20px;
    border: none;
}

.bc-save {
    background: #5A8F8D;
    color: white;
    border-radius: 25px;
    padding: 10px 30px;
    border: none;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 768px){

    .bc-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-bar {
        width: 100%;
    }

    .bc-historial-grid {
        grid-template-columns: 1fr;
    }

    .bc-actions {
        flex-direction: column;
    }

}

/* MOBILE */
@media (max-width: 480px){

    .bc-main-card {
        padding: 20px;
    }

    .bc-vasos {
        flex-wrap: wrap;
    }

    .bc-vaso {
        width: 18px;
        height: 35px;
    }

    .bc-pill {
        flex-direction: column;
        gap: 5px;
    }

}
/******VASO**********/
.bc-vaso {
    width: 22px;
    height: 45px;
    border: 2px solid #2f4f4f;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bc-agua-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: #2f4f4f;
}

/* =========================
   SUEÑO
========================= */

.bc-sueno {
    max-width: 900px;
    margin: 0 auto;
}

/* INPUTS */
.bc-sueno-inputs {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.bc-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #a7cfcf;
    padding: 12px;
    border-radius: 15px;
}

.bc-input-group label {
    font-size: 13px;
    margin-bottom: 5px;
}

.bc-input-group select {
    border: none;
    background: transparent;
    font-size: 14px;
}

/* RESULTADO */
.bc-sueno-result {
    background: #6f9999;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin: 10px auto;
}

/* CALIDAD */
.bc-sueno-calidad {
    border: 2px solid #5f8f8b;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.bc-calidad-options {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.bc-calidad-item {
    text-align: center;
    cursor: pointer;
}

.bc-cloud {
    font-size: 24px;
}

/* HISTORIAL AJUSTE */
.bc-sueno .bc-h-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px){

    .bc-sueno-inputs {
        flex-direction: column;
    }

    .bc-calidad-options {
        flex-direction: column;
        gap: 10px;
    }

}

/* =========================
   PASOS
========================= */

.bc-pasos {
    max-width: 900px;
    margin: 0 auto;
}

/* TOTAL */
.bc-pasos-total {
    font-size: 22px;
    margin-bottom: 15px;
}

/* INPUT */
.bc-pasos-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bc-pasos-input input {
    flex: 1;
    padding: 12px;
    border-radius: 20px;
    border: none;
    background: #e5e5e5;
}

.bc-pasos-input button {
    border-radius: 20px;
    padding: 10px 20px;
}

/* BOX CENTRAL */
.bc-pasos-box {
    border: 2px solid #5f8f8b;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

/* ESTRELLAS */
.bc-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 20px;
}

.bc-star {
    font-size: 22px;
    color: transparent;
    -webkit-text-stroke: 1px #2f4f4f;
}

.bc-star.active {
    color: #2f4f4f;
}

/* COMPARACIÓN */
.bc-compare {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bc-option {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #5f8f8b;
    background: transparent;
}

.bc-option.active {
    background: #5f8f8b;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-pasos-input {
        flex-direction: column;
    }

    .bc-compare {
        flex-direction: column;
    }

}

/* =========================
   COMIDAS
========================= */

.bc-comidas {
    max-width: 900px;
    margin: 0 auto;
}

/* GRID */
.bc-meals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

/* ITEM */
.bc-meal-item {
    text-align: center;
}

/* ICONO */
.bc-meal-icon {
    border: 2px solid #fff;
    border-radius: 15px;
    padding: 15px;
    font-size: 28px;
    margin-bottom: 10px;
}

/* TITULO */
.bc-meal-title {
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

/* INPUT */
.bc-meal-input {
    display: flex;
    align-items: center;
    background: #e5e5e5;
    border-radius: 20px;
    padding: 5px 10px;
}

.bc-meal-input input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 12px;
}

.bc-pencil {
    font-size: 12px;
}

/* BOX */
.bc-comidas-box {
    border: 2px solid #5f8f8b;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

/* LABELS */
.bc-comidas-labels {
    display: flex;
    justify-content: space-around;
    font-size: 13px;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-meals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 480px){

    .bc-meals-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================
   SOL
========================= */

.bc-sol {
    max-width: 900px;
    margin: 0 auto;
}

/* CONTROL TIEMPO */
.bc-time-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.bc-time-btn {
    border: 2px solid #5f8f8b;
    background: transparent;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 18px;
}

.bc-time-value {
    background: #e5e5e5;
    padding: 10px 20px;
    border-radius: 10px;
}

/* BOX */
.bc-sol-box {
    border: 2px solid #5f8f8b;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

/* LABELS */
.bc-sol-labels {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-time-control {
        flex-direction: column;
    }

}

/* =========================
   ESTIRAMIENTOS
========================= */

.bc-estiramientos {
    max-width: 900px;
    margin: 0 auto;
}

/* TOTAL */
.bc-estiramientos-total {
    font-size: 20px;
    margin-bottom: 15px;
}

/* INPUT */
.bc-estiramientos-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.bc-estiramientos-input input {
    flex: 1;
    padding: 12px;
    border-radius: 20px;
    border: none;
    background: #e5e5e5;
}

/* GROUP */
.bc-estiramientos-group {
    margin: 15px 0;
}

.bc-estiramientos-title {
    border: 2px solid #5f8f8b;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
}

/* TAGS */
.bc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bc-tag {
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #5f8f8b;
    background: transparent;
    cursor: pointer;
}

.bc-tag.active {
    background: #5f8f8b;
    color: white;
}

/* GRID DOBLE */
.bc-estiramientos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

/* BOX */
.bc-est-box {
    display: flex;
    flex-direction: column;
}

/* HEADER TIPO INPUT */
.bc-est-header {
    border: 2px solid #5f8f8b;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    background: transparent;
}

/* TAGS MEJORADOS */
.bc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* HISTORIAL TARJETA */
.bc-historial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
}

/* ITEM HISTORIAL */
.bc-estiramientos .bc-h-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.bc-estiramientos .bc-h-item:last-child {
    border-bottom: none;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-estiramientos-grid {
        grid-template-columns: 1fr;
    }

}


/* HISTORIAL AJUSTE */
.bc-estiramientos .bc-h-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-estiramientos-input {
        flex-direction: column;
    }

}

/* =========================
   SKINCARE
========================= */

.bc-skincare {
    max-width: 900px;
    margin: 0 auto;
}

/* GRID */
.bc-skin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* BOX */
.bc-skin-box {
    background: #f4f4f4;
    border-radius: 15px;
    padding: 15px;
}

/* HEADER */
.bc-skin-header {
    font-weight: 500;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

/* ITEM */
.bc-skin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

/* LEFT */
.bc-skin-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ACTIONS */
.bc-skin-actions {
    display: flex;
    gap: 10px;
}

/* ADD */
.bc-skin-add {
    margin-top: 10px;
    text-align: right;
    font-size: 12px;
    color: #5f8f8b;
    cursor: pointer;
}

/* HISTORIAL */
.bc-skincare .bc-historial-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-skin-grid {
        grid-template-columns: 1fr;
    }

}

/* TIME ROW */
.bc-time-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.bc-time-box {
    display: flex;
    align-items: center;
    border: 2px solid #5f8f8b;
    border-radius: 10px;
    overflow: hidden;
}

.bc-time-box span {
    padding: 8px 15px;
}

.bc-time-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
}

/* SEMANA */
.bc-semana {
    background: #6f9999;
    border-radius: 25px;
    padding: 20px;
    margin-top: 20px;
}

.bc-semana-title {
    color: white;
    font-size: 14px;
}

/* CAJA BLANCA */
.bc-semana-box {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
}

/* FILAS */
.bc-semana-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

/* CELDAS */
.bc-dia {
    text-align: center;
    padding: 10px;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.bc-semana-row:last-child .bc-dia {
    border-bottom: none;
}

.bc-dia:last-child {
    border-right: none;
}

/* =========================
   EJERCICIO
========================= */

.bc-ejercicio {
    max-width: 900px;
    margin: 0 auto;
}

/* CARD ENTRENAMIENTO */
.bc-ejercicio-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 15px;
    margin: 20px 0;
}

/* TOP */
.bc-ejercicio-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.bc-ejercicio-actions {
    display: flex;
    gap: 10px;
}

/* BOTTOM */
.bc-ejercicio-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .bc-ejercicio-bottom {
        flex-direction: column;
        gap: 5px;
    }

}

/* =========================
   FORM EJERCICIO
========================= */

.bc-ejercicio-form {
    padding: 10px;
}

/* BOX */
.bc-form-box {
    border: 2px solid #5f8f8b;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

/* TITULOS */
.bc-form-box h3 {
    margin-bottom: 15px;
}

/* TAGS */
.bc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.bc-tag {
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #5f8f8b;
    background: transparent;
}

.bc-tag.active {
    background: #5f8f8b;
    color: white;
}