/* static/app/plan.css */

.view-container.plan{
    height:100%;  
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
    box-sizing:border-box;
    scrollbar-gutter: stable;
}

.view-container.plan::-webkit-scrollbar{
    width:6px;
}

.view-container.plan::-webkit-scrollbar-thumb{
    background:#c8c1b4;
    border-radius:4px;
}

.view-container.plan::-webkit-scrollbar-track{
    background:transparent;
}

.plan-inner{
    max-width:900px;
    width:100%;
    margin:0 auto;
    padding:32px 0 40px;
    box-sizing:border-box;
}

/* HEADER */
h1{
    font-size:30px;
    color:#375e65;
    text-align:center;
    margin-top:10px;
}

h1 span{
    color:#c48a38;
}

.sub{
    text-align:center;
    color:#8a8375;
    margin-bottom:50px;
}

/* COMPARACIÓN */
.plan-comparacion{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    align-items:stretch;
}

.plan-card{
    background:#f6f3ed;
    border:1px solid #d0c8bb;
    border-radius:16px;
    padding:28px;
}

.plan-pro{
    border:1px solid #c48a38;
}

.plan-card h3{
    font-size:18px;
    color:#375e65;
    margin-bottom:16px;
    font-weight:500;
}

.plan-card ul{
    list-style:none;
    padding:0;
    margin:0 0 20px 0;
    font-size:13.5px;
    color:#6f6a5f;
    line-height:1.45;
}

.plan-precio{
    font-size:20px;
    color:#375e65;
    font-weight:500;
    margin-bottom:12px;
}

/* TÉRMINOS */
.terminos{
    margin-bottom:14px;
}

.terminos-label{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:11px;
    color:#6f6a5f;
    line-height:1.4;
    cursor:pointer;
}

.terminos-label input{
    margin-top:2px;
    accent-color:#c48a38;
    cursor:pointer;
}

.terminos-label a{
    color:#c48a38;
    text-decoration:none;
    font-weight:500;
}

.terminos-label a:hover{
    text-decoration:underline;
}

/* BOTONES */
.btn-plan{
    width:100%;
    background:#c48a38;
    color:white;
    border:none;
    padding:12px 16px;
    border-radius:8px;
    cursor:pointer;
    font-size:13px;
    font-weight:500;
    margin-bottom:10px;
    transition:all 0.2s ease;
}

.btn-plan:hover{
    transform:translateY(-1px);
}

.btn-plan.secundario{
    background:#ded8cc;
    color:#2c3c3d;
    border:1px solid #d0c8bb;
}

.plan-anual{
    font-size:12.5px;
    color:#8a8375;
    margin-bottom:8px;
}

/* TABLA */
.plan-tabla{
    margin-top:40px;
}

.plan-tabla h3{
    text-align:center;
    margin-bottom:15px;
    color:#375e65;
    font-size:18px;
    font-weight:500;
}

.plan-tabla table{
    width:100%;
    border-collapse:collapse;
    font-size:13px;
    background:#f6f3ed;
    border-radius:12px;
    overflow:hidden;
}

.plan-tabla th{
    background:#375e65;
    color:white;
    padding:10px;
    font-weight:500;
}

.plan-tabla td{
    padding:10px;
    border:1px solid #ddd;
    text-align:center;
    color:#6f6a5f;
}

.plan-tabla td:first-child{
    text-align:left;
}

/* FRANJA */
.plan-franja{
    margin-top:40px;
    background:#f3e2c7;
    border-radius:12px;
    padding:12px 20px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:36px;
    font-size:13.5px;
    color:#6f6a5f;
    letter-spacing:0.2px;
}

/* LOADER STRIPE */
.cargador-overlay{
    position:fixed;
    inset:0;
    background:rgba(44, 60, 61, 0.36);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.cargador-contenido{
    width:420px;
    max-width:90%;
    background:#f6f3ed;
    border:1px solid #d0c8bb;
    border-radius:16px;
    padding:26px 24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    text-align:center;
}

.cargador-texto{
    margin:0 0 14px 0;
    font-size:14px;
    color:#375e65;
    font-weight:500;
}

.barra-progreso{
    width:100%;
    height:12px;
    background:#e7e3da;
    border-radius:999px;
    overflow:hidden;
    border:1px solid #d0c8bb;
}

.barra-interna{
    width:0%;
    height:100%;
    background:#c48a38;
    border-radius:999px;
}

@keyframes animarCarga{
    0%{ width:0%; }
    20%{ width:22%; }
    45%{ width:48%; }
    70%{ width:74%; }
    90%{ width:92%; }
    100%{ width:96%; }
}