/* EduFlow Frontend CSS v2.0 — Light Professional Theme */
:root {
    --ef-bg:#f0f4f8; --ef-bg-card:#ffffff; --ef-bg-sidebar:#f8fafc;
    --ef-border:#e2e8f0; --ef-border-light:#f1f5f9;
    --ef-text:#1e293b; --ef-text-muted:#64748b; --ef-text-light:#94a3b8;
    --ef-primary:#2563eb; --ef-primary-dark:#1d4ed8; --ef-primary-light:#dbeafe;
    --ef-accent:#f59e0b; --ef-accent-dark:#d97706;
    --ef-success:#10b981; --ef-error:#ef4444; --ef-warning:#f59e0b;
    --ef-induction:#7c3aed; --ef-navbar-h:100px;
    --ef-radius:10px; --ef-radius-sm:6px;
    --ef-shadow:0 1px 3px rgba(0,0,0,.08); --ef-shadow-md:0 4px 16px rgba(0,0,0,.10); --ef-shadow-lg:0 8px 32px rgba(0,0,0,.14);
    --ef-font:'Plus Jakarta Sans',sans-serif; --ef-font-body:'Inter',sans-serif;
    --ef-transition:.18s cubic-bezier(.4,0,.2,1);
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{font-family:var(--ef-font-body);background:var(--ef-bg);color:var(--ef-text);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;}
/* NAVBAR */
.ef-navbar{background:#ffffff;height:var(--ef-navbar-h);position:sticky;top:0;z-index:1000;box-shadow:0 2px 12px rgba(13,36,68,.10);border-bottom:1px solid #e8eef6;}
.ef-navbar-inner{max-width:1340px;margin:0 auto;padding:0 24px;height:100%;display:flex;align-items:center;gap:20px;}
/* Logo: imagen SVG/PNG en lugar de texto */
.ef-navbar-logo{display:flex;align-items:center;text-decoration:none;flex-shrink:0;padding:6px 0;}
.ef-navbar-logo img{height:72px;width:auto;max-height:calc(var(--ef-navbar-h) - 12px);min-width:80px;object-fit:contain;display:block;}
.ef-navbar-logo span{display:none;}
/* Search */
.ef-navbar-search{flex:1;max-width:520px;position:relative;}
.ef-navbar-search input{width:100%;height:40px;padding:0 42px 0 16px;border:1.5px solid #dde4ef;border-radius:8px;background:#f8fafc;color:#1e293b;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;}
.ef-navbar-search input::placeholder{color:#94a3b8;}
.ef-navbar-search input:focus{border-color:#1a56db;background:#fff;box-shadow:0 0 0 3px rgba(26,86,219,.08);}
.ef-navbar-search-icon{position:absolute;right:0;top:0;height:100%;width:42px;display:flex;align-items:center;justify-content:center;font-size:15px;color:#94a3b8;cursor:pointer;background:none;border:none;border-radius:0 8px 8px 0;transition:background .15s;}
.ef-navbar-search-icon:hover{background:#e2e8f0;color:#1e3a5f;}
/* Nav derecha */
.ef-navbar-nav{display:flex;align-items:center;gap:8px;margin-left:auto;}
.ef-nav-btn--text{background:none;border:none;padding:8px 14px;border-radius:8px;font-size:14px;font-weight:600;color:#334155;cursor:pointer;transition:all .2s;}
.ef-nav-btn--text:hover{background:#f1f5f9;color:#1e3a5f;}
.ef-btn-login{background:transparent;color:#0d2444;border:1.5px solid #dde4ef;border-radius:50px;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s;}
.ef-btn-login:hover{border-color:#1a56db;color:#1a56db;}
.ef-btn--primary{background:#1a56db;color:#fff;border-radius:50px;padding:9px 22px;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s;}
.ef-btn--primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 14px rgba(26,86,219,.35);}
.ef-btn--sm{padding:8px 18px;font-size:13px;}
/* User avatar */
.ef-user-trigger{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 10px;border-radius:50px;border:1.5px solid #e2e8f0;transition:all .2s;}
.ef-user-trigger:hover{border-color:#1a56db;background:#f8fafc;}
.ef-user-trigger span{font-size:13px;font-weight:600;color:#334155;}
.ef-nav-item{position:relative;}
.ef-nav-btn{display:flex;align-items:center;gap:5px;padding:6px 10px;background:none;border:none;color:rgba(255,255,255,.88);font-size:14px;font-weight:500;cursor:pointer;border-radius:var(--ef-radius-sm);white-space:nowrap;transition:color var(--ef-transition),background var(--ef-transition);font-family:var(--ef-font);}
.ef-nav-btn:hover,.ef-nav-item:hover>.ef-nav-btn{color:#fff;background:rgba(255,255,255,.12);}
.ef-cart-btn{position:relative;padding:6px 10px;}
.ef-cart-badge{position:absolute;top:-2px;right:-2px;background:var(--ef-accent);color:#1e293b;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;transition:transform .2s,opacity .2s;}
.ef-cart-badge--hidden{opacity:0;transform:scale(0);}
/* Dropdowns */
.ef-nav-item::after{content:"";position:absolute;top:100%;left:0;right:0;height:12px;}
.ef-nav-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid var(--ef-border);border-radius:var(--ef-radius);box-shadow:var(--ef-shadow-lg);min-width:300px;z-index:1001;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity var(--ef-transition),transform var(--ef-transition);}
.ef-nav-item:hover .ef-nav-dropdown,.ef-nav-item:focus-within .ef-nav-dropdown{opacity:1;pointer-events:auto;transform:translateY(0);}
.ef-learning-dropdown{width:340px;padding:8px 0;}
.ef-dropdown-course{display:flex;align-items:center;gap:12px;padding:10px 16px;text-decoration:none;color:var(--ef-text);transition:background var(--ef-transition);}
.ef-dropdown-course:hover{background:var(--ef-bg-sidebar);}
.ef-dropdown-thumb{width:56px;height:42px;border-radius:5px;overflow:hidden;flex-shrink:0;background:var(--ef-bg);display:flex;align-items:center;justify-content:center;font-size:18px;}
.ef-dropdown-thumb img{width:100%;height:100%;object-fit:cover;}
.ef-dropdown-info{flex:1;min-width:0;}
.ef-dropdown-title{font-size:13px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ef-text);margin-bottom:4px;}
.ef-dropdown-progress{display:flex;align-items:center;gap:6px;}
.ef-dp-bar{flex:1;height:4px;background:#e2e8f0;border-radius:2px;overflow:hidden;}
.ef-dp-fill{height:100%;background:var(--ef-primary);border-radius:2px;}
.ef-dropdown-progress span{font-size:11px;color:var(--ef-text-muted);white-space:nowrap;}
.ef-dropdown-footer-link{display:block;padding:10px 16px;font-size:13px;font-weight:600;color:var(--ef-primary);text-decoration:none;border-top:1px solid var(--ef-border-light);margin-top:4px;}
.ef-dropdown-empty{padding:24px 16px;text-align:center;color:var(--ef-text-muted);}
.ef-dropdown-empty-icon{font-size:28px;margin-bottom:8px;}
.ef-dropdown-empty p{font-size:13px;margin-bottom:10px;}
/* Cart dropdown */
.ef-cart-dropdown{width:340px;}
.ef-cart-drop-item{display:flex;align-items:center;gap:10px;padding:10px 14px;text-decoration:none;color:var(--ef-text);transition:background var(--ef-transition);border-bottom:1px solid var(--ef-border-light);}
.ef-cart-drop-item:hover{background:var(--ef-bg-sidebar);}
.ef-cart-drop-thumb{width:56px;height:42px;border-radius:5px;object-fit:cover;flex-shrink:0;background:var(--ef-bg);}
.ef-cart-drop-info{flex:1;min-width:0;}
.ef-cart-drop-title{font-size:12.5px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px;}
.ef-price-sm{font-size:13px;font-weight:700;color:var(--ef-text);}
.ef-price-orig-sm{font-size:11px;color:var(--ef-text-muted);text-decoration:line-through;margin-left:4px;}
.ef-cart-drop-footer{padding:12px 14px;background:var(--ef-bg-sidebar);border-radius:0 0 var(--ef-radius) var(--ef-radius);}
.ef-cart-drop-total{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;}
.ef-cart-drop-total strong{font-size:16px;}
.ef-orig-sm{font-size:12px;color:var(--ef-text-muted);text-decoration:line-through;margin-left:auto;}
/* User menu */
.ef-user-menu{position:relative;}
.ef-user-trigger{display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 8px;border-radius:6px;color:rgba(255,255,255,.88);font-size:14px;font-weight:500;transition:background var(--ef-transition);}
.ef-user-trigger:hover{background:rgba(255,255,255,.12);color:#fff;}
.ef-user-avatar-sm{width:30px;height:30px;border-radius:50%;border:2px solid #dde4ef;}
.ef-user-avatar-md{width:40px;height:40px;border-radius:50%;}
.ef-user-menu::after{content:"";position:absolute;top:100%;left:0;right:0;height:14px;}
.ef-user-dropdown{position:absolute;top:calc(100% + 10px);right:0;background:#fff;border:1px solid var(--ef-border);border-radius:var(--ef-radius);box-shadow:var(--ef-shadow-lg);min-width:220px;z-index:1001;overflow:hidden;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity var(--ef-transition),transform var(--ef-transition);}
.ef-user-menu:hover .ef-user-dropdown,.ef-user-menu:focus-within .ef-user-dropdown{opacity:1;pointer-events:auto;transform:translateY(0);}
.ef-user-drop-header{display:flex;align-items:center;gap:10px;padding:14px 16px;}
.ef-user-drop-header strong{display:block;font-size:14px;font-weight:600;color:var(--ef-text);}
.ef-user-drop-header small{font-size:12px;color:var(--ef-text-muted);}
.ef-user-dropdown hr{border:none;border-top:1px solid var(--ef-border-light);margin:0;}
.ef-user-dropdown a{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:14px;color:var(--ef-text);text-decoration:none;transition:background var(--ef-transition);}
.ef-user-dropdown a:hover{background:var(--ef-bg-sidebar);}
/* BUTTONS */
.ef-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border-radius:var(--ef-radius-sm);font-family:var(--ef-font);font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;border:2px solid transparent;transition:all var(--ef-transition);white-space:nowrap;}
.ef-btn--primary{background:var(--ef-primary);color:#fff;border-color:var(--ef-primary);}
.ef-btn--primary:hover{background:var(--ef-primary-dark);border-color:var(--ef-primary-dark);}
.ef-btn--outline{background:transparent;color:var(--ef-primary);border-color:var(--ef-primary);}
.ef-btn--outline:hover{background:var(--ef-primary-light);}
.ef-btn--accent{background:var(--ef-accent);color:#1e293b;border-color:var(--ef-accent);}
.ef-btn--full{width:100%;}
.ef-btn--sm{padding:6px 14px;font-size:13px;}
.ef-btn--lg{padding:14px 28px;font-size:16px;}
.ef-btn-login{background:transparent;color:#1e3a5f;border-color:#1e3a5f;}
.ef-btn-login:hover{background:#1e3a5f;color:#fff;}
.ef-link-btn{background:none;border:none;color:var(--ef-primary);font-size:13px;cursor:pointer;padding:0;text-decoration:underline;}
/* COURSE CARD */
.ef-courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;}
.ef-course-card{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);overflow:hidden;transition:box-shadow var(--ef-transition),transform var(--ef-transition);position:relative;}
.ef-course-card:hover{box-shadow:var(--ef-shadow-md);transform:translateY(-2px);}
.ef-course-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;background:var(--ef-bg);}
.ef-course-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s;}
.ef-course-card:hover .ef-course-thumb img{transform:scale(1.04);}
.ef-thumb-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:36px;background:linear-gradient(135deg,#dbeafe,#ede9fe);}
/* Hover overlay */
.ef-course-hover-overlay{position:absolute;inset:0;background:rgba(15,23,42,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;opacity:0;transition:opacity var(--ef-transition);padding:16px;}
.ef-course-card:hover .ef-course-hover-overlay{opacity:1;}
.ef-hover-add-btn{background:var(--ef-accent);color:#1e293b;border:none;padding:10px 20px;border-radius:6px;font-family:var(--ef-font);font-size:14px;font-weight:700;cursor:pointer;width:100%;transition:background .15s;}
.ef-hover-add-btn:hover{background:var(--ef-accent-dark);}
.ef-hover-wishlist-btn{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);padding:7px 16px;border-radius:6px;font-size:13px;cursor:pointer;width:100%;transition:background .15s;}
.ef-hover-wishlist-btn:hover{background:rgba(255,255,255,.25);}
.ef-course-body{padding:14px;}
.ef-course-type-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;margin-bottom:6px;}
.ef-badge--induction{background:#ede9fe;color:var(--ef-induction);}
.ef-badge--course{background:var(--ef-primary-light);color:var(--ef-primary);}
.ef-badge--free{background:#d1fae5;color:#065f46;}
.ef-course-title{font-family:var(--ef-font);font-size:15px;font-weight:700;color:var(--ef-text);line-height:1.4;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none;}
.ef-course-title:hover{color:var(--ef-primary);}
.ef-course-instructor{font-size:12px;color:var(--ef-text-muted);margin-bottom:8px;}
.ef-course-meta{display:flex;gap:10px;font-size:12px;color:var(--ef-text-muted);margin-bottom:10px;}
.ef-course-price-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.ef-price-current{font-size:16px;font-weight:800;color:var(--ef-text);}
.ef-price-original{font-size:13px;color:var(--ef-text-muted);text-decoration:line-through;}
.ef-price-free{font-size:15px;font-weight:700;color:var(--ef-success);}
.ef-discount-badge{background:#fef9c3;color:#92400e;font-size:11px;font-weight:700;padding:2px 6px;border-radius:4px;}
/* Popup hover card */
.ef-course-popup{position:absolute;z-index:200;width:300px;background:#fff;border:1px solid var(--ef-border);border-radius:var(--ef-radius);box-shadow:var(--ef-shadow-lg);padding:18px;opacity:0;pointer-events:none;transform:scale(.97) translateY(4px);transition:opacity .16s,transform .16s;top:0;left:calc(100% + 8px);}
.ef-course-popup.ef-popup--left{left:auto;right:calc(100% + 8px);}
.ef-course-card:hover .ef-course-popup{opacity:1;pointer-events:auto;transform:scale(1) translateY(0);}
.ef-popup-title{font-family:var(--ef-font);font-size:15px;font-weight:700;margin-bottom:8px;}
.ef-popup-desc{font-size:13px;color:var(--ef-text-muted);margin-bottom:12px;line-height:1.5;}
.ef-popup-bullets{list-style:none;margin-bottom:14px;}
.ef-popup-bullets li{font-size:13px;color:var(--ef-text);padding:3px 0;}
.ef-popup-bullets li::before{content:"✓ ";color:var(--ef-success);font-weight:700;}
.ef-popup-actions{display:flex;gap:8px;}
.ef-popup-add-btn{flex:1;background:var(--ef-primary);color:#fff;border:none;padding:10px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s;}
.ef-popup-add-btn:hover{background:var(--ef-primary-dark);}
.ef-popup-wish-btn{background:transparent;border:2px solid var(--ef-border);color:var(--ef-text-muted);width:38px;height:38px;border-radius:6px;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s;}
.ef-popup-wish-btn:hover{border-color:var(--ef-error);color:var(--ef-error);}
.ef-popup-wish-btn.ef-wishlisted{border-color:var(--ef-error);color:var(--ef-error);background:#fef2f2;}
/* MODAL */
.ef-modal{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-start;justify-content:flex-end;padding:80px 24px 0;}
.ef-modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.35);backdrop-filter:blur(2px);cursor:pointer;}
.ef-modal-box{position:relative;background:#fff;border-radius:var(--ef-radius);box-shadow:var(--ef-shadow-lg);max-width:520px;width:100%;max-height:80vh;overflow-y:auto;z-index:1;animation:ef-slide-in .22s;}
@keyframes ef-slide-in{from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:none;}}
.ef-modal-close{position:absolute;top:12px;right:14px;background:none;border:none;font-size:18px;cursor:pointer;color:var(--ef-text-muted);width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:4px;}
.ef-modal-close:hover{background:var(--ef-bg);color:var(--ef-text);}
.ef-added-modal-box{padding:20px;}
.ef-added-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding-right:24px;}
.ef-added-check{width:28px;height:28px;background:var(--ef-success);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0;}
.ef-added-info{flex:1;min-width:0;display:flex;align-items:center;gap:10px;}
.ef-added-info strong{font-size:14px;display:block;}
.ef-added-info small{font-size:12px;color:var(--ef-text-muted);display:block;}
.ef-added-related{border-top:1px solid var(--ef-border-light);padding-top:16px;}
.ef-added-related h4{font-size:13px;font-weight:600;color:var(--ef-text-muted);margin-bottom:12px;}
.ef-related-list{display:flex;flex-direction:column;gap:10px;}
.ef-related-item{display:flex;align-items:center;gap:10px;}
.ef-related-thumb{width:60px;height:45px;border-radius:5px;object-fit:cover;flex-shrink:0;}
/* COURSE SINGLE */
.ef-course-page{max-width:1240px;margin:0 auto;padding:28px 24px;}
.ef-course-layout{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start;}
.ef-course-breadcrumb{font-size:13px;color:var(--ef-text-muted);margin-bottom:16px;}
.ef-course-breadcrumb a{color:var(--ef-primary);text-decoration:none;}
.ef-course-h1{font-family:var(--ef-font);font-size:2rem;font-weight:800;line-height:1.25;margin-bottom:14px;color:var(--ef-text);}
.ef-course-meta-row{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;font-size:14px;color:var(--ef-text-muted);}
.ef-course-sidebar{position:sticky;top:80px;}
.ef-sidebar-card{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);overflow:hidden;box-shadow:var(--ef-shadow-md);}
.ef-sidebar-preview{position:relative;aspect-ratio:16/9;cursor:pointer;}
.ef-sidebar-preview img{width:100%;height:100%;object-fit:cover;}
.ef-play-btn{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.ef-play-btn div{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 2px 12px rgba(0,0,0,.2);}
.ef-sidebar-body{padding:20px;}
.ef-sidebar-price-main{font-size:2rem;font-weight:800;margin-bottom:4px;color:var(--ef-text);}
.ef-sidebar-price-original{font-size:14px;color:var(--ef-text-muted);text-decoration:line-through;margin-bottom:14px;}
.ef-enroll-btn,.ef-add-cart-btn{width:100%;padding:14px;font-family:var(--ef-font);font-size:15px;font-weight:700;border-radius:var(--ef-radius-sm);cursor:pointer;border:none;margin-bottom:10px;transition:all var(--ef-transition);}
.ef-enroll-btn{background:var(--ef-accent);color:#1e293b;}
.ef-enroll-btn:hover{background:var(--ef-accent-dark);}
.ef-add-cart-btn{background:var(--ef-primary);color:#fff;}
.ef-add-cart-btn:hover{background:var(--ef-primary-dark);}
.ef-sidebar-includes{margin-top:16px;}
.ef-sidebar-includes h4{font-size:13px;font-weight:600;color:var(--ef-text-muted);margin-bottom:10px;}
.ef-sidebar-includes ul{list-style:none;}
.ef-sidebar-includes ul li{font-size:13px;padding:4px 0;display:flex;gap:8px;}
.ef-course-tabs{display:flex;gap:0;border-bottom:2px solid var(--ef-border);margin-bottom:24px;}
.ef-tab-btn{padding:10px 18px;font-size:14px;font-weight:600;color:var(--ef-text-muted);background:none;border:none;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .15s;}
.ef-tab-btn:hover{color:var(--ef-text);}
.ef-tab-btn.ef-tab-active{color:var(--ef-primary);border-bottom-color:var(--ef-primary);}
.ef-tab-panel{display:none;}
.ef-tab-panel.ef-panel-active{display:block;}
.ef-lesson-item{padding:10px 16px;display:flex;align-items:center;gap:10px;font-size:13px;border-bottom:1px solid var(--ef-border-light);color:var(--ef-text);text-decoration:none;}
.ef-lesson-item:hover{background:var(--ef-bg-sidebar);}
.ef-lesson-icon{width:22px;height:22px;border-radius:50%;background:var(--ef-primary-light);color:var(--ef-primary);display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;}
.ef-lesson-icon.ef-lesson-done{background:#d1fae5;color:var(--ef-success);}
.ef-lesson-lock{margin-left:auto;color:var(--ef-text-light);}
/* INDUCTION */
.ef-induction-badge{display:inline-flex;align-items:center;gap:6px;background:#ede9fe;color:var(--ef-induction);padding:4px 12px;border-radius:20px;font-size:13px;font-weight:600;margin-bottom:12px;}
.ef-induction-panel{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);padding:20px;margin-top:24px;}
.ef-induction-status{padding:12px 16px;border-radius:var(--ef-radius-sm);font-size:14px;font-weight:600;margin-bottom:16px;}
.ef-status--pending{background:#fef9c3;color:#92400e;border:1px solid #fde68a;}
.ef-status--success{background:#d1fae5;color:#065f46;border:1px solid #6ee7b7;}
.ef-status--error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5;}
.ef-status--warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a;}
.ef-eval-notes{margin-top:6px;font-size:13px;font-weight:400;color:var(--ef-text-muted);}
.ef-declaration-upload{margin-top:12px;}
.ef-declaration-upload h3{font-size:15px;font-weight:700;margin-bottom:10px;}
.ef-declaration-current{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:10px;padding:8px 12px;background:var(--ef-bg-sidebar);border-radius:var(--ef-radius-sm);}
.ef-upload-zone{border:2px dashed var(--ef-border);border-radius:var(--ef-radius);padding:28px 20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;}
.ef-upload-zone:hover,.ef-upload-zone.ef-upload-selected{border-color:var(--ef-primary);background:var(--ef-primary-light);}
.ef-upload-icon{font-size:28px;margin-bottom:8px;}
.ef-grade-display{font-size:14px;font-weight:400;margin-left:8px;}
/* MY LEARNING */
.ef-my-learning{max-width:1100px;margin:0 auto;padding:28px 24px;}
.ef-page-title{font-family:var(--ef-font);font-size:1.8rem;font-weight:800;margin-bottom:24px;color:var(--ef-text);}
.ef-learning-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;}
.ef-learning-card{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);overflow:hidden;transition:box-shadow var(--ef-transition);}
.ef-learning-card:hover{box-shadow:var(--ef-shadow-md);}
.ef-learning-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--ef-bg);}
.ef-learning-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s;}
.ef-learning-card:hover .ef-learning-thumb img{transform:scale(1.04);}
.ef-thumb-placeholder-lg{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:42px;background:linear-gradient(135deg,#dbeafe,#ede9fe);}
.ef-learning-info{padding:14px;}
.ef-learning-title{font-size:14px;font-weight:700;color:var(--ef-text);text-decoration:none;display:block;margin:6px 0 10px;line-height:1.4;}
.ef-learning-title:hover{color:var(--ef-primary);}
.ef-progress-wrap{margin-bottom:12px;}
.ef-progress-bar{height:6px;background:var(--ef-border);border-radius:3px;overflow:hidden;margin-bottom:4px;}
.ef-progress-fill{height:100%;background:var(--ef-primary);border-radius:3px;}
.ef-progress-label{font-size:12px;color:var(--ef-text-muted);}
/* CART PAGE */
.ef-cart-page{max-width:1100px;margin:0 auto;padding:28px 24px;}
.ef-cart-layout{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start;}
.ef-cart-items{display:flex;flex-direction:column;gap:0;}
.ef-cart-item{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-bottom:1px solid var(--ef-border-light);}
.ef-cart-item-thumb{width:100px;height:75px;border-radius:6px;overflow:hidden;flex-shrink:0;background:var(--ef-bg);display:flex;align-items:center;justify-content:center;font-size:24px;}
.ef-cart-item-thumb img{width:100%;height:100%;object-fit:cover;}
.ef-cart-item-info{flex:1;min-width:0;}
.ef-cart-item-title{font-size:15px;font-weight:700;color:var(--ef-text);text-decoration:none;display:block;margin-bottom:4px;}
.ef-cart-item-title:hover{color:var(--ef-primary);}
.ef-cart-item-meta{font-size:12px;color:var(--ef-text-muted);margin-bottom:6px;}
.ef-cart-item-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.ef-action-sep{color:var(--ef-text-light);font-size:12px;}
.ef-cart-item-price{text-align:right;flex-shrink:0;}
.ef-cart-count{font-size:15px;font-weight:600;color:var(--ef-text-muted);margin-bottom:16px;}
.ef-summary-box{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);padding:20px;position:sticky;top:80px;}
.ef-summary-label{font-size:13px;color:var(--ef-text-muted);font-weight:600;margin-bottom:4px;}
.ef-summary-total{font-size:2rem;font-weight:800;margin-bottom:8px;}
.ef-summary-original{display:flex;justify-content:space-between;font-size:13px;color:var(--ef-text-muted);margin-bottom:4px;}
.ef-summary-discount{display:flex;justify-content:space-between;font-size:13px;color:var(--ef-success);margin-bottom:10px;font-weight:600;}
.ef-summary-badge{display:inline-block;background:#d1fae5;color:#065f46;font-size:12px;font-weight:700;padding:3px 8px;border-radius:4px;margin-bottom:14px;}
.ef-summary-note{font-size:12px;color:var(--ef-text-muted);text-align:center;margin-top:6px;}
.ef-coupon-form{margin-top:16px;display:flex;gap:6px;}
.ef-coupon-form input{flex:1;padding:8px 12px;border:1px solid var(--ef-border);border-radius:var(--ef-radius-sm);font-size:13px;outline:none;}
/* CHECKOUT */
.ef-checkout-page{max-width:1000px;margin:0 auto;padding:28px 24px;}
.ef-checkout-layout{display:grid;grid-template-columns:1fr 320px;gap:32px;}
.ef-checkout-section{margin-bottom:28px;}
.ef-checkout-section h2{font-family:var(--ef-font);font-size:1.3rem;font-weight:800;margin-bottom:20px;}
.ef-checkout-section h3{font-size:15px;font-weight:700;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;}
.ef-secure-badge{font-size:12px;font-weight:500;color:var(--ef-text-muted);}
.ef-form-group{margin-bottom:14px;}
.ef-form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:5px;}
.ef-input{width:100%;padding:10px 12px;border:1px solid var(--ef-border);border-radius:var(--ef-radius-sm);font-size:14px;outline:none;transition:border-color .15s;background:#fff;}
.ef-input:focus{border-color:var(--ef-primary);box-shadow:0 0 0 3px var(--ef-primary-light);}
.ef-select{width:100%;padding:10px 12px;border:1px solid var(--ef-border);border-radius:var(--ef-radius-sm);font-size:14px;background:#fff;cursor:pointer;}
.ef-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.ef-payment-option{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--ef-border);border-radius:var(--ef-radius-sm);cursor:pointer;margin-bottom:8px;transition:border-color .15s;}
.ef-payment-active{border-color:var(--ef-primary);background:var(--ef-primary-light);}
.ef-payment-label{font-weight:600;font-size:14px;}
.ef-payment-logos{margin-left:auto;font-size:12px;color:var(--ef-text-muted);}
.ef-card-form{background:var(--ef-bg-sidebar);border-radius:var(--ef-radius-sm);padding:14px;margin-bottom:8px;}
.ef-order-item{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--ef-border-light);font-size:13px;}
.ef-order-item img{width:50px;height:38px;object-fit:cover;border-radius:4px;flex-shrink:0;}
.ef-order-item-name{flex:1;font-weight:500;}
.ef-summary-row{display:flex;justify-content:space-between;font-size:14px;padding:5px 0;}
.ef-summary-row--discount{color:var(--ef-success);font-weight:600;}
.ef-summary-row--total{font-size:16px;font-weight:800;padding-top:10px;}
.ef-guarantee{text-align:center;margin-top:16px;padding:12px;background:var(--ef-bg-sidebar);border-radius:var(--ef-radius-sm);font-size:13px;}
/* INSTRUCTOR */
.ef-instructor-panel{max-width:1100px;margin:0 auto;padding:28px 24px;}
.ef-instructor-card{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);overflow:hidden;margin-bottom:28px;}
.ef-instructor-card-header{padding:18px 20px;border-bottom:1px solid var(--ef-border-light);display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.ef-instructor-card-header h2{font-size:1.1rem;font-weight:700;margin-bottom:6px;}
.ef-instructor-stats{display:flex;gap:8px;flex-wrap:wrap;}
.ef-stat-pill{padding:4px 10px;border-radius:20px;font-size:12px;font-weight:600;}
.ef-stat-total{background:var(--ef-primary-light);color:var(--ef-primary);}
.ef-stat-approved{background:#d1fae5;color:#065f46;}
.ef-stat-pending{background:#fef9c3;color:#92400e;}
.ef-table{width:100%;border-collapse:collapse;font-size:13px;}
.ef-table th{background:var(--ef-bg-sidebar);padding:10px 12px;text-align:left;font-weight:600;color:var(--ef-text-muted);border-bottom:1px solid var(--ef-border);}
.ef-table td{padding:10px 12px;border-bottom:1px solid var(--ef-border-light);vertical-align:middle;}
.ef-table tr:hover td{background:var(--ef-bg-sidebar);}
.ef-muted{color:var(--ef-text-muted);}
/* MISC */
.ef-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;}
.ef-badge--blue{background:var(--ef-primary-light);color:var(--ef-primary);}
.ef-notice{padding:14px 18px;border-radius:var(--ef-radius-sm);font-size:14px;}
.ef-notice--warn{background:#fef9c3;border:1px solid #fde68a;color:#92400e;}
.ef-modal-success{text-align:center;padding:40px 32px;}
.ef-modal-icon{font-size:48px;margin-bottom:16px;}
.ef-modal-success h2{font-family:var(--ef-font);font-size:1.5rem;font-weight:800;margin-bottom:8px;}
.ef-empty-state{text-align:center;padding:60px 24px;}
.ef-empty-icon{font-size:48px;margin-bottom:16px;}
.ef-empty-state h2{font-family:var(--ef-font);font-size:1.4rem;font-weight:700;margin-bottom:8px;}
/* FOOTER */
.ef-footer{background:#1e3a5f;color:#94a3b8;padding:36px 0;margin-top:64px;}
.ef-footer-inner{max-width:1240px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
.ef-footer-logo{font-family:var(--ef-font);font-size:1.3rem;font-weight:800;color:#fff;}
.ef-footer-logo span{color:var(--ef-accent);}
.ef-footer-links a{color:#94a3b8;font-size:14px;text-decoration:none;margin-right:20px;}
.ef-footer-links a:hover{color:#fff;}
/* Logo INTECSAL en footer (blanco sobre fondo oscuro) */
.ef-footer-intecsal-link{display:inline-block;margin-bottom:10px;opacity:.85;transition:opacity .2s;}
.ef-footer-intecsal-link:hover{opacity:1;}
.ef-footer-intecsal-logo{height:48px;width:auto;display:block;filter:brightness(0) invert(1);}
.ef-footer-brand p{font-size:13px;color:#94a3b8;margin:4px 0 0;}
.site-content,.entry-content,.page-content{max-width:1240px;margin:32px auto;padding:0 24px;}
@media(max-width:900px){.ef-course-layout,.ef-cart-layout,.ef-checkout-layout{grid-template-columns:1fr;}.ef-course-sidebar{position:static;}.ef-course-popup{display:none;}}
@media(max-width:640px){.ef-navbar-search{display:none;}.ef-courses-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:420px){.ef-courses-grid{grid-template-columns:1fr;}}

/* ── DROPDOWN HOVER FIX (ef-drop-open via JS delay) ─────────────── */
.ef-nav-item.ef-drop-open .ef-nav-dropdown,
.ef-user-menu.ef-drop-open .ef-user-dropdown {opacity:1;pointer-events:auto;transform:translateY(0);}

/* ── CERTIFICATES ────────────────────────────────────────────────── */
.ef-cert-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#1e293b;border-radius:6px;font-size:13px;font-weight:700;text-decoration:none;border:none;cursor:pointer;transition:opacity .2s;}
.ef-cert-btn:hover{opacity:.85;}
.ef-cert-issued{font-size:11px;color:#10b981;font-weight:600;margin-top:4px;}

/* ── INSTRUCTOR PANEL EXTENDED ───────────────────────────────────── */
.ef-panel-tabs{display:flex;gap:4px;margin-bottom:24px;border-bottom:2px solid var(--ef-border);}
.ef-panel-tab-btn{padding:10px 20px;background:none;border:none;font-size:14px;font-weight:600;color:var(--ef-text-muted);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:color .2s,border-color .2s;}
.ef-panel-tab-btn.active{color:var(--ef-primary);border-bottom-color:var(--ef-primary);}
.ef-panel-tab-content{display:none;}
.ef-panel-tab-content.active{display:block;}
.ef-course-section{background:#fff;border:1px solid var(--ef-border);border-radius:var(--ef-radius);margin-bottom:24px;overflow:hidden;}
.ef-course-section-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--ef-bg-sidebar);border-bottom:1px solid var(--ef-border);}
.ef-course-section-header h3{margin:0;font-size:15px;color:var(--ef-text);}
.ef-students-table{width:100%;border-collapse:collapse;font-size:13px;}
.ef-students-table th{padding:10px 14px;text-align:left;font-size:12px;font-weight:600;color:var(--ef-text-muted);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--ef-border-light);}
.ef-students-table td{padding:10px 14px;border-bottom:1px solid var(--ef-border-light);}
.ef-students-table tr:last-child td{border-bottom:none;}
.ef-students-table tr:hover td{background:var(--ef-bg-sidebar);}
.ef-status-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:12px;font-size:11px;font-weight:600;}
.ef-status-badge--pending{background:#fef3c7;color:#92400e;}
.ef-status-badge--approved{background:#d1fae5;color:#065f46;}
.ef-status-badge--failed{background:#fee2e2;color:#991b1b;}
.ef-status-badge--observed{background:#ede9fe;color:#4c1d95;}
.ef-completion-select{padding:5px 8px;border:1px solid var(--ef-border);border-radius:5px;font-size:12px;background:#fff;cursor:pointer;}
.ef-save-progress-btn{padding:5px 10px;background:var(--ef-primary);color:#fff;border:none;border-radius:5px;font-size:12px;cursor:pointer;font-weight:600;transition:background .15s;}
.ef-save-progress-btn:hover{background:#1d4ed8;}
.ef-issue-cert-btn{padding:5px 10px;background:#f59e0b;color:#1e293b;border:none;border-radius:5px;font-size:12px;cursor:pointer;font-weight:600;transition:opacity .15s;}
.ef-issue-cert-btn:hover{opacity:.8;}
.ef-cert-issued-tag{font-size:11px;color:#10b981;font-weight:600;}

/* ═══════════════════════════════════════════════════════════════════
   CESTA ESTILO UDEMY
═══════════════════════════════════════════════════════════════════ */
.ef-cart-item{display:flex;align-items:flex-start;gap:16px;padding:18px 0;border-bottom:1px solid #f1f5f9;}
.ef-cart-item:last-child{border-bottom:none;}
.ef-ci-thumb-link{flex-shrink:0;}
.ef-ci-thumb{width:130px;height:98px;object-fit:cover;border-radius:6px;display:block;}
.ef-ci-thumb--placeholder{width:130px;height:98px;background:#f0f4f8;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:32px;}
.ef-ci-body{flex:1;min-width:0;}
.ef-ci-title{display:block;font-size:15px;font-weight:700;color:#1e293b;text-decoration:none;margin-bottom:3px;line-height:1.4;}
.ef-ci-title:hover{color:#2563eb;}
.ef-ci-instructor{font-size:12px;color:#64748b;margin-bottom:6px;}
.ef-ci-meta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px;}
.ef-ci-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;}
.ef-ci-badge--hot{background:#fef3c7;color:#92400e;}
.ef-ci-badge--updated{background:#dbeafe;color:#1e40af;}
.ef-ci-rating{display:flex;align-items:center;gap:5px;}
.ef-ci-rating-num{font-size:13px;font-weight:700;color:#b45309;}
.ef-ci-stars{display:flex;gap:1px;}
.ef-ci-reviews{font-size:11px;color:#94a3b8;}
.ef-ci-details{font-size:12px;color:#64748b;display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-bottom:8px;}
.ef-ci-dot{opacity:.4;}
.ef-ci-actions{display:flex;align-items:center;gap:0;flex-wrap:wrap;}
.ef-ci-action-btn{background:none;border:none;padding:0 8px 0 0;font-size:13px;color:#7c3aed;cursor:pointer;text-decoration:underline;}
.ef-ci-action-btn:hover{color:#5b21b6;}
.ef-ci-sep{color:#cbd5e1;margin:0 4px;}
.ef-ci-price-col{flex-shrink:0;text-align:right;min-width:90px;}
.ef-ci-price-current{font-size:17px;font-weight:800;color:#1e293b;display:block;}
.ef-ci-price-orig{font-size:12px;color:#94a3b8;text-decoration:line-through;display:block;margin-top:2px;}

/* Stars shared */
.ef-star{font-size:13px;}
.ef-star--full{color:#f59e0b;}
.ef-star--half{color:#f59e0b;opacity:.7;}
.ef-star--empty{color:#e2e8f0;}

/* Summary box new */
.ef-summary-label{font-size:13px;color:#64748b;margin-bottom:4px;font-weight:500;}
.ef-summary-total{font-size:32px;font-weight:900;color:#1e293b;margin-bottom:4px;}
.ef-summary-original{font-size:13px;color:#94a3b8;text-decoration:line-through;margin-bottom:2px;}
.ef-summary-pct{font-size:13px;color:#16a34a;font-weight:600;margin-bottom:16px;}
.ef-coupon-wrap{margin-top:12px;}
.ef-input{border:1px solid #ddd;border-radius:6px;padding:9px 12px;font-size:14px;width:100%;box-sizing:border-box;}
.ef-input--full{width:100%;}

/* ═══════════════════════════════════════════════════════════════════
   CARDS MODO INSTRUCTOR
═══════════════════════════════════════════════════════════════════ */
.ef-card--instructor{outline:2px solid rgba(37,99,235,.25);}
.ef-instr-overlay{background:rgba(15,23,42,.78)!important;}
.ef-instr-overlay-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;padding:20px;}
.ef-instr-student-count{text-align:center;}
.ef-instr-count-num{display:block;font-size:36px;font-weight:900;color:#fff;line-height:1;}
.ef-instr-count-label{font-size:12px;color:rgba(255,255,255,.7);text-transform:uppercase;letter-spacing:1px;}
.ef-card-instr-stats{padding-top:8px;border-top:1px solid #f1f5f9;font-size:12px;color:#64748b;margin-top:6px;}
.ef-card-instr-stats span{display:block;margin-bottom:6px;}

/* Rating en cards */
.ef-card-rating{display:flex;align-items:center;gap:5px;margin-bottom:4px;}
.ef-card-rating-num{font-size:13px;font-weight:700;color:#b45309;}
.ef-card-stars{display:flex;gap:1px;}
.ef-card-reviews{font-size:11px;color:#94a3b8;}
.ef-card-badge{display:inline-block;padding:2px 7px;border-radius:3px;font-size:11px;font-weight:700;margin-left:4px;}
.ef-card-badge--hot{background:#fef3c7;color:#92400e;}
.ef-card-badge--updated{background:#dbeafe;color:#1e40af;}

/* ═══════════════════════════════════════════════════════════════════
   MODAL ALUMNOS (Panel Instructor)
═══════════════════════════════════════════════════════════════════ */
.ef-smodal{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-start;justify-content:flex-end;}
.ef-smodal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(2px);}
.ef-smodal-panel{position:relative;z-index:1;background:#fff;width:min(860px,96vw);height:100vh;overflow-y:auto;box-shadow:-8px 0 40px rgba(0,0,0,.18);display:flex;flex-direction:column;}
.ef-smodal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 28px 18px;border-bottom:1px solid #f1f5f9;position:sticky;top:0;background:#fff;z-index:2;}
.ef-smodal-header h2{font-size:18px;font-weight:800;color:#1e293b;margin:0;}
.ef-smodal-close{background:none;border:none;font-size:20px;cursor:pointer;color:#64748b;padding:4px 8px;border-radius:6px;line-height:1;}
.ef-smodal-close:hover{background:#f1f5f9;}
.ef-smodal-body{flex:1;padding:20px 28px;}
.ef-smodal-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:60px 0;color:#64748b;font-size:14px;}
.ef-smodal-empty{text-align:center;padding:60px 20px;font-size:22px;color:#94a3b8;line-height:2;}
.ef-smodal-table{width:100%;border-collapse:collapse;font-size:12px;}
.ef-smodal-table th{background:#f8fafc;color:#475569;font-weight:700;padding:9px 10px;text-align:left;border-bottom:2px solid #e2e8f0;white-space:nowrap;}
.ef-smodal-table td{padding:10px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle;}
.ef-smodal-table tr:hover td{background:#fafbfd;}
.ef-smodal-eval-sel{border:1px solid #ddd;border-radius:5px;padding:4px 6px;font-size:11px;background:#fff;width:100%;min-width:120px;}

/* Cert badge */
.ef-cert-badge{display:inline-flex;align-items:center;gap:4px;background:#fef3c7;color:#92400e;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;}
.ef-cert-badge:hover{background:#fde68a;}

/* Spinner */
.ef-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:ef-spin .7s linear infinite;}
@keyframes ef-spin{to{transform:rotate(360deg);}}
body.ef-modal-open{overflow:hidden;}

/* ═══════════════════════════════════════════════════════════════════
   WISHLIST PAGE (from v2.2)
═══════════════════════════════════════════════════════════════════ */
.ef-wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;}
.ef-wish-card{background:var(--ef-bg-card);border:1px solid var(--ef-border);border-radius:var(--ef-radius);overflow:hidden;transition:box-shadow var(--ef-transition);}
.ef-wish-card:hover{box-shadow:var(--ef-shadow);}
.ef-wish-thumb{display:block;height:160px;overflow:hidden;background:var(--ef-bg);}
.ef-wish-thumb img{width:100%;height:100%;object-fit:cover;}
.ef-wish-thumb-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:40px;background:var(--ef-bg-sidebar);}
.ef-wish-body{padding:14px;}
.ef-wish-title{display:block;font-size:14px;font-weight:700;color:var(--ef-text);text-decoration:none;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ef-wish-title:hover{color:var(--ef-primary);}
.ef-wish-price{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap;}
.ef-wish-actions{display:flex;gap:8px;flex-wrap:wrap;}
.ef-btn--ghost{background:transparent;border-color:var(--ef-border);color:var(--ef-text-muted);}
.ef-btn--ghost:hover{background:var(--ef-bg-sidebar);}

/* ═══════════════════════════════════════════════════
   QUIZ (Cuestionario)
═══════════════════════════════════════════════════ */
.ef-quiz-wrapper { font-family: var(--ef-font, 'Inter', sans-serif); }
.ef-quiz-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.ef-quiz-header { padding: 24px 28px; background: linear-gradient(135deg, #f8fafc, #eff6ff); border-bottom: 1px solid #e2e8f0; }
.ef-quiz-header h2 { margin: 0 0 4px; font-size: 1.25rem; color: #1e3a5f; }
.ef-quiz-question { padding: 22px 28px; border-bottom: 1px solid #f1f5f9; }
.ef-quiz-q-num { font-size: .75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ef-quiz-q-text { font-size: 1rem; font-weight: 600; color: #1e293b; line-height: 1.5; margin-bottom: 14px; }
.ef-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.ef-quiz-option { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; cursor: pointer; transition: all .15s; font-size: .9rem; }
.ef-quiz-option:hover { border-color: #2563eb; background: #eff6ff; }
.ef-quiz-option input[type=radio] { accent-color: #2563eb; transform: scale(1.15); flex-shrink: 0; }
.ef-quiz-option:has(input:checked) { border-color: #2563eb; background: #eff6ff; }
.ef-quiz-footer { padding: 20px 28px; background: #f8fafc; border-top: 1px solid #e2e8f0; display: flex; justify-content: center; }
.ef-quiz-result { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }

/* ═══════════════════════════════════════════════════
   EVALUACIÓN MANUAL
═══════════════════════════════════════════════════ */
.ef-manual-eval-panel table { border-collapse: collapse; }
.ef-manual-eval-panel th { font-weight: 600; font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.ef-manual-eval-panel td, .ef-manual-eval-panel th { border-bottom: 1px solid #f1f5f9; }
.ef-manual-eval-panel tr:hover td { background: #f8fafc; }

/* ═══════════════════════════════════════════════════
   AUTH (Login / Registro)
═══════════════════════════════════════════════════ */
.ef-auth-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ef-auth-card { background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(37,99,235,.1); padding: 40px; width: 100%; max-width: 480px; }
@media(max-width:520px) { .ef-auth-card { padding: 24px; } .ef-fields-row { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   STUDENT QUICK NAV BUTTONS
══════════════════════════════════════════════════════════════════════ */
.ef-student-quicknav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 32px 0 16px;
    padding: 0;
    background: none;
    border-radius: 0;
    overflow-x: auto;
}
.ef-qnav-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
    padding: 13px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-family: var(--ef-font);
    font-weight: 700;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    transition: transform .18s, box-shadow .18s, filter .18s;
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
    line-height: 1.2;
}
.ef-qnav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    filter: brightness(1.1);
    color: #fff;
}
.ef-qnav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255,255,255,.22);
}
.ef-qnav-icon svg { width: 18px; height: 18px; }
.ef-qnav-label { font-size: 13px; font-weight: 700; }

.ef-qnav-btn--wishlist { background: linear-gradient(135deg, #ec4899, #db2777); }
.ef-qnav-btn--learning { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.ef-qnav-btn--certs    { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ef-qnav-btn--profile  { background: linear-gradient(135deg, #2563eb, #1d4ed8); }

@media (max-width: 600px) {
    .ef-student-quicknav { flex-wrap: wrap; gap: 8px; padding: 12px; }
    .ef-qnav-btn { min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); padding: 11px 12px; font-size: 12px; }
    .ef-qnav-icon { width: 28px; height: 28px; }
    .ef-qnav-icon svg { width: 15px; height: 15px; }
    .ef-qnav-label { font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PAYMENT METHODS — EXTENDED
══════════════════════════════════════════════════════════════════════ */
.ef-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 2px solid var(--ef-border);
    border-radius: var(--ef-radius);
    cursor: pointer;
    margin-bottom: 4px;
    transition: border-color var(--ef-transition), background var(--ef-transition);
    flex-wrap: wrap;
}
.ef-payment-option:has(input:checked),
.ef-payment-option.ef-payment-active {
    border-color: var(--ef-primary);
    background: var(--ef-primary-light);
}
.ef-payment-option input[type=radio] { flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--ef-primary); }
.ef-payment-label { font-weight: 600; font-size: 15px; flex: 1; display: flex; align-items: center; }
.ef-payment-logos { font-size: 12px; color: var(--ef-text-muted); margin-left: auto; }
.ef-payment-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.ef-badge-auto    { background: #d1fae5; color: #065f46; }
.ef-badge-pending { background: #fef3c7; color: #92400e; }

/* Transfer info box */
.ef-transfer-form {
    background: #f8fafc;
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    padding: 20px;
    margin: 4px 0 12px;
}
.ef-transfer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.ef-transfer-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid var(--ef-border);
}
.ef-transfer-icon { font-size: 20px; flex-shrink: 0; }
.ef-transfer-detail strong { font-size: 12px; color: var(--ef-text-muted); display: block; margin-bottom: 4px; }
.ef-transfer-value { font-size: 15px; font-weight: 700; color: var(--ef-text); }
.ef-amount-highlight { color: var(--ef-primary); font-size: 18px; }

/* File upload drop zone */
.ef-voucher-upload label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}
.ef-required { color: #ef4444; }
.ef-file-drop {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    position: relative;
    overflow: hidden;
}
.ef-file-drop:hover, .ef-file-drop.ef-drag-over {
    border-color: var(--ef-primary);
    background: var(--ef-primary-light);
}
.ef-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.ef-file-drop-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 20px;
    text-align: center;
    color: var(--ef-text-muted);
    font-size: 14px;
    pointer-events: none;
}
.ef-file-icon { font-size: 32px; }
.ef-file-hint { font-size: 12px; color: var(--ef-text-light); }
.ef-file-preview {
    padding: 12px 16px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--ef-border);
}
.ef-file-preview-img { max-height: 80px; max-width: 120px; border-radius: 6px; object-fit: contain; border: 1px solid var(--ef-border); }
.ef-file-preview-info { font-size: 13px; }
.ef-file-remove { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 18px; margin-left: auto; }

/* Transfer notice */
.ef-transfer-notice { margin-top: 12px; }
.ef-notice { padding: 14px 18px; border-radius: 8px; font-size: 14px; }
.ef-notice--info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.ef-notice--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.ef-notice--warn { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* Pending modal steps */
.ef-modal-pending { text-align: center; }
.ef-pending-steps { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; text-align: left; }
.ef-pstep { padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.ef-pstep { background: #d1fae5; color: #065f46; }
.ef-pstep--active { background: #fef3c7; color: #92400e; }
.ef-pstep--inactive { background: #f1f5f9; color: #94a3b8; }

/* ══════════════════════════════════════════════════════════════════════
   MY PROFILE PAGE
══════════════════════════════════════════════════════════════════════ */
.ef-my-profile { max-width: 1000px; }
.ef-profile-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
@media (max-width: 768px) { .ef-profile-layout { grid-template-columns: 1fr; } }
.ef-profile-sidebar {
    background: var(--ef-bg-card);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    padding: 28px 20px;
    text-align: center;
}
.ef-avatar-img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; border: 4px solid var(--ef-primary-light); }
.ef-profile-name { font-weight: 700; font-size: 18px; margin-top: 14px; }
.ef-profile-email { color: var(--ef-text-muted); font-size: 13px; margin-top: 4px; margin-bottom: 20px; }
.ef-profile-stats { display: flex; gap: 8px; justify-content: center; }
.ef-pstat { text-align: center; }
.ef-pstat-num { display: block; font-size: 22px; font-weight: 800; color: var(--ef-primary); }
.ef-pstat-label { font-size: 12px; color: var(--ef-text-muted); }
.ef-profile-content {
    background: var(--ef-bg-card);
    border: 1px solid var(--ef-border);
    border-radius: var(--ef-radius);
    padding: 28px;
}
.ef-profile-form { margin-bottom: 28px; }
.ef-textarea { min-height: 100px; resize: vertical; font-family: var(--ef-font-body); }

/* Payment history */
.ef-payment-history h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-top: 20px; border-top: 1px solid var(--ef-border); }
.ef-payment-history-list { display: flex; flex-direction: column; gap: 10px; }
.ef-pmt-item { background: #f8fafc; border: 1px solid var(--ef-border); border-radius: 8px; padding: 14px; }
.ef-pmt-pending  { border-left: 4px solid #f59e0b; }
.ef-pmt-approved { border-left: 4px solid #10b981; }
.ef-pmt-rejected { border-left: 4px solid #ef4444; }
.ef-pmt-info { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.ef-pmt-method { font-weight: 700; font-size: 14px; }
.ef-pmt-courses { font-size: 13px; color: var(--ef-text-muted); }
.ef-pmt-amount { font-weight: 700; color: var(--ef-primary); }
.ef-pmt-date { font-size: 12px; color: var(--ef-text-muted); margin-left: auto; }
.ef-pmt-status { font-size: 13px; font-weight: 700; }
.ef-pmt-notes { font-size: 12px; color: var(--ef-text-muted); margin-top: 6px; }

/* ══════════════════════════════════════════════════════════════════════
   QR CODE BLOCK (Yape / Plin)
══════════════════════════════════════════════════════════════════════ */
.ef-transfer-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ef-qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid var(--ef-border);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    flex-shrink: 0;
    min-width: 160px;
}
.ef-qr-label {
    font-size: 12px;
    color: var(--ef-text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}
.ef-qr-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}
.ef-qr-amount {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ef-primary);
}
.ef-transfer-layout .ef-transfer-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ══════════════════════════════════════════════════════════════════════
   PAYMENT PENDING NOTICE (course sidebar)
══════════════════════════════════════════════════════════════════════ */
.ef-payment-pending-notice {
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
    border: 2px solid #fcd34d;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    margin-bottom: 8px;
}
.ef-ppn-icon { font-size: 32px; margin-bottom: 6px; }
.ef-ppn-title { font-weight: 800; font-size: 15px; color: #92400e; margin-bottom: 8px; }
.ef-ppn-text { font-size: 13px; color: #78350f; line-height: 1.5; margin-bottom: 10px; }
.ef-ppn-link { font-size: 13px; color: #2563eb; font-weight: 600; text-decoration: none; }
.ef-ppn-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════
   TRANSFER PREVIEW NOTICE (checkout page)
══════════════════════════════════════════════════════════════════════ */
.ef-transfer-preview-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 8px 0;
    font-size: 14px;
    color: #0c4a6e;
    flex-wrap: wrap;
}
.ef-tpn-icon { font-size: 22px; flex-shrink: 0; }
.ef-tpn-arrow { color: #0ea5e9; font-weight: 700; font-size: 18px; }
.ef-tpn-hint { color: #64748b; font-size: 12px; flex: 1; min-width: 120px; }

/* ══════════════════════════════════════════════════════════════════════
   INSTRUCCIONES DE PAGO PAGE
══════════════════════════════════════════════════════════════════════ */
.ef-pi-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* Progress bar */
.ef-pi-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}
.ef-pi-prog-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    min-width: 90px;
    text-align: center;
}
.ef-pi-prog-step.ef-pi-prog--done { color: #2563eb; }
.ef-pi-prog-step.ef-pi-prog--active { color: #1e3a5f; }
.ef-pi-prog-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.2s;
}
.ef-pi-prog--done .ef-pi-prog-dot {
    background: #2563eb;
    color: #fff;
}
.ef-pi-prog--active .ef-pi-prog-dot {
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 0 0 4px #bfdbfe;
}
.ef-pi-prog-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    max-width: 80px;
    margin-bottom: 22px;
}
.ef-pi-prog-line--done { background: #2563eb; }

/* Layout */
.ef-pi-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 768px) {
    .ef-pi-layout { grid-template-columns: 1fr; }
    .ef-pi-progress { gap: 4px; }
    .ef-pi-prog-line { max-width: 40px; }
    .ef-pi-prog-step { min-width: 70px; font-size: 11px; }
}

/* Main section */
.ef-pi-section {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.ef-pi-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

/* QR */
.ef-pi-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}
.ef-pi-qr-card {
    background: linear-gradient(135deg, #f0f9ff, #fff);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: inline-block;
}
.ef-pi-qr-label {
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ef-pi-qr-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #e0f2fe;
}
.ef-pi-qr-amount {
    font-size: 28px;
    font-weight: 900;
    color: #1e3a5f;
    margin-top: 14px;
}
.ef-pi-qr-hint {
    font-size: 12px;
    color: #64748b;
    margin: 6px 0 0;
}
.ef-pi-qr-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    width: 100%;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}
.ef-pi-qr-or::before, .ef-pi-qr-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Payment details */
.ef-pi-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}
.ef-pi-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    gap: 12px;
}
.ef-pi-detail-row:last-child { border-bottom: none; }
.ef-pi-detail-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}
.ef-pi-detail-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ef-pi-detail-row--amount { background: #eff6ff; border-radius: 8px; padding: 12px; margin: 8px -4px 0; border-bottom: none; }
.ef-pi-amount-big { font-size: 20px; color: #2563eb; }
.ef-copy-btn {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all .15s;
}
.ef-copy-btn:hover { background: #eff6ff; border-color: #2563eb; }

/* Upload zone */
.ef-pi-upload-section { margin-top: 4px; }
.ef-pi-upload-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 6px;
}
.ef-pi-upload-hint {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}
.ef-pi-drop-zone {
    position: relative;
    border: 2.5px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    overflow: hidden;
}
.ef-pi-drop-zone:hover, .ef-pi-drop-zone.ef-pi-drag-over {
    border-color: #2563eb;
    background: #eff6ff;
}
.ef-pi-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    text-align: center;
    pointer-events: none;
}
.ef-pi-drop-icon { font-size: 36px; }
.ef-pi-drop-text { font-size: 14px; color: #475569; }
.ef-pi-drop-hint { font-size: 12px; color: #94a3b8; }
.ef-pi-drop-preview {
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    pointer-events: none;
}
.ef-pi-prev-img-wrap { position: relative; }
.ef-pi-prev-img { max-height: 120px; max-width: 160px; border-radius: 8px; object-fit: cover; }
.ef-pi-remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc2626;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}
.ef-pi-prev-info { font-size: 13px; color: #1e293b; }

/* Sidebar */
.ef-pi-summary-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    position: sticky;
    top: 80px;
}
.ef-pi-summary-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 16px;
}
.ef-pi-course-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.ef-pi-course-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.ef-pi-course-name { font-size: 13px; font-weight: 600; color: #1e293b; line-height: 1.4; }
.ef-pi-course-price { font-size: 13px; color: #2563eb; font-weight: 700; }
.ef-pi-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.ef-pi-total-amount { font-size: 20px; font-weight: 900; color: #1e3a5f; }
.ef-pi-method-badge {
    margin-top: 12px;
    padding: 8px 12px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    text-align: center;
}
.ef-pi-secure-note {
    margin-top: 14px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}
.ef-pi-help-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 18px;
    margin-top: 16px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}
.ef-pi-help-card strong { color: #1e293b; display: block; margin-bottom: 4px; }

/* Status page */
.ef-pi-status-card {
    max-width: 520px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.ef-pi-status-card h2 { font-size: 1.5rem; font-weight: 800; color: #1e3a5f; margin: 0 0 12px; }
.ef-pi-status-card p { color: #64748b; line-height: 1.6; }
.ef-pi-status-icon {
    font-size: 56px;
    display: block;
    margin: 0 auto 20px;
}
.ef-pi-status--pending { animation: ef-pulse 2s infinite; }
@keyframes ef-pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.ef-pi-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0;
    text-align: left;
}
.ef-pi-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
}
.ef-pi-step--done { background: #f0fdf4; color: #166534; }
.ef-pi-step--waiting { background: #fef3c7; color: #92400e; }
.ef-pi-step--rejected { background: #fee2e2; color: #dc2626; }
