.dashboard-inicio {
   background: rgba(255, 248, 242, 0.82);
  border: 1px solid rgba(192, 138, 107, 0.20);
  box-shadow: 0 14px 30px rgba(80, 56, 42, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dashboard-inicio.is-hidden {
    display: none !important;
}

.dashboard-mini-head {
    text-align: center;
    margin-bottom: 10px;
}

.dashboard-badge {
    /* display: inline-block;
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #e8f7ff;
    background: rgba(0, 198, 251, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18); */

  color: #5A4032;
  background: rgba(192, 138, 107, 0.18);
  border: 1px solid rgba(192, 138, 107, 0.22);


}

.dashboard-mini-head h2 {
    margin: 0 0 4px;
    font-size: 0.96rem;
    line-height: 1.2;
    color: #fff;
}

.dashboard-mini-head p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.28;
    color: rgba(255,255,255,0.80);
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin: 10px 0 12px;
}

.dashboard-mini-card {
    min-height: 68px;
    border: none;
    border-radius: 10px;
    padding: 7px 5px 6px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    text-align: center;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dashboard-mini-card:hover,
.dashboard-mini-card.is-active {
    transform: scale(1.04);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.dashboard-mini-icon {
    font-size: 15px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.28));
}

.dashboard-mini-title {
    font-size: 9px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.2px;
}

.dashboard-mini-text {
    font-size: 9px;
    line-height: 1.1;
    color: rgba(255,255,255,0.78);
}

.dashboard-mini-panel {
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 12px;
}

.dashboard-panel-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #fff;
    font-size: 0.98rem;
}

.dashboard-panel-head strong {
    font-size: 0.98rem;
    line-height: 1.15;
}

#dashboard-panel-text {
    margin: 0 0 8px;
    font-size: 0.71rem;
    line-height: 1.3;
    color: rgba(255,255,255,0.82);
}

.dashboard-demo-compact {
    margin:0 auto;
    max-width: 500px;
     
    padding: 8px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
}

.demo-compact-title {
    /* font-size: 0.68rem; */
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: #eef8ff;
}

.demo-compact-row {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.64rem;
    color: rgba(255,255,255,0.80);
}

.demo-compact-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    overflow: hidden;
}

.demo-compact-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #00c6fb, #005bea);
}

.dashboard-demo-note {
    margin-top: 8px;
    font-size: 0.65rem;
    line-height: 1.25;
    color: rgba(255,255,255,0.78);
}

.dashboard-footer-cta {
    text-align: center;
}

.btn-dashboard-cta {
    max-width: 280px;
    border: none;
    border-radius: 16px;
    padding: 11px 12px;
    font-size: 0.80rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #00C6FB, #005BEA);
    box-shadow: 0 8px 18px rgba(0, 91, 234, 0.22);
    cursor: pointer;
}

.dashboard-footer-note {
    margin: 7px 0 0;
    font-size: 0.73rem;
    line-height: 1.25;
    color: rgba(255,255,255,0.70);
}

@media (max-width: 768px) {
    .dashboard-inicio {
        margin: 8px 0 12px;
        padding: 9px 8px 10px;
        border-radius: 16px;
    }

    .dashboard-mini-grid {
        gap: 6px;
    }

    .dashboard-mini-card {
        min-height: 62px;
        padding: 6px 4px 5px;
        border-radius: 9px;
    }

    .dashboard-mini-icon {
        font-size: 14px;
    }

    .dashboard-mini-title {
        font-size: 9px;
    }

    .dashboard-mini-text {
        font-size: 9px;
    }

    #dashboard-panel-text,
    .dashboard-demo-note {
        font-size: 0.67rem;
    }

    .btn-dashboard-cta {
        font-size: 0.77rem;
        padding: 10px 11px;
    }
}

.dashboard-loading {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0F3D3E;
    margin: 12px 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    width: 300px;
}

.dashboard-loading-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(78, 75, 75, 0.18);
    border-top: 3px solid #0F3D3E;
    color: #0F3D3E;
    border-radius: 50%;
    animation: giroDashboardIA 0.9s linear infinite;
    flex-shrink: 0;
}

.dashboard-loading-text {
    font-size: 0.74rem;
    color: #0F3D3E;
    line-height: 1.25;
    text-align: center;
    
}

