
:root{
 --primary:#155fa0;
 --primary-dark:#104a7c;
 --secondary:#eef4f8;
 --sidebar:#ffffff;
 --bg:#f3f6f9;
 --surface:#ffffff;
 --text:#26323f;
 --muted:#72808f;
 --border:#dce4ea;
 --shadow:0 3px 12px rgba(30,55,75,.08);
 --orange:#f29a3a;
 --green:#44a96b;
 --blue:#2f7ec1;
 --purple:#8067b7;
 --teal:#2ca7a0;
 --gold:#d5a733;
 --red:#d76262;
 --gray:#718096;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Segoe UI,Arial,sans-serif;color:var(--text)}
body{background:var(--bg)}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}

/* PUBLIC */
.public-body{background:#f6f8fb}
.public-header{height:72px;padding:0 28px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.public-brand{display:flex;gap:11px;align-items:center}.public-brand strong,.public-brand small{display:block}.public-brand small{color:var(--muted);font-size:12px}
.brand-mark{width:42px;height:42px;border-radius:12px;background:var(--primary);display:grid;place-items:center;color:#fff;font-weight:800}
.header-actions{display:flex;gap:10px}
.public-main{max-width:1180px;margin:0 auto;padding:32px 18px 60px}
.public-footer{text-align:center;padding:24px;color:var(--muted);border-top:1px solid var(--border);background:#fff}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:10px 15px;font-weight:700;border:1px solid transparent;cursor:pointer}
.btn-primary,.btn:not(.secondary):not(.danger):not(.ok):not(.warning):not(.btn-outline){background:var(--primary);color:white}
.btn-primary:hover,.btn:hover{background:var(--primary-dark)}
.btn-outline,.btn.secondary{background:#fff;color:var(--primary);border-color:var(--border)}
.btn.danger{background:#d9534f;color:#fff}.btn.ok{background:#3da267;color:#fff}.btn.warning{background:#e2a52b;color:#fff}

/* PANEL LAYOUT */
.panel-layout{min-height:100vh;display:grid;grid-template-columns:245px minmax(0,1fr)}
.panel-sidebar{background:#fff;border-right:1px solid var(--border);padding:18px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:50}
.sidebar-logo{display:flex;align-items:center;gap:11px;padding:4px 8px 20px;border-bottom:1px solid var(--border)}
.sidebar-logo strong,.sidebar-logo small{display:block}.sidebar-logo small{font-size:11px;color:var(--muted);margin-top:2px}
.sidebar-menu{display:flex;flex-direction:column;padding-top:12px}
.menu-label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#9aa7b2;font-weight:800;padding:15px 10px 6px}
.sidebar-menu a,.sidebar-bottom a{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:8px;color:#556472;font-size:14px;font-weight:600}
.sidebar-menu a span,.sidebar-bottom a span{width:20px;text-align:center}
.sidebar-menu a:hover,.sidebar-bottom a:hover{background:#f0f5f9;color:var(--primary)}
.sidebar-menu a.active{background:#e9f2f9;color:var(--primary);font-weight:800;border-left:3px solid var(--primary)}
.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:12px}

.panel-main{min-width:0}
.panel-topbar{height:72px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;padding:0 26px;position:sticky;top:0;z-index:40}
.panel-topbar h1{font-size:20px;margin:0}.panel-topbar small{color:var(--muted)}
.menu-toggle{display:none;width:40px;height:40px;border:1px solid var(--border);background:#fff;border-radius:8px}
.top-user{margin-left:auto;display:flex;align-items:center;gap:10px}
.top-user strong,.top-user small{display:block}.top-user small{font-size:11px;color:var(--muted)}
.top-user-avatar{width:38px;height:38px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800}
.panel-content{padding:26px;max-width:1400px;margin:0 auto}

/* DASHBOARD */
.panel-welcome{background:linear-gradient(135deg,#155fa0,#247ab6);color:#fff;border-radius:14px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow)}
.panel-welcome h2{font-size:29px;margin:4px 0 8px}.panel-welcome p{margin:0;opacity:.9}
.welcome-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;opacity:.85}
.welcome-date{background:rgba(255,255,255,.14);padding:10px 14px;border-radius:8px;font-weight:700}

.summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:18px}
.summary-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:17px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow)}
.summary-card:hover{border-color:#b8ccd9}
.summary-icon{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;color:#fff;font-size:20px}
.summary-icon.orange,.module-icon.orange{background:var(--orange)}.summary-icon.green,.module-icon.green{background:var(--green)}.summary-icon.blue,.module-icon.blue{background:var(--blue)}.summary-icon.purple,.module-icon.purple{background:var(--purple)}
.summary-card span{display:block;color:var(--muted);font-size:12px}.summary-card strong{display:block;font-size:27px;margin-top:3px}

.module-section{margin-top:27px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.section-head h2{font-size:22px;margin:3px 0 0}.section-label{font-size:10px;text-transform:uppercase;color:var(--primary);font-weight:800;letter-spacing:.11em}
.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.module-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;display:grid;grid-template-columns:52px minmax(0,1fr) 24px;align-items:center;gap:14px;box-shadow:var(--shadow)}
.module-card:hover{border-color:#b2c8d8;transform:translateY(-1px)}
.module-icon{width:50px;height:50px;border-radius:11px;display:grid;place-items:center;color:#fff;font-size:21px}.module-icon.teal{background:var(--teal)}.module-icon.gold{background:var(--gold)}.module-icon.red{background:var(--red)}.module-icon.gray{background:var(--gray)}
.module-info h3{font-size:17px;margin:0 0 5px}.module-info p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.module-arrow{font-size:30px;color:#b5c1ca}

.bottom-panels{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:27px}
.info-panel{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:18px}
.panel-heading h3{margin:0 0 12px;font-size:17px}
.info-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1f4}.info-row:last-child{border-bottom:0}
.quick-link{display:block;padding:10px 0;color:var(--primary);font-weight:700;border-bottom:1px solid #edf1f4}.quick-link:last-child{border-bottom:0}

/* GENERAL FORMS/TABLES */
.card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;box-shadow:var(--shadow)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.field{margin-bottom:14px}.field label{display:block;font-weight:700;margin-bottom:6px;font-size:13px}
.field input,.field select,.field textarea{width:100%;border:1px solid #cfd9e0;border-radius:8px;padding:10px 11px;background:#fff;color:var(--text)}.field textarea{min-height:100px}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#6ea6cb;box-shadow:0 0 0 3px rgba(21,95,160,.10)}
.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th{background:#f5f8fa;color:#52606c;font-size:12px;text-align:left}.table th,.table td{padding:11px 12px;border-bottom:1px solid #e6edf2;vertical-align:top}
.badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#edf2f6;color:#667785}.badge.ok{background:#e5f5eb;color:#2f7b4d}.badge.warn{background:#fff1d9;color:#986a18}.badge.danger{background:#fde7e7;color:#a34444}
.notice{padding:12px 14px;border-radius:9px;background:#f1f6fa;border:1px solid #d9e7ef;margin-bottom:15px;color:#4d6473}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.muted{color:var(--muted)}
.progress{height:9px;background:#e8eef2;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:var(--primary)}
.locked{opacity:.58}

/* STUDENT */
.student-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:15px}
.student-course-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.course-band{height:8px;background:var(--primary)}.student-course-content{padding:18px}.student-course-content h3{font-size:19px;margin:7px 0}.student-course-content p{color:var(--muted);font-size:13px;line-height:1.45}.course-status{font-size:10px;color:var(--green);font-weight:800;text-transform:uppercase}.course-open{margin-top:14px;color:var(--primary);font-weight:800}
.empty-box{background:#fff;border:1px dashed #b9c9d5;border-radius:12px;padding:34px;text-align:center;color:var(--muted)}
.invoice-list{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.invoice-item{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #e7edf1}.invoice-item:last-child{border-bottom:0}.invoice-item strong,.invoice-item small{display:block}.invoice-item small{color:var(--muted);font-size:11px}.status-paid{display:inline-block;margin-left:8px;background:#e5f5eb;color:#2f7b4d;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}

/* Old public course styles simplified */
.hero{background:linear-gradient(135deg,#155fa0,#247ab6);color:#fff;border-radius:16px;padding:30px;margin-bottom:22px}.hero p{color:#edf6ff}
.public-course-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;display:block;box-shadow:var(--shadow)}.public-course-thumb{width:100%;height:180px;object-fit:cover}.public-course-body{padding:18px}.public-course-body h3{margin:8px 0}.public-course-bottom{display:flex;justify-content:space-between;border-top:1px solid #e8eef2;margin-top:15px;padding-top:12px}.public-course-bottom strong{color:var(--primary)}
.course-public-hero{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px;display:grid;grid-template-columns:1.2fr .8fr;gap:24px;box-shadow:var(--shadow)}.course-public-image img{width:100%;border-radius:10px}.course-public-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:15px;margin-top:15px}.course-meta{display:flex;gap:10px;flex-wrap:wrap}.course-meta div{background:#f5f8fa;border:1px solid var(--border);border-radius:8px;padding:10px}.course-price strong{font-size:30px;color:var(--primary)}

.sidebar-backdrop{display:none}
@media(max-width:1050px){.summary-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){
 .panel-layout{display:block}
 .panel-sidebar{position:fixed;width:245px;left:-260px;transition:left .2s ease}
 body.sidebar-open .panel-sidebar{left:0}
 .sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:45}
 body.sidebar-open .sidebar-backdrop{display:block}
 .menu-toggle{display:block}
 .panel-topbar{padding:0 14px}.top-user>div:last-child{display:none}
 .panel-content{padding:16px}
 .summary-cards,.module-grid,.bottom-panels,.course-public-hero,.course-public-grid{grid-template-columns:1fr}
 .panel-welcome{align-items:flex-start;flex-direction:column}
}


/* V1.9.3 */
.public-course-content,
#contenido.course-content,
section#contenido {
    display:none !important;
}


/* V1.9.4 registro claro */
.register-section-card{
    margin-bottom:18px;
    background:#f8fbfd;
    border:1px solid var(--border);
    border-radius:12px;
    padding:22px 24px;
    box-shadow:none;
}

.register-section-card h3{
    margin-top:0;
    color:var(--text);
}

.register-section-card p,
.register-section-card small{
    color:var(--muted);
}

.transfer-summary{
    margin:18px 0;
    background:#eef6fb;
    border:1px solid #c9dfea;
    border-left:4px solid var(--primary);
    border-radius:12px;
    padding:20px 22px;
}

.transfer-summary h3{
    margin-top:0;
    color:var(--text);
}

.transfer-summary p{
    color:var(--muted);
    margin-bottom:0;
}

.transfer-amount{
    font-size:34px;
    font-weight:900;
    color:var(--primary);
    margin-top:6px;
}

.public-main .card.form{
    background:#fff;
    color:var(--text);
}

.public-main .card.form h2,
.public-main .card.form h3,
.public-main .card.form label{
    color:var(--text);
}

.public-main .card.form .muted{
    color:var(--muted);
}


/* V1.9.5 estudiantes */
.student-admin-head{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:20px;
    box-shadow:var(--shadow);
}
.student-admin-head h2{margin:4px 0 5px}

.student-status-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:14px;
}
.mini-stat{
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    padding:15px 17px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:var(--shadow);
}
.mini-stat span{color:var(--muted);font-size:12px}
.mini-stat strong{font-size:24px}
.mini-stat.selected{border-color:#8bb8d7;background:#f2f8fc}

.student-search{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}

.student-profile-hero{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:20px;
    box-shadow:var(--shadow);
    display:grid;
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
}
.student-profile-avatar{
    width:64px;height:64px;border-radius:50%;
    background:var(--primary);color:#fff;
    display:grid;place-items:center;
    font-size:27px;font-weight:800;
}
.student-profile-hero h2{margin:4px 0}
.student-profile-status{align-self:start}
.profile-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:16px;
}
.profile-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:10px 0;
    border-bottom:1px solid #edf1f4;
}
.profile-row:last-child{border-bottom:0}
.profile-row span:first-child{color:var(--muted)}

@media(max-width:850px){
    .student-status-cards,.profile-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
    .student-status-cards,.profile-grid{grid-template-columns:1fr}
    .student-profile-hero{grid-template-columns:52px 1fr}
    .student-profile-status{grid-column:1/-1}
}


/* V1.9.7 multi-course registration */
.course-selector-wrap{
    grid-column:1/-1;
}
.course-checkbox-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:10px;
    margin-top:10px;
}
.course-check-card{
    display:flex !important;
    align-items:center;
    gap:12px;
    padding:14px;
    border:1px solid var(--border);
    border-radius:10px;
    background:#fff;
    cursor:pointer;
    transition:border-color .15s ease, background .15s ease;
}
.course-check-card:hover{
    border-color:#9dbcd1;
}
.course-check-card.selected{
    border-color:var(--primary);
    background:#f0f7fc;
}
.course-check-card input{
    width:20px !important;
    height:20px;
    flex:0 0 20px;
    accent-color:var(--primary);
}
.course-check-main{
    min-width:0;
}
.course-check-main strong{
    display:block;
    color:var(--text);
}
.course-check-main small{
    display:block;
    color:var(--primary);
    font-weight:800;
    margin-top:4px;
}


/* =========================================================
   V1.9.8 - EXPERIENCIA DEL ESTUDIANTE TIPO PLATAFORMA CURSOS
   ========================================================= */

/* Student removes the ERP left menu: course experience gets full width */
body.role-estudiante .panel-layout{
    display:block;
}
body.role-estudiante .panel-sidebar{
    display:none;
}
body.role-estudiante .panel-topbar{
    position:relative;
    height:68px;
    border-bottom:1px solid #e2e6e9;
    padding:0 36px;
}
body.role-estudiante .panel-topbar .menu-toggle{
    display:none;
}
body.role-estudiante .panel-topbar h1{
    font-size:18px;
}
body.role-estudiante .panel-content{
    max-width:1500px;
    padding:30px 4%;
}

/* dashboard */
.student-page-head{
    margin:5px 0 22px;
}
.student-page-head h2{
    font-size:34px;
    font-weight:400;
    margin:0 0 5px;
}
.student-page-head p{
    margin:0;
    color:#6b7379;
}
.student-catalog-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:22px;
}
.student-catalog-card{
    background:white;
    border:1px solid #d9dde0;
    min-width:0;
}
.catalog-cover{
    height:168px;
    position:relative;
    overflow:hidden;
}
.catalog-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.catalog-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    background:#e9eef2;
    color:#0d6d8e;
    font-size:44px;
    font-weight:800;
}
.catalog-status{
    position:absolute;
    top:12px;
    left:12px;
    font-size:12px;
    font-weight:900;
    color:white;
    padding:7px 10px;
    border-radius:3px;
}
.catalog-status.completed{background:#19b500}
.catalog-status.progress{background:#147bb5}
.catalog-status.new{background:#75808a}
.catalog-body{
    padding:20px 24px 18px;
}
.catalog-category{
    display:block;
    color:#8b8b8b;
    text-transform:uppercase;
    font-size:12px;
    margin-bottom:9px;
}
.catalog-body h3{
    color:#00a4b7;
    font-weight:400;
    font-size:23px;
    margin:0 0 10px;
    min-height:56px;
}
.catalog-body p{
    color:#6d7377;
    line-height:1.45;
    min-height:42px;
}
.catalog-progress{
    margin:22px 0;
}
.catalog-progress-bar{
    height:5px;
    background:#e4e4e4;
    border-radius:10px;
    overflow:hidden;
}
.catalog-progress-bar span{
    display:block;
    height:100%;
    background:#16b51a;
}
.catalog-progress-text{
    text-align:center;
    margin-top:8px;
    color:#666;
    font-size:14px;
}
.catalog-view-btn{
    display:block;
    border:1px solid #14b814;
    color:#13a913;
    text-align:center;
    padding:10px;
    font-size:18px;
    background:white;
}
.student-empty{
    grid-column:1/-1;
    border:1px dashed #cbd3d8;
    padding:40px;
    text-align:center;
    color:#747b80;
}

/* course overview */
.course-top-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:18px;
    color:#555;
}
.course-back{
    color:#08799e;
}
.course-complete-label{
    color:#6c756f;
}
.course-showcase{
    width:100%;
    height:250px;
    overflow:hidden;
    margin-bottom:28px;
}
.course-showcase img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.course-showcase-fallback{
    width:100%;
    height:100%;
    background:linear-gradient(120deg,#0b6da7,#14a1c5);
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.course-showcase-fallback span{
    font-size:16px;
    letter-spacing:.1em;
}
.course-showcase-fallback strong{
    font-size:42px;
    max-width:800px;
    text-align:center;
    margin-top:8px;
}
.course-overview-header{
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:flex-start;
    margin-bottom:24px;
}
.course-kicker{
    color:#0082a5;
    text-transform:uppercase;
    font-size:12px;
    font-weight:800;
}
.course-overview-header h2{
    font-size:34px;
    font-weight:400;
    margin:4px 0 8px;
}
.course-overview-header p{
    color:#6e7479;
    max-width:850px;
    line-height:1.5;
}
.course-overview-progress{
    text-align:right;
    min-width:120px;
}
.course-overview-progress strong{
    display:block;
    font-size:32px;
    color:#15970f;
}
.course-overview-progress span{
    color:#707070;
}
.course-modules-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
    margin-top:20px;
}
.module-tile{
    border:0;
    padding:0;
    background:white;
    cursor:pointer;
    text-align:left;
    box-shadow:0 2px 7px rgba(0,0,0,.13);
}
.module-tile-cover{
    height:190px;
    position:relative;
    overflow:hidden;
}
.module-tile-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.module-tile-placeholder{
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#1b829b,#d47324);
}
.module-tile-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.48));
}
.module-tile-title{
    position:absolute;
    left:10px;
    top:18px;
    background:#056989;
    color:white;
    font-size:21px;
    padding:6px 10px;
    max-width:85%;
}
.module-check{
    position:absolute;
    right:10px;
    top:12px;
    width:38px;
    height:38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#23b514;
    color:white;
    font-size:24px;
}

/* module modal */
.course-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.48);
    z-index:300;
    padding:32px;
    overflow:auto;
}
.course-modal.open{
    display:block;
}
.student-modal-open{
    overflow:hidden;
}
.course-modal-panel{
    background:white;
    max-width:1200px;
    margin:0 auto;
    border-radius:14px;
    padding:34px 26px 28px;
    position:relative;
}
.course-modal-panel h2{
    font-size:34px;
    font-weight:400;
    color:#5a5f63;
    margin:0;
}
.course-modal-title-line{
    width:230px;
    height:4px;
    background:#05779b;
    margin:12px 0 16px;
}
.course-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    width:46px;
    height:46px;
    border-radius:50%;
    border:1px solid #111;
    background:white;
    font-size:31px;
    cursor:pointer;
}
.course-topic-row{
    display:flex;
    align-items:center;
    gap:15px;
    border-top:1px solid #ddd;
    padding:18px 8px;
}
.course-topic-icon{
    width:36px;
    text-align:center;
    color:#087ba1;
    font-size:22px;
}
.course-topic-copy{
    flex:1;
    min-width:0;
}
.course-topic-copy strong{
    display:block;
    color:#056c91;
    font-size:17px;
}
.course-topic-copy small{
    display:block;
    color:#555;
    margin-top:5px;
}
.topic-done{
    background:#e4f0e2;
    color:#285f2a;
    padding:9px 14px;
    border-radius:9px;
    font-weight:700;
}
.topic-enter{
    color:#09749b;
    font-weight:700;
}

/* lesson player */
body.role-estudiante:has(.lesson-shell) .panel-topbar,
body.role-estudiante:has(.lesson-shell) .top-user{
    display:none;
}
body.role-estudiante:has(.lesson-shell) .panel-content{
    max-width:none;
    padding:0;
}
.lesson-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    background:white;
}
.lesson-sidebar{
    border-right:1px solid #d6d6d6;
    height:100vh;
    position:sticky;
    top:0;
    overflow:auto;
    background:#f7f7f7;
}
.lesson-course-cover{
    height:270px;
    position:relative;
    overflow:hidden;
}
.lesson-course-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.lesson-course-fallback{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    font-size:44px;
    color:white;
    background:#1e5a77;
}
.lesson-course-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.72));
}
.lesson-course-name{
    position:absolute;
    left:20px;
    right:20px;
    bottom:50px;
    color:white;
    font-size:25px;
    font-weight:800;
}
.lesson-tree{
    padding:28px 0;
}
.lesson-module-title{
    padding:12px 22px;
    font-weight:800;
    font-size:14px;
    text-transform:uppercase;
    color:#282828;
}
.lesson-nav-item{
    display:grid;
    grid-template-columns:20px minmax(0,1fr) 28px;
    gap:8px;
    align-items:start;
    padding:12px 18px;
    color:#222;
    border-left:3px solid transparent;
}
.lesson-nav-item:hover{
    background:#ececec;
}
.lesson-nav-item.active{
    background:#eeeeee;
    border-left-color:#2679c3;
    font-weight:700;
}
.lesson-nav-bullet{
    color:#6e6e6e;
}
.lesson-nav-title{
    font-size:14px;
    line-height:1.35;
}
.lesson-nav-check{
    width:24px;
    height:24px;
    border-radius:50%;
    display:grid;
    place-items:center;
    color:white;
    background:#2e72b0;
}
.lesson-main{
    min-width:0;
}
.lesson-main-top{
    height:82px;
    border-bottom:3px solid #1b63a0;
    display:flex;
    align-items:center;
    gap:16px;
    padding:0 26px;
}
.lesson-menu-toggle{
    display:none;
    border:0;
    background:white;
    font-size:27px;
}
.lesson-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    color:#555;
    flex:1;
}
.lesson-breadcrumb a{
    color:#0a78a0;
}
.lesson-exit{
    color:#222;
    font-size:15px;
}
.lesson-content{
    max-width:1050px;
    margin:0 auto;
    padding:55px 38px 80px;
}
.lesson-heading{
    text-align:center;
    margin-bottom:45px;
}
.lesson-heading>span{
    display:block;
    color:#0d6f94;
    font-size:15px;
    margin-bottom:8px;
}
.lesson-heading h1{
    font-size:40px;
    color:#111;
    margin:0 0 15px;
}
.lesson-heading p{
    font-size:20px;
    line-height:1.7;
    color:#222;
}
.lesson-resource{
    border-top:1px solid #d9d9d9;
    padding:45px 0;
}
.lesson-resource h2{
    text-align:center;
    font-size:33px;
    color:#111;
    margin:0 0 14px;
}
.lesson-resource-desc{
    text-align:center;
    font-size:20px;
    line-height:1.65;
    color:#222;
    max-width:850px;
    margin:0 auto 30px;
}
.lesson-video{
    border:1px solid #d8d8d8;
    padding:38px;
    background:white;
    max-width:950px;
    margin:0 auto;
}
.lesson-video iframe,
.lesson-video video{
    width:100%;
    aspect-ratio:16/9;
    border:0;
    display:block;
    background:#000;
}
.lesson-pdf{
    border:1px solid #ddd;
}
.lesson-pdf iframe{
    width:100%;
    height:720px;
    border:0;
}
.lesson-download{
    display:inline-block;
    color:#08799f;
    margin-top:12px;
}
.lesson-completion{
    margin-top:45px;
    border-top:1px solid #ddd;
    padding-top:30px;
    text-align:right;
}
.lesson-complete-btn{
    border:0;
    background:#2c8b36;
    color:white;
    padding:11px 18px;
    border-radius:5px;
    font-size:16px;
    cursor:pointer;
}
.lesson-completed{
    display:inline-block;
    background:#e2efdf;
    color:#2d682c;
    padding:12px 18px;
    border-radius:7px;
    font-weight:700;
}

/* responsive */
@media(max-width:900px){
    body.role-estudiante .panel-topbar{
        padding:0 18px;
    }
    body.role-estudiante .panel-content{
        padding:20px 16px;
    }
    .course-overview-header{
        flex-direction:column;
    }
    .course-overview-progress{
        text-align:left;
    }
    .lesson-shell{
        display:block;
    }
    .lesson-sidebar{
        position:fixed;
        left:-310px;
        top:0;
        width:300px;
        z-index:500;
        transition:left .2s ease;
    }
    body.lesson-nav-open .lesson-sidebar{
        left:0;
    }
    .lesson-menu-toggle{
        display:block;
    }
    .lesson-main-top{
        padding:0 14px;
    }
    .lesson-exit{
        font-size:12px;
    }
    .lesson-content{
        padding:35px 18px 60px;
    }
    .lesson-heading h1{
        font-size:31px;
    }
    .lesson-heading p,
    .lesson-resource-desc{
        font-size:17px;
    }
    .lesson-video{
        padding:12px;
    }
    .lesson-pdf iframe{
        height:520px;
    }
}


/* =====================================================
   V1.9.9 - Menú estudiante + constructor amigable
   ===================================================== */

/* Student panel menu returns */
body.role-estudiante .panel-layout{
    display:grid !important;
    grid-template-columns:245px minmax(0,1fr) !important;
}
body.role-estudiante .panel-sidebar{
    display:flex !important;
}
body.role-estudiante .panel-topbar{
    position:sticky;
    top:0;
}
body.role-estudiante .panel-content{
    max-width:1500px;
    padding:28px;
}

/* But course detail uses full student experience */
body.role-estudiante:has(.course-showcase) .panel-layout,
body.role-estudiante:has(.lesson-shell) .panel-layout{
    display:block !important;
}
body.role-estudiante:has(.course-showcase) .panel-sidebar,
body.role-estudiante:has(.lesson-shell) .panel-sidebar{
    display:none !important;
}
body.role-estudiante:has(.course-showcase) .panel-content{
    max-width:1500px;
    padding:30px 4%;
}

/* Friendly course builder */
.content-admin-intro,
.content-course-head{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:20px 22px;
    box-shadow:var(--shadow);
}
.content-admin-intro h2,
.content-course-head h2{
    margin:4px 0 6px;
}
.content-course-head{
    margin-top:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.content-course-selector{
    margin-top:14px;
}

.builder-module{
    margin-top:18px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:13px;
    box-shadow:var(--shadow);
    padding:18px;
}
.builder-module-head{
    display:grid;
    grid-template-columns:190px minmax(0,1fr) auto;
    gap:18px;
    align-items:center;
}
.builder-module-cover{
    height:115px;
    border-radius:10px;
    overflow:hidden;
    background:#eaf0f4;
}
.builder-module-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.builder-module-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#155fa0,#2ca7a0);
    color:#fff;
    font-weight:800;
    font-size:30px;
}
.builder-module-title small{
    color:var(--primary);
    text-transform:uppercase;
    font-size:11px;
    font-weight:800;
}
.builder-module-title h3{
    margin:4px 0 5px;
    font-size:22px;
}
.builder-module-title p{
    color:var(--muted);
    margin:0 0 8px;
}
.builder-module-actions form{
    display:flex;
    gap:5px;
}
.builder-edit,
.builder-topic-edit,
.builder-new-topic{
    margin-top:14px;
    border:1px solid #e1e7eb;
    border-radius:9px;
    background:#fafcfd;
}
.builder-edit summary,
.builder-topic-edit summary,
.builder-new-topic summary{
    cursor:pointer;
    padding:12px 14px;
    color:var(--primary);
    font-weight:800;
}
.builder-form{
    padding:0 14px 15px;
}
.builder-topics{
    margin-top:18px;
}
.builder-topic{
    border-top:1px solid #e8edf0;
    padding:17px 0;
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    gap:12px;
    align-items:start;
}
.builder-topic-number{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#e9f2f9;
    color:var(--primary);
    display:grid;
    place-items:center;
    font-weight:800;
}
.builder-topic-heading{
    display:flex;
    justify-content:space-between;
    gap:15px;
}
.builder-topic-heading h4{
    margin:0 0 5px;
    font-size:17px;
}
.builder-topic-heading p{
    margin:0;
    color:var(--muted);
    font-size:13px;
}
.builder-topic-actions{
    display:flex;
    gap:6px;
}
.builder-resources{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:12px;
}
.builder-resource{
    min-width:180px;
    border:1px solid #dfe6eb;
    border-radius:9px;
    background:#fff;
    padding:9px 10px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 24px;
    gap:8px;
    align-items:center;
}
.builder-resource-icon{
    width:32px;
    height:32px;
    border-radius:7px;
    background:#e9f4fa;
    color:var(--primary);
    display:grid;
    place-items:center;
    font-size:11px;
    font-weight:900;
}
.builder-resource strong,
.builder-resource small{
    display:block;
}
.builder-resource small{
    color:var(--muted);
    font-size:10px;
    margin-top:2px;
}
.builder-delete-mini{
    border:0;
    background:transparent;
    color:#bb5555;
    font-size:20px;
    cursor:pointer;
}
.builder-add-resource,
.builder-resource-first{
    margin-top:15px;
    border-top:1px solid #e4e9ed;
    padding-top:14px;
}
.builder-add-resource h5,
.builder-resource-first h5{
    margin:0 0 10px;
}
.builder-new-topic{
    margin-top:16px;
    border-style:dashed;
    background:#f6fafc;
}
.builder-new-topic summary{
    font-size:15px;
}
.builder-new-module{
    margin-top:22px;
    background:#fff;
    border:2px dashed #b9cfdd;
    border-radius:13px;
    padding:20px;
}
.builder-new-module-head h3{
    margin:4px 0 5px;
    font-size:22px;
}
.builder-new-module-head p{
    margin:0 0 15px;
    color:var(--muted);
}

@media(max-width:900px){
    body.role-estudiante .panel-layout{
        display:block !important;
    }
    body.role-estudiante .panel-sidebar{
        display:flex !important;
        position:fixed;
        left:-260px;
    }
    body.role-estudiante.sidebar-open .panel-sidebar{
        left:0;
    }
    body.role-estudiante .panel-topbar .menu-toggle{
        display:block !important;
    }

    .builder-module-head{
        grid-template-columns:1fr;
    }
    .builder-module-cover{
        height:180px;
    }
    .builder-topic{
        grid-template-columns:34px minmax(0,1fr);
    }
    .builder-topic-actions{
        grid-column:2;
    }
}


/* V1.10.0 - progreso secuencial y comprobantes */
.topic-locked{
    opacity:.58;
    background:#f5f5f5;
    cursor:not-allowed;
}
.topic-lock-label{
    background:#eceff1;
    color:#667078;
    padding:8px 12px;
    border-radius:7px;
    font-size:13px;
    font-weight:700;
}
.lesson-nav-item.locked{
    color:#9aa0a4;
    background:#f3f3f3;
    cursor:not-allowed;
}
.lesson-nav-item.locked .lesson-nav-bullet{
    color:#8c9296;
}
.student-course-warning{
    background:#fff4dd;
    color:#8b651c;
    border:1px solid #efd7a4;
    border-radius:8px;
    padding:12px 15px;
    margin-bottom:16px;
    font-weight:700;
}

.student-receipts-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.student-receipt-card{
    background:#fff;
    border:1px solid #dce4ea;
    border-radius:12px;
    padding:18px;
    display:grid;
    grid-template-columns:54px minmax(0,1fr) auto;
    gap:16px;
    align-items:center;
    box-shadow:0 3px 12px rgba(30,55,75,.06);
}
.receipt-icon{
    width:50px;
    height:50px;
    border-radius:10px;
    background:#eaf3f9;
    color:#155fa0;
    display:grid;
    place-items:center;
    font-size:23px;
}
.receipt-info small{
    color:#7c8790;
    text-transform:uppercase;
    font-size:10px;
    font-weight:800;
}
.receipt-info h3{
    margin:3px 0 6px;
    font-size:19px;
}
.receipt-info p{
    margin:0;
    color:#69747c;
}
.receipt-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:7px;
    font-size:12px;
    color:#89939a;
}
.receipt-total{
    min-width:160px;
    text-align:right;
}
.receipt-total strong{
    display:block;
    font-size:24px;
    margin-bottom:7px;
}
.receipt-total .status-paid{
    margin:0 0 9px auto;
}
.receipt-total .btn{
    display:flex;
    margin-top:8px;
}
@media(max-width:700px){
    .student-receipt-card{
        grid-template-columns:45px minmax(0,1fr);
    }
    .receipt-total{
        grid-column:2;
        text-align:left;
    }
    .receipt-total .status-paid{
        margin-left:0;
    }
}


/* V1.10.1 - edición de comprobantes y devoluciones */
.billing-edit-box,
.refund-box{
    margin-top:10px;
    border:1px solid #dce4ea;
    border-radius:8px;
    background:#fafcfd;
}
.billing-edit-box summary,
.refund-box summary{
    cursor:pointer;
    padding:9px 11px;
    color:#155fa0;
    font-weight:700;
}
.billing-edit-form,
.refund-box form{
    padding:0 11px 11px;
}
.approved-admin-actions{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.status-refunded{
    display:inline-block;
    background:#fde7e7;
    color:#a03f3f;
    border-radius:999px;
    padding:3px 7px;
    font-size:10px;
    font-weight:800;
}


/* V1.10.2 institucional sin tarifa */
.institutional-no-fee-note{
    grid-column:1/-1;
    background:#fff4dd;
    border:1px solid #eed39a;
    color:#80601d;
    border-radius:9px;
    padding:11px 13px;
    margin-bottom:4px;
    font-weight:700;
}


/* V1.10.3 - panel de cursos */
.page-back-actions{margin-bottom:14px}
.course-panel-head{
    background:#fff;border:1px solid var(--border);border-radius:12px;
    padding:20px 22px;box-shadow:var(--shadow);
    display:flex;justify-content:space-between;align-items:center;gap:20px;
}
.course-panel-head h2{margin:4px 0 5px;font-size:25px}
.course-panel-head p{margin:0;color:var(--muted)}
.course-panel-filter{margin-top:14px}
.course-panel-search{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.admin-course-grid{
    display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:17px;margin-top:17px;
}
.admin-course-card{
    background:#fff;border:1px solid var(--border);border-radius:12px;
    overflow:hidden;box-shadow:var(--shadow);transition:.18s ease;
}
.admin-course-card:hover{transform:translateY(-2px);border-color:#9fbdcf}
.admin-course-image{height:190px;position:relative;overflow:hidden;background:#eef3f6}
.admin-course-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.admin-course-card:hover .admin-course-image img{transform:scale(1.025)}
.admin-course-placeholder{height:100%;display:grid;place-items:center;font-size:48px;color:var(--primary)}
.admin-course-overlay{
    position:absolute;inset:0;background:rgba(15,58,86,.0);display:flex;
    align-items:flex-end;justify-content:flex-end;padding:14px;transition:.2s ease;
}
.admin-course-overlay span{
    opacity:0;background:#fff;color:var(--primary);padding:8px 10px;border-radius:7px;
    font-weight:800;transition:.2s ease;
}
.admin-course-card:hover .admin-course-overlay{background:rgba(15,58,86,.22)}
.admin-course-card:hover .admin-course-overlay span{opacity:1}
.admin-course-body{padding:17px}
.admin-course-flags{display:flex;gap:6px}
.admin-course-body h3{font-size:20px;margin:10px 0 7px}
.admin-course-body p{color:var(--muted);min-height:38px;line-height:1.45}
.admin-course-meta{
    display:flex;justify-content:space-between;gap:10px;
    border-top:1px solid #edf1f4;padding-top:11px;font-size:11px;color:#7d8991
}
.admin-course-price{font-size:23px;font-weight:800;color:var(--primary);margin-top:10px}

.course-form-head{
    background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px 22px;
    box-shadow:var(--shadow);margin-bottom:15px;
}
.course-form-head h2{margin:4px 0 5px}.course-form-head p{margin:0;color:var(--muted)}
.course-form-layout{
    display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:15px;align-items:start
}
.course-form-main h3,.course-form-side h3{margin-top:0}
.course-form-side{display:flex;flex-direction:column;gap:15px;position:sticky;top:90px}
.course-form-preview{width:100%;height:180px;object-fit:cover;border-radius:9px;margin-bottom:12px}
.level-check{display:block;padding:7px 0;color:#47545d}
.course-save-btn{width:100%;padding:13px}

.course-manage-hero{
    display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;
    background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;
    box-shadow:var(--shadow)
}
.course-manage-image{height:205px;border-radius:10px;overflow:hidden;background:#eef3f6}
.course-manage-image img{width:100%;height:100%;object-fit:cover}
.course-manage-placeholder{height:100%;display:grid;place-items:center;font-size:48px;color:var(--primary)}
.course-manage-copy h2{font-size:28px;margin:5px 0 8px}
.course-manage-copy p{color:var(--muted);line-height:1.5}
.course-manage-stats{
    display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px
}
.course-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.course-action-card{
    background:#fff;border:1px solid var(--border);border-radius:11px;padding:17px;
    display:grid;grid-template-columns:48px minmax(0,1fr) 22px;gap:13px;align-items:center;
    box-shadow:var(--shadow)
}
.course-action-card:hover{border-color:#9ebfd5}
.course-action-icon{
    width:46px;height:46px;border-radius:10px;background:#e9f3fa;color:var(--primary);
    display:grid;place-items:center;font-size:21px;font-weight:800
}
.course-action-card h3{margin:0 0 4px;font-size:17px}
.course-action-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}
.course-action-card>span{font-size:28px;color:#9eadb7}

@media(max-width:900px){
 .course-panel-head{align-items:flex-start;flex-direction:column}
 .course-form-layout{grid-template-columns:1fr}
 .course-form-side{position:static}
 .course-manage-hero{grid-template-columns:1fr}
 .course-manage-stats,.course-action-grid{grid-template-columns:1fr}
}


/* V1.10.4 - hosting por estudiante */
.hosting-admin-box{
    margin-top:12px;
    border:1px solid #dce4ea;
    border-radius:10px;
    background:#fafcfd;
}
.hosting-admin-box summary{
    cursor:pointer;
    padding:13px 14px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    color:#31414d;
}
.hosting-admin-box summary>div{
    display:flex;
    gap:9px;
    align-items:center;
    flex-wrap:wrap;
}
.hosting-admin-form{
    padding:0 14px 14px;
}
.hosting-switch{
    display:flex;
    align-items:center;
    gap:9px;
    padding:11px 12px;
    background:#eef6fb;
    border-radius:8px;
    margin-bottom:14px;
    font-weight:700;
}
.hosting-switch input{
    width:19px;
    height:19px;
    accent-color:var(--primary);
}

.student-hosting-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:16px;
}
.student-hosting-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:20px;
    box-shadow:var(--shadow);
}
.hosting-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    padding-bottom:14px;
    border-bottom:1px solid #edf1f4;
}
.hosting-card-head small{
    display:block;
    color:var(--muted);
    text-transform:uppercase;
    font-size:10px;
    font-weight:800;
}
.hosting-card-head h3{
    margin:4px 0 0;
    font-size:20px;
}
.hosting-data-row{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #edf1f4;
}
.hosting-data-row>span{
    color:var(--muted);
}
.hosting-password-line{
    display:flex;
    gap:8px;
}
.hosting-password-field{
    flex:1;
    min-width:0;
    border:1px solid #cfd9e0;
    border-radius:8px;
    padding:9px 10px;
    background:#fff;
}
.hosting-links{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:16px;
}
.hosting-notes{
    margin-top:16px;
    background:#f6f8fa;
    border-radius:8px;
    padding:12px 14px;
}
.hosting-notes p{
    margin:6px 0 0;
    color:#5e6971;
    line-height:1.5;
}
@media(max-width:600px){
    .hosting-data-row{grid-template-columns:1fr}
    .hosting-password-line{flex-direction:column}
}


/* V1.10.5 - password recovery + support */
.menu-badge{
    margin-left:auto;
    background:#d9534f;
    color:#fff;
    font-size:10px;
    min-width:19px;
    height:19px;
    padding:0 5px;
    border-radius:999px;
    display:inline-grid;
    place-items:center;
}
.temporary-password-box{
    background:#fff8dd;
    border:1px solid #ecd78b;
    border-radius:10px;
    padding:15px;
    margin-bottom:15px;
}
.temporary-password-value{
    font-size:27px;
    font-weight:900;
    letter-spacing:.08em;
    margin:8px 0;
    color:#7a5b12;
}
.support-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.support-ticket-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:13px 0;
    border-bottom:1px solid #e8edf0;
}
.support-ticket-row strong,.support-ticket-row small{display:block}
.support-ticket-row small{color:var(--muted);margin-top:4px}
.support-admin-ticket{
    border:1px solid #dde4e9;
    border-radius:9px;
    margin-bottom:10px;
}
.support-admin-ticket summary{
    padding:13px 14px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    gap:14px;
}
.support-admin-ticket summary strong,.support-admin-ticket summary small{display:block}
.support-admin-ticket summary small{color:var(--muted);margin-top:3px}
.support-admin-body{padding:0 14px 14px;border-top:1px solid #edf1f4}
@media(max-width:800px){.support-layout{grid-template-columns:1fr}}


/* V1.10.6 bank details */
.bank-transfer-details{
    margin:18px 0;
    border:1px solid #cbdde9;
    border-radius:12px;
    background:#f8fbfd;
    overflow:hidden;
}
.bank-transfer-details summary{
    list-style:none;
    cursor:pointer;
    padding:15px 17px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}
.bank-transfer-details summary::-webkit-details-marker{display:none}
.bank-transfer-details summary>div{
    display:flex;
    align-items:center;
    gap:12px;
}
.bank-summary-icon{
    width:42px;
    height:42px;
    border-radius:10px;
    background:#e6f1f8;
    display:grid;
    place-items:center;
    font-size:20px;
}
.bank-transfer-details summary strong,
.bank-transfer-details summary small{
    display:block;
}
.bank-transfer-details summary strong{
    color:var(--text);
}
.bank-transfer-details summary small{
    color:var(--muted);
    margin-top:3px;
}
.bank-summary-arrow{
    font-size:22px;
    color:var(--primary);
    transition:transform .15s ease;
}
.bank-transfer-details[open] .bank-summary-arrow{
    transform:rotate(180deg);
}
.bank-transfer-content{
    border-top:1px solid #dce8ef;
    padding:16px 17px 18px;
    background:white;
}
.bank-data-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:10px;
}
.bank-data-item{
    border:1px solid #e1e8ed;
    border-radius:9px;
    padding:11px 12px;
}
.bank-data-item span{
    display:block;
    font-size:11px;
    color:var(--muted);
    text-transform:uppercase;
    font-weight:800;
}
.bank-data-item strong{
    display:block;
    margin-top:4px;
    color:var(--text);
    font-size:15px;
}
.bank-transfer-note{
    margin:13px 0 0;
    color:#5f6e79;
    font-size:13px;
}
