/* ==========================================
   CLASSROOM MANAGEMENT — Admin Getting Started
   Follows the exact same theme as Folder Management
   animations for visual continuity.
   ========================================== */

/* === CONTAINER === */
.guide-anim{border:1px solid #e2e2e0;border-radius:16px;overflow:hidden;margin:28px 0 32px;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,0.04);position:relative;z-index:0;border-radius:14px;border:1px solid #e5e5e0}
.ga-slides{position:relative}
.ga-slide{display:none}
.ga-slide.active{display:block}

/* === VIEWPORT === */
.ga-viewport{position:relative;height:340px;overflow:hidden;background:#eceae6;cursor:pointer}

/* === INFO === */
.ga-info{padding:18px 22px 14px;font-family:var(--db-font,system-ui,sans-serif)}
.ga-step-badge{display:inline-block;font-size:10px;font-weight:700;color:#1967D2;background:#E8F0FE;padding:4px 12px;border-radius:20px;margin-bottom:8px;text-transform:uppercase;letter-spacing:.8px}
.ga-info h3{font-size:16px;font-weight:600;margin-bottom:4px;color:#1a1a1a}
.ga-info p{font-size:13px;color:#6b6b6b;line-height:1.55;margin:0}

/* === CONTROLS === */
.ga-controls{display:none}
.ga-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45);z-index:200;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s ease}
.ga-overlay.on{opacity:1;pointer-events:auto}
.ga-overlay-btn{width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;cursor:pointer}
.ga-overlay-btn svg{width:22px;height:22px;color:#333;margin-left:3px}
.ga-reset-float{position:absolute;bottom:8px;right:8px;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:201;opacity:0;pointer-events:none;transition:opacity .25s ease}
.ga-reset-float.on{opacity:1;pointer-events:auto}
.ga-reset-float svg{width:13px;height:13px;color:#333}
.ga-progress{height:3px;background:#eee;border-radius:2px}
.ga-progress-bar{height:100%;background:#4285f4;transition:width .5s ease;border-radius:2px}

/* === CURSOR === */
.ga-cursor{position:absolute;width:20px;height:24px;z-index:100;pointer-events:none;opacity:0;filter:drop-shadow(1px 2px 2px rgba(0,0,0,.25))}
.ga-cursor.vis{opacity:1}

/* === SCENE BASE === */
.sc{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .5s ease;font-family:var(--db-font,system-ui,sans-serif)}
.sc.on{opacity:1;pointer-events:auto}

/* ==========================================
   SLIDE 1 — WELCOME EMAIL
   ========================================== */
.sc-email{background:#eceae6;display:flex;align-items:center;justify-content:center}
.em-notif{position:absolute;top:30px;left:50%;transform:translateX(-50%) scale(0);width:220px;background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 8px 30px rgba(0,0,0,.12);display:flex;align-items:center;gap:10px;z-index:10;opacity:0}
.em-notif.pop{animation:npop .5s cubic-bezier(.34,1.56,.64,1) forwards}
@keyframes npop{0%{opacity:0;transform:translateX(-50%) scale(.5) translateY(-8px)}100%{opacity:1;transform:translateX(-50%) scale(1) translateY(0)}}
.em-notif.gone{animation:ngone .3s ease forwards}
@keyframes ngone{to{opacity:0;transform:translateX(-50%) scale(.9) translateY(-8px)}}
.em-notif-ico{width:34px;height:34px;border-radius:9px;background:#4285f4;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.em-notif-ico svg{width:17px;height:17px}
.em-notif-txt{font-size:11px;color:#333;line-height:1.4}
.em-notif-txt b{display:block;font-size:12px;margin-bottom:1px}

.em-card{width:390px;background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(0,0,0,.12);overflow:hidden;opacity:0;transform:scale(.88)}
.em-card.pop{animation:ecpop .55s cubic-bezier(.34,1.2,.64,1) forwards}
@keyframes ecpop{0%{opacity:0;transform:scale(.85)}100%{opacity:1;transform:scale(1)}}
.em-bar{height:36px;background:#fafaf8;border-bottom:1px solid #eee;display:flex;align-items:center;padding:0 12px;gap:5px}
.em-bar i{width:8px;height:8px;border-radius:50%;display:block}
.em-bar span{flex:1;text-align:center;font-size:10px;color:#bbb}
.em-body{padding:18px 20px}
.em-subj{font-size:13px;font-weight:600;color:#1a1a1a;margin-bottom:2px}
.em-from{font-size:10px;color:#aaa;margin-bottom:14px}
.em-txt{font-size:11px;color:#666;line-height:1.7;margin-bottom:14px}
.em-creds{background:#f4f8fe;border:1px solid #d6e4fb;border-radius:10px;padding:12px 14px;position:relative}
.em-cr{display:flex;justify-content:space-between;align-items:center;padding:3px 0}
.em-cr+.em-cr{border-top:1px dashed #d6e4fb;margin-top:7px;padding-top:8px}
.em-cr .l{font-size:9px;color:#999;text-transform:uppercase;letter-spacing:.4px}
.em-cr .v{font-size:12px;font-weight:600;color:#1a1a1a}
.em-glow{position:absolute;inset:-2px;border-radius:12px;border:2px solid #4285f4;opacity:0;pointer-events:none}
.em-glow.on{animation:egl 1.5s ease-in-out infinite}
@keyframes egl{0%,100%{opacity:.3;box-shadow:0 0 0 0 rgba(66,133,244,.2)}50%{opacity:1;box-shadow:0 0 0 6px rgba(66,133,244,0)}}
.em-link{display:inline-block;margin-top:12px;font-size:11px;color:#4285f4;text-decoration:underline;cursor:default}
.em-link.hl{background:rgba(66,133,244,.1);border-radius:3px;padding:0 2px}

/* ==========================================
   SLIDE 2 — JOURNEY (Homepage → Login)
   ========================================== */
.sc-home{background:#fff}
.hp-top{height:44px;background:#fff;border-bottom:1px solid #eee;display:flex;align-items:center;padding:0 20px;justify-content:space-between}
.hp-logo{display:flex;align-items:center;gap:6px}
.hp-logo i{width:18px;height:18px;background:#4285f4;border-radius:5px;display:block}
.hp-logo span{font-size:13px;font-weight:600;color:#1a1a1a}
.hp-nav{display:flex;gap:16px;font-size:11px;color:#777}
.hp-gs-btn{background:#4285f4;color:#fff;font-size:11px;font-weight:600;padding:7px 16px;border-radius:6px;border:none;cursor:default;position:relative;transition:background .15s}
.hp-gs-btn.hl{background:#3367c7;box-shadow:0 0 0 3px rgba(66,133,244,.2)}
.hp-hero{padding:40px 30px;display:flex;gap:30px;align-items:center}
.hp-hero-txt h2{font-size:20px;font-weight:700;color:#1a1a1a;line-height:1.3;margin-bottom:8px}
.hp-hero-txt p{font-size:11px;color:#888;line-height:1.5;max-width:280px}
.hp-hero-art{flex:1;height:160px;background:#f0f2f8;border-radius:16px}

.hp-dd{position:absolute;top:46px;right:16px;width:160px;background:#fff;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.12);overflow:hidden;z-index:20;opacity:0;transform:translateY(-6px);pointer-events:none}
.hp-dd.on{opacity:1;transform:translateY(0);pointer-events:auto;transition:all .25s ease}
.hp-dd-item{padding:10px 14px;font-size:12px;color:#444;display:flex;align-items:center;gap:8px;cursor:default;transition:background .1s}
.hp-dd-item:first-child{border-bottom:1px solid #f0f0f0}
.hp-dd-item.hl{background:#f0f4ff;color:#4285f4}
.hp-dd-item i{width:16px;height:16px;background:#ddd;border-radius:4px;display:block}

.sc-login{background:#f0f2f8;display:flex}
.lg-art{flex:1;display:flex;align-items:center;justify-content:center}
.lg-art-box{width:220px;height:180px;background:#e0e4ee;border-radius:18px;position:relative;overflow:hidden}
.lg-art-box::before{content:'';position:absolute;bottom:16px;left:20px;width:100px;height:7px;background:#c0c8d8;border-radius:3px}
.lg-art-box::after{content:'';position:absolute;bottom:28px;left:35px;width:45px;height:36px;background:#b0bcd0;border-radius:4px;border:2px solid #a0aec0}
.lg-art-p1{position:absolute;bottom:16px;left:28px;width:36px;height:60px;background:#4285f4;border-radius:10px 10px 5px 5px}
.lg-art-p1::before{content:'';position:absolute;top:-15px;left:7px;width:22px;height:22px;background:#f5c6a0;border-radius:50%}
.lg-art-p2{position:absolute;bottom:16px;right:28px;width:32px;height:55px;background:#f5c6a0;border-radius:9px 9px 5px 5px}
.lg-art-p2::before{content:'';position:absolute;top:-14px;left:5px;width:20px;height:20px;background:#8d6e52;border-radius:50%}

.lg-form{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}
.lg-logo{display:flex;align-items:center;gap:6px;margin-bottom:4px}
.lg-logo i{width:18px;height:18px;background:#4285f4;border-radius:5px;display:block}
.lg-logo span{font-size:13px;font-weight:600;color:#1a1a1a}
.lg-title{font-size:15px;font-weight:600;color:#1a1a1a;margin-bottom:18px}
.lg-grp{width:200px;margin-bottom:9px}
.lg-lbl{font-size:10px;font-weight:500;color:#777;margin-bottom:3px;display:block}
.lg-inp{width:100%;height:34px;border:1.5px solid #ddd;border-radius:7px;background:#fff;padding:0 10px;font-size:12px;color:#1a1a1a;display:flex;align-items:center;transition:border-color .2s,box-shadow .2s;overflow:hidden}
.lg-inp.fc{border-color:#4285f4;box-shadow:0 0 0 3px rgba(66,133,244,.1)}
.lg-forgot{font-size:10px;color:#4285f4;text-align:right;width:200px;margin:2px 0 12px;cursor:default;transition:color .15s}
.lg-forgot.hl{color:#1a56c7;text-decoration:underline;background:rgba(66,133,244,.08);border-radius:3px;padding:1px 4px}
.lg-btn{width:200px;height:36px;background:#4285f4;color:#fff;border:none;border-radius:7px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:5px;transition:all .15s;cursor:default}
.lg-btn.press{transform:scale(.97);background:#3367c7}
.lg-btn .ldot{width:12px;height:12px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;display:none;animation:spin .5s linear infinite}
.lg-btn.ld .ldot{display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes tcb{50%{opacity:0}}

/* ==========================================
   SLIDE 3 — CLASSROOM ADMIN DASHBOARD
   Same structure as Folder Management dashboard.
   Only difference: 3 stat cards + classroom nav items.
   ========================================== */
.sc-dash{background:#fff;display:flex}
.ds-side{width:115px;background:#fafafc;border-right:1px solid #eee;padding:12px 0;display:flex;flex-direction:column;gap:1px}
.ds-side-logo{display:flex;align-items:center;gap:5px;padding:0 12px 14px}
.ds-side-logo i{width:18px;height:18px;background:#4285f4;border-radius:5px;display:block}
.ds-side-logo span{font-size:12px;font-weight:600;color:#1a1a1a}
.ds-nav{padding:8px 12px;font-size:10px;color:#999;display:flex;align-items:center;gap:7px;margin-right:6px;border-radius:0 7px 7px 0}
.ds-nav i{width:14px;height:14px;border-radius:4px;background:currentColor;opacity:.2;display:block}
.ds-nav.act{background:#4285f4;color:#fff;font-weight:600}
.ds-nav.act i{opacity:.5}
.ds-body{flex:1;padding:12px 16px;overflow:hidden}
.ds-top{display:flex;justify-content:flex-end;align-items:center;gap:7px;margin-bottom:12px}
.ds-uname{font-size:10px;color:#888}
.ds-uname b{color:#333}
/* Avatar — purple, same as Folder Management */
.ds-av{width:28px;height:28px;border-radius:50%;background:#9c5fff;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}

/* Three stat cards — slightly tighter to fit 3 across */
.ds-cards{display:flex;gap:8px;margin-bottom:10px}
.ds-card{flex:1;border:1px solid #eee;border-radius:11px;padding:10px;position:relative;opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .4s ease}
.ds-card.pop{opacity:1;transform:translateY(0)}
.ds-card-lbl{font-size:10px;color:#aaa;margin-bottom:1px}
/* Smaller value font to fit "3612 / 15000" in the card */
.ds-card-val{font-size:14px;font-weight:700;color:#1a1a1a}
.ds-card-ico{position:absolute;top:10px;right:8px;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.ds-card-ico svg{width:14px;height:14px}

/* Chart — same as Folder Management */
.ds-chart{border:1px solid #eee;border-radius:11px;padding:12px 14px;opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .4s ease}
.ds-chart.pop{opacity:1;transform:translateY(0)}
.ds-chart-hd{font-size:11px;font-weight:600;color:#1a1a1a;margin-bottom:12px;display:flex;justify-content:space-between}
.ds-chart-hd span{font-size:9px;color:#aaa;background:#f5f5f3;padding:2px 7px;border-radius:4px}
.ds-bars{display:flex;align-items:stretch;gap:5px;height:65px}
.ds-bar-c{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}
.ds-bar{width:100%;max-width:24px;background:#4285f4;border-radius:3px 3px 0 0;height:0;transition:height .7s cubic-bezier(.34,1.56,.64,1)}
.ds-bar-l{font-size:8px;color:#ccc;margin-top:4px}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media(max-width:640px){
  .ga-viewport{height:280px}
  .em-card{width:300px}
  .lg-art{display:none}
  .lg-grp,.lg-forgot,.lg-btn{width:170px}
  .ds-side{width:80px}
  .hp-hero{padding:20px 16px;flex-direction:column}
}