@keyframes giroDashboardIA {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dashboard-chart-wrap {
    margin-top: 8px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-chart-title {
    font-size: 0.82rem;
    /* font-weight: 700; */
    color: #0F3D3E;
    text-align: center;
    margin-bottom: 4px;
    line-height: 1.25;
}

.dashboard-comparativa-subtext {
    margin: 0 0 10px;
    font-size: 0.8rem;
    line-height: 1.25;
    text-align: center;
    color: rgba(255,255,255,0.72);
}

.dashboard-vertical-chart {
    /* min-width: 400px; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: end;
    height: 180px;
    margin: 8px 0 10px;
    padding: 8px 4px 2px;
    border-radius: 12px;
    background:
        linear-gradient(to top, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 100% 25%;
}

.chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.chart-value {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.chart-bar-area {
    width: 34px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.10);
    padding: 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.chart-bar {
    width: 100%;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #00C6FB 0%, #005BEA 100%);
    transition: height 0.7s ease;
    box-shadow: 0 0 12px rgba(0, 198, 251, 0.28);
}

.chart-label {
    margin-top: 7px;
    font-size: 0.64rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    color: rgba(255,255,255,0.84);
    word-break: break-word;
}

@media (max-width: 768px) {
    .dashboard-vertical-chart {
        gap: 8px;
        height: 165px;
    }

    .chart-bar-area {
        width: 28px;
        height: 108px;
    }

    .chart-value {
        font-size: 0.62rem;
    }

    .chart-label {
        font-size: 0.58rem;
    }
}

.dashboard-inicio.is-loading {
    opacity: 0.75;
    transition: opacity 0.25s ease;
}

.dashboard-mini-card.is-active {
    transform: scale(1.05);
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.dashboard-mini-panel {
    transition: all 0.3s ease;
}

.dashboard-mini-panel.animate {
    opacity: 0;
    transform: translateY(5px);
}



@media (max-width: 500px) {
    .dashboard-vertical-chart {
        /* grid-template-columns: repeat(2, 1fr); */
        height: auto; /* 🔥 clave */
    }
}

@media (max-width:400px) {
    .dashboard-vertical-chart {
        /* grid-template-columns: 1fr; */
    }
}



.dashboard-inicio {
  background: rgba(255, 248, 242, 0.82);
  border: 1px solid rgba(192, 138, 107, 0.20);
  box-shadow: 0 14px 30px rgba(80, 56, 42, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dashboard-badge {
  color: #5A4032;
  background: rgba(192, 138, 107, 0.18);
  border: 1px solid rgba(192, 138, 107, 0.22);
}

.dashboard-mini-head h2,
.dashboard-panel-head,
.dashboard-panel-head strong,
.demo-compact-title,
.dashboard-chart-title {
  color: #3A312C;
}

.dashboard-mini-head p,
#dashboard-panel-text,
.dashboard-demo-note,
.dashboard-comparativa-subtext,
.dashboard-footer-note {
  color: rgba(58, 49, 44, 0.78);
}

.dashboard-mini-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(192, 138, 107, 0.18);
  color: #3A312C;
}

.dashboard-mini-card:hover,
.dashboard-mini-card.is-active {
  background: rgba(240, 222, 205, 0.88);
  box-shadow: 0 8px 18px rgba(80, 56, 42, 0.14);
}

.dashboard-mini-icon {
  filter: none;
  color: #0F3D3E;
}

.dashboard-mini-text,
.chart-label {
  color: rgba(58, 49, 44, 0.82);
}

.demo-compact-bar {
  background: rgba(192, 138, 107, 0.16);
}

.demo-compact-bar i,
.chart-bar {
  background: linear-gradient(180deg, #C08A6B 0%, #9E6F56 100%);
  box-shadow: 0 0 10px rgba(192, 138, 107, 0.18);
}

.btn-dashboard-cta {
  background: linear-gradient(90deg, #C08A6B, #A77458);
  color: #fff;
  box-shadow: 0 8px 18px rgba(192, 138, 107, 0.24);
}

.chart-bar-area {
  background: rgba(15, 61, 62, 0.08);
  box-shadow: inset 0 0 0 1px rgba(15, 61, 62, 0.06);
}

.chart-value {
  color: #3A312C;
}

.lista-fuentes {
    margin: 8px 0 0 18px;
    padding: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #7A6A60;
    text-align: left;
}

.lista-fuentes li {
    margin-bottom: 4px;
}


.cuestion_gad {
    left:0;
    right:0;
    margin: 0 auto;
    background: #cfe1cc;
    border: 4px solid rgba(15, 61, 62, 0.15);
    border-radius: 14px;
    max-width:400px;
    padding: 14px 16px;
    margin: 15px 0;

    box-shadow: 0 6px 18px rgba(46, 32, 24, 0.12);

    font-size: 13px;
    color: rgba(15, 61, 62, 0.15);
}

#mensaje-inicial {
    margin-bottom: 10px;
    line-height: 1.4;
   color:  rgb(15, 61, 62);
   font-size: 14px;
   font-weight: 700;
}




.gad7-overlay {

    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100% !important;

    display: none !important;
    justify-content: center !important;
    /* align-items: center !important; */
    align-items: flex-start !important;
    padding-top: 5vh !important;

    padding: 16px !important;
    box-sizing: border-box !important;

    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(2px);

    z-index: 999999 !important;
}

.gad7-overlay.activo {
    display: flex !important; /* 🔥 solo aparece cuando tenga esta clase */
}

.gad7-modal {
    position: relative !important;
    width: min(92vw, 500px) !important;
    max-width: 500px !important;
    max-height: 88vh !important;
    top:10px;
    /* margin: auto !important; */
    box-sizing: border-box !important;

    /* overflow-y: auto !important; */

    background: rgba(255, 248, 242, 0.98) !important;
    border: 1px solid rgba(15, 61, 62, 0.18) !important;
    border-radius: 18px !important;

    padding: 18px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35) !important;
    color: #3A312C !important;
}



.gad7-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;

    width: 28px;
    height: 28px;

    border: none;
    border-radius: 50%;
    background: #d94141;
    color: white;
    cursor: pointer;
}


.btn_redondo {
  background: linear-gradient(90deg, #d4bcae, #f1c3aa);
  color: #3A312C;
  box-shadow: 0 8px 18px rgba(103, 74, 58, 0.74);
}

#id_genero, #id_edad{
    margin-left:30px !important;
}
