:root{
    --orange:#C0392B; --orange-deep:#7E2418; --orange-light:rgba(192,57,43,0.12); --orange-sheen:#E35D4B;
    --charcoal:#1F1F1F; --charcoal-soft:#2A2A2A;
    --gray:#707070; --gray-light:#E7E5E2;
    --asphalt:#16161A; --cream:#FAF8F6; --white:#FFFFFF;
    --line:rgba(255,255,255,0.55);
    --shadow-soft:0 12px 30px rgba(31,31,31,0.08);
    --shadow-deep:0 20px 50px rgba(31,31,31,0.18);
    --radius:18px;
    --sidebar-w:240px;
  }
  *{box-sizing:border-box;}
  html,body{margin:0;padding:0;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;}
  html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;}
  *::-webkit-scrollbar{width:0;height:0;}
  *{scrollbar-width:none;}
  /* overflow-x:clip (instead of hidden) keeps the page from scrolling sideways
     WITHOUT turning <body> into a scroll container — a scroll container on body
     breaks the sticky dashboards' topbar, which would scroll away. */
  body{font-family:'Inter',sans-serif;color:var(--charcoal);background:var(--cream);-webkit-font-smoothing:antialiased;overflow-x:hidden;overflow-x:clip;}
  h1,h2,h3,h4{font-family:'Poppins',sans-serif;margin:0;}
  p{margin:0;line-height:1.6;color:var(--gray);}
  a{text-decoration:none;color:inherit;}
  img{max-width:100%;height:auto;}
  button{font-family:'Inter',sans-serif;cursor:pointer;border:none;}
  ::selection{background:var(--orange);color:white;}
  :focus-visible{outline:3px solid var(--orange);outline-offset:3px;}
  select,input,textarea{font-family:'Inter',sans-serif;}

    /* ========== SHARED BUTTONS ========== */
  .btn{border-radius:12px;padding:12px 24px;font-weight:600;font-size:14px;display:inline-flex;align-items:center;gap:8px;transition:.2s;white-space:nowrap;border:1.5px solid transparent;}
  .btn-primary{background:var(--orange);color:white;box-shadow:0 8px 20px rgba(192,57,43,0.3);}
  .btn-primary:hover{background:var(--orange-deep);transform:translateY(-1px);}
  .btn-ghost{background:transparent;border-color:var(--gray-light);color:var(--charcoal);}
  .btn-ghost:hover{background:rgba(31,31,31,0.05);}
  .btn-sm{padding:8px 16px;font-size:13px;border-radius:9px;}
  .btn-danger{background:#fee2e2;color:#dc2626;}
  .btn-danger:hover{background:#fecaca;}
  .btn-success{background:#dcfce7;color:#16a34a;}
  .btn-success:hover{background:#bbf7d0;}
  .btn-lg{padding:16px 30px;font-size:15px;border-radius:14px;}

    /* STATUS BADGES */
  .badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:700;}
  .badge.enrolled{background:#dcfce7;color:#15803d;}
  .badge.pending{background:#fef3c7;color:#b45309;}
  .badge.rejected{background:#fee2e2;color:#b91c1c;}
  .badge.active{background:#dbeafe;color:#1d4ed8;}
  .badge.completed{background:#f3e8ff;color:#7e22ce;}
  .badge.verified{background:#dcfce7;color:#15803d;}
  .badge.ongoing{background:rgba(192,57,43,0.15);color:var(--orange-deep);}
  .badge.upcoming{background:#f1f5f9;color:#475569;}
  .badge.done{background:#f0fdf4;color:#15803d;}
  .badge.fast{background:rgba(99,102,241,0.12);color:#4338ca;}
  .badge.avg{background:rgba(59,130,246,0.12);color:#1d4ed8;}
  .badge.needs{background:#fee2e2;color:#dc2626;}


    /* ========== MODALS ========== */
  .modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:200;display:none;align-items:center;justify-content:center;padding:24px;}
  .modal-overlay.open{display:flex;}
  .modal-overlay .modal-box{background:white;border-radius:20px;padding:32px;width:100%;max-width:500px;max-height:85vh;overflow-y:auto;box-shadow:0 40px 80px rgba(0,0,0,0.3);}
  .modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;}
  .modal-head h3{font-size:18px;font-weight:700;}
  .modal-close{width:32px;height:32px;border-radius:8px;border:none;background:var(--gray-light);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;}

    /* ========== BOOTSTRAP MODAL (JS-driven) — for the Delete Student confirmation ONLY ==========
       Uses the real bootstrap.bundle.min.js (bootstrap.Modal API, data-bs-* attributes).
       We do NOT load bootstrap.min.css (it collides with .btn/.badge/.card above), so this
       is just the minimum CSS the Modal class needs to position/animate itself, themed to RCDA. */
  .modal{position:fixed;top:0;left:0;z-index:1055;display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0;}
  .modal-dialog{position:relative;width:auto;margin:1.75rem auto;max-width:440px;pointer-events:none;}
  .modal.fade .modal-dialog{transition:transform .25s ease-out;transform:translate(0,-40px);}
  .modal.show .modal-dialog{transform:none;}
  .modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem);}
  .modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background:white;background-clip:padding-box;outline:0;border:none;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-deep);}
  .modal-backdrop{position:fixed;inset:0;z-index:1050;background:#000;opacity:0;transition:opacity .15s linear;}
  .modal-backdrop.show{opacity:.55;}
  .modal-header{display:flex;flex-shrink:0;align-items:center;gap:14px;padding:22px 26px;background:var(--charcoal);border:none;}
  .modal-header .btn-close{margin-left:auto;}
  .modal-title{margin-bottom:0;line-height:1.5;color:white;font-size:16px;font-weight:700;font-family:'Poppins',sans-serif;}
  .modal-body{position:relative;flex:1 1 auto;padding:24px 26px;font-size:14.5px;color:var(--charcoal-soft);}
  .modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding:16px 26px;border-top:1px solid var(--gray-light);}
  .btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:8px;opacity:.55;}
  .btn-close:hover{opacity:.8;}
  .btn-close:focus{outline:0;box-shadow:0 0 0 4px rgba(192,57,43,0.25);opacity:1;}
  .btn-close-white{filter:invert(1) grayscale(100%) brightness(200%);}
  .rcda-modal-icon{width:40px;height:40px;border-radius:12px;background:rgba(192,57,43,0.18);color:var(--orange);display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;flex-shrink:0;font-family:'Poppins',sans-serif;}
  .rcda-modal-subtitle{margin:2px 0 0;color:rgba(255,255,255,0.5);font-size:12.5px;}

    /* ========== FIELD VALIDATION STATE ==========
       Applied to the wrapper (.input-wrap / .m-inp-wrap) around an
       input/select/textarea, or directly to a checkbox, via
       RCDA.setFieldError() in shared.js. */
  .input-wrap.field-error input,
  .input-wrap.field-error select,
  .m-inp-wrap.field-error input,
  .m-inp-wrap.field-error select,
  .m-inp-wrap.field-error textarea{
    border-color:#dc2626 !important;
    box-shadow:0 0 0 4px rgba(220,38,38,0.10) !important;
  }
  .field-error-checkbox{
    outline:2px solid #dc2626;outline-offset:3px;border-radius:6px;
  }

  /* ==========================================================
     DASHBOARD SHELL — shared across admin/instructor/student dashboards
     (sidebar, topbar, stat tiles, cards, tables, dashboard-specific
     badge variants, grids). Loaded on every dashboard page, after
     this file and before the role-specific admin.css / instructor.css /
     student.css.
     ========================================================== */
/* ========== MODERN DASHBOARD ADD-ONS ========== */
/* New tokens used only by the rules below — doesn't touch anything
   already defined in base.css. Uses the same brand colors already
   in play (var(--orange), var(--cream), etc.) plus a few new ones
   for status/proficiency states and a mono "readout" font for
   numbers, so key figures read like a dashboard gauge. */
:root{
  --font-mono:'JetBrains Mono', 'Courier New', monospace;
  --indigo:#5B5BD9; --indigo-bg:#EBEBFB;
  --blue2:#2E6FE0; --blue2-bg:#E8F0FE;
  --success:#1F9D57; --success-bg:#E4F6EC;
  --warn2:#C17A0A; --warn2-bg:#FBEEDA;
  --danger2:#DC2626; --danger2-bg:#FCE8E8;
}
.mono{font-family:var(--font-mono);}


/* ========== HAMBURGER BUTTON ========== */
  .hamburger-btn{
    width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.3);
    box-shadow:inset 0 1px 2px rgba(255,255,255,0.2),0 2px 6px rgba(0,0,0,0.08);
    display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;flex-shrink:0;
  }
  .hamburger-btn:hover{background:white;border-color:white;transform:translateY(-1px);}
  .hamburger-btn:hover svg{stroke:var(--orange);}
  .hamburger-btn svg{stroke:white;transition:.2s;}
  .dash-topbar.scrolled .hamburger-btn{background:var(--cream);border-color:var(--gray-light);box-shadow:none;}
  .dash-topbar.scrolled .hamburger-btn svg{stroke:var(--charcoal);}
  .dash-topbar.scrolled .hamburger-btn:hover{background:var(--orange);border-color:var(--orange);}
  .dash-topbar.scrolled .hamburger-btn:hover svg{stroke:white;}


  /* ========== SIDEBAR OVERLAY ========== */
  .sidebar-overlay{
    display:none;position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:49;
    backdrop-filter:blur(2px);cursor:pointer;
  }
  .sidebar-overlay.active{display:block;}


  /* ========== DASHBOARD SHELL ========== */
  .dash-shell{display:flex;min-height:100vh;background:#F0EFED;}

  /* SIDEBAR — hidden off-screen by default on ALL screen sizes,
     opened by hamburger. This makes it consistent everywhere. */
  .sidebar{
    width:var(--sidebar-w);height:100vh;height:100dvh;background:var(--asphalt);
    display:flex;flex-direction:column;
    position:fixed;left:0;top:0;bottom:0;z-index:50;
    transform:translateX(-100%);
    transition:transform .28s cubic-bezier(.4,0,.2,1);
    overflow:hidden;
  }
  .sidebar.open{transform:translateX(0);}

  .sidebar-brand{padding:24px 20px 18px;border-bottom:1px solid rgba(255,255,255,0.07);}
  .sidebar-brand .brand{color:white;font-size:14px;display:flex;align-items:center;gap:10px;font-family:'Poppins';font-weight:800;}
  .sidebar-brand .brand .mark{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,0.05);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
  .sidebar-brand .brand .mark img{width:100%;height:100%;object-fit:cover;}
  .sidebar-user{padding:16px 20px;border-bottom:1px solid rgba(255,255,255,0.07);display:flex;align-items:center;gap:10px;}
  .sidebar-avatar{width:36px;height:36px;border-radius:50%;background:var(--orange);display:flex;align-items:center;justify-content:center;color:white;font-weight:700;font-size:13px;flex-shrink:0;}
  .sidebar-user-info b{color:white;font-size:13px;display:block;}
  .sidebar-user-info span{color:rgba(255,255,255,0.4);font-size:11.5px;}
  .sidebar-nav{flex:1 1 auto;padding:14px 10px;overflow-y:auto;min-height:0;}
  .sidebar-section-label{font-size:10.5px;font-weight:700;letter-spacing:1.2px;color:rgba(255,255,255,0.3);text-transform:uppercase;padding:10px 10px 6px;}
  .nav-item{
    position:relative;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:10px;
    color:rgba(255,255,255,0.55);font-size:13.5px;font-weight:500;cursor:pointer;transition:.2s;margin-bottom:2px;
  }
  .nav-item:hover{background:rgba(255,255,255,0.07);color:white;}
  .nav-item.active{background:rgba(192,57,43,0.18);color:var(--orange);}
  .nav-item.active::before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:2px;background:var(--orange);}
  .nav-item svg{flex-shrink:0;}
  .sidebar-footer{flex-shrink:0;padding:16px 10px;border-top:1px solid rgba(255,255,255,0.07);background:var(--asphalt);}


  /* ========== MAIN CONTENT ========== */
  .dash-main{margin-left:0;flex:1;display:flex;flex-direction:column;min-height:100vh;width:100%;}

  .dash-topbar{
    background:linear-gradient(135deg,var(--orange-sheen) 0%,var(--orange) 55%,#7E2418 100%);
    box-shadow:0 2px 6px rgba(0,0,0,0.12);
    padding:0 24px;height:64px;display:flex;align-items:center;gap:14px;justify-content:space-between;
    position:sticky;top:0;z-index:40;
    transition:background .25s ease,box-shadow .25s ease;
  }
  .dash-topbar.scrolled{
    background:white;box-shadow:0 2px 10px rgba(0,0,0,0.08);border-bottom:1px solid var(--gray-light);
  }
  .topbar-left{display:flex;align-items:center;gap:14px;}
  .topbar-logo img{width:34px;height:34px;border-radius:9px;object-fit:cover;background:white;box-shadow:0 1px 4px rgba(0,0,0,0.18);display:block;}
  .topbar-title{font-family:'Poppins';font-weight:700;font-size:16px;color:white;text-shadow:0 1px 2px rgba(0,0,0,0.1);transition:color .25s ease,text-shadow .25s ease;}
  .dash-topbar.scrolled .topbar-title{color:var(--charcoal);text-shadow:none;}
  .topbar-right{display:flex;align-items:center;gap:16px;}
  .notif-btn{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.3);box-shadow:inset 0 1px 2px rgba(255,255,255,0.2),0 2px 6px rgba(0,0,0,0.08);display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer;transition:.2s;}
  .notif-btn:hover{background:rgba(255,255,255,0.28);transform:translateY(-1px);}
  .notif-btn svg{stroke:white;transition:stroke .25s ease;}
  .notif-dot{position:absolute;top:6px;right:6px;width:9px;height:9px;    background:#ffe08a;border-radius:50%;border:2px solid #7E2418;box-shadow:0 0 0 1px rgba(255,255,255,0.4);transition:.25s ease;}
  .dash-topbar.scrolled .notif-btn{background:var(--cream);border-color:var(--gray-light);box-shadow:none;}
  .dash-topbar.scrolled .notif-btn svg{stroke:var(--charcoal);}
  .dash-topbar.scrolled .notif-dot{background:var(--orange);border-color:white;}
  .dash-topbar.scrolled #topbarAvatar{background:var(--orange);color:white;box-shadow:0 2px 6px rgba(192,57,43,0.3);}
  .dash-body{flex:1;padding:28px 24px;}

  /* PANELS */
  .panel{display:none;}
  .panel.active{display:block;}


  /* ========== STAT CARDS (gauge tiles) ========== */
  .stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px;}
  .stat-card{position:relative;background:white;border-radius:16px;padding:22px 24px;box-shadow:var(--shadow-soft);border:1px solid var(--gray-light);transition:.2s;overflow:hidden;display:flex;align-items:center;gap:6px;}
  .stat-card:hover{box-shadow:var(--shadow-deep);transform:translateY(-2px);}
  .stat-card .stat-text{flex:1;min-width:0;text-align:center;}
  .stat-card .label{font-size:12px;font-weight:600;letter-spacing:.5px;color:var(--gray);text-transform:uppercase;margin-bottom:10px;}
  .stat-card .value{font-family:var(--font-mono);font-size:30px;font-weight:700;color:var(--charcoal);line-height:1;letter-spacing:-.5px;}
  .stat-card .sub{font-size:12.5px;color:var(--gray);margin-top:8px;}
  .stat-card .sub.up{color:#16a34a;}
  .stat-card .sub.warn{color:#d97706;}
  .stat-card .ico-wrap{flex-shrink:0;width:58px;height:58px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--cream);border:1px solid var(--gray-light);overflow:hidden;padding:10px;box-sizing:border-box;}
  .stat-card .ico-wrap img{width:100%;height:100%;object-fit:contain;}


  /* ========== CARDS & TABLES ========== */
  .card{background:white;border-radius:16px;padding:24px;box-shadow:var(--shadow-soft);border:1px solid var(--gray-light);margin-bottom:20px;}
  .card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;}
.card-head .toolbar{display:flex;gap:8px;align-items:center;}
  .card-head h3{font-size:15px;font-weight:700;display:flex;align-items:center;gap:8px;}
  .card-head h3::before{content:'';width:5px;height:14px;border-radius:2px;background:var(--orange);display:inline-block;}
  /* ========== FILTER DROPDOWN ========== */
  .filter-wrap{position:relative;}
  .filter-menu{display:none;position:absolute;top:calc(100% + 6px);right:0;background:white;border:1px solid var(--gray-light);border-radius:12px;box-shadow:var(--shadow-deep);padding:12px 14px;min-width:160px;z-index:50;}
  .filter-menu.open{display:block;}
  .filter-menu-title{font-size:11px;font-weight:700;color:var(--gray);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;}
  .filter-check{display:flex;align-items:center;gap:8px;font-size:13.5px;padding:6px 0;cursor:pointer;color:var(--charcoal);}
  .filter-check input{width:15px;height:15px;accent-color:var(--orange);cursor:pointer;}
  table{width:100%;border-collapse:collapse;}
  th{text-align:left;font-size:12.5px;font-weight:700;letter-spacing:.5px;color:var(--gray);text-transform:uppercase;padding:13px 16px;border-bottom:1px solid var(--gray-light);}
  td{padding:17px 16px;font-size:15px;border-bottom:1px solid rgba(231,229,226,0.6);}
  tr:last-child td{border-bottom:none;}
  tr:hover td{background:rgba(192,57,43,0.025);}


  /* TWO / THREE COL GRIDS */
  .two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch;}
  .two-col > .card{margin-bottom:0;display:flex;flex-direction:column;}
  .three-col{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;}


  /* ========== STATUS BADGES ========== */
  .badge{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.2px;white-space:nowrap;}
  .badge.fast{background:rgba(99,102,241,0.14);color:#4f46e5;}
  .badge.avg{background:rgba(59,130,246,0.12);color:#2563eb;}
  .badge.needs{background:rgba(248,113,113,0.16);color:#dc2626;}
  .badge.enrolled, .badge.active, .badge.verified, .badge.completed, .badge.done{background:var(--success-bg);color:var(--success);}
  .badge.pending{background:var(--warn2-bg);color:var(--warn2);}
  .badge.upcoming{background:var(--gray-light);color:var(--gray);}
  .badge.confirmed{background:var(--blue2-bg);color:var(--blue2);}


  /* button disabled state (generic) */
  .btn:disabled{opacity:.55;cursor:not-allowed;}

  /* ========== RESPONSIVE (shell / stat cards / grids / tables) ========== */
  @media(max-width:1200px){
    .stat-cards{grid-template-columns:repeat(2,1fr);}
  }
  @media(max-width:900px){
    .stat-cards{grid-template-columns:repeat(2,1fr);}
    .two-col,.three-col{grid-template-columns:1fr;}
    .dash-body{padding:20px 16px;}
    .dash-topbar{padding:0 16px;}
  }
  @media(max-width:600px){
    .stat-cards{grid-template-columns:1fr 1fr;}
    .stat-cards[style]{grid-template-columns:1fr 1fr !important;}
    .stat-card{padding:16px 14px;gap:10px;}
    .stat-card .value{font-size:22px;}
    .stat-card .ico-wrap{width:44px;height:44px;}
    .card-head{flex-direction:column;align-items:flex-start;gap:12px;}
    .card-head .toolbar{width:100%;flex-wrap:wrap;display:flex;gap:8px;}
    .card-head .toolbar input{width:100% !important;flex:1 1 100%;}
    table{font-size:12.5px;}
    th,td{padding:10px 10px;}

  /* ========== RCDA LOADING SPINNER ========== */
  .rcda-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:54px 0;color:var(--gray);font-size:14px;font-family:Inter,system-ui,sans-serif;}
  .rcda-spinner{width:36px;height:36px;border:3px solid var(--gray-light);border-top-color:var(--orange);border-radius:50%;animation:rcda-spin .8s linear infinite;}
  @keyframes rcda-spin{to{transform:rotate(360deg);}}

  /* ========== FULL-PAGE SPLASH (opaque, shown until data loads) ==========
     Styled here (not only injected by shared.js) so the splash markup in the
     dashboard HTML paints opaque from the very first frame — no dashboard
     flash behind it while the API calls are still in flight. */
  #rcdaPageLoading{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;background:var(--cream);opacity:1;visibility:visible;transition:opacity .18s ease,visibility .18s ease;}
  #rcdaPageLoading:not(.show){opacity:0;visibility:hidden;pointer-events:none;}
  #rcdaPageLoading .rcda-pl-card{display:flex;flex-direction:column;align-items:center;gap:16px;}
  #rcdaPageLoading .rcda-pl-spin{width:54px;height:54px;border:4px solid rgba(192,57,43,0.18);border-top-color:#C0392B;border-radius:50%;animation:rcda-pl-spin .8s linear infinite;}
  #rcdaPageLoading .rcda-pl-label{font-family:'Inter',system-ui,sans-serif;font-size:15px;font-weight:600;color:#C0392B;letter-spacing:.2px;}
  @keyframes rcda-pl-spin{to{transform:rotate(360deg);}}

  /* ========== RCDA CENTERED ALERTS (system-modal style) ========== */
  #rcdaToastRoot{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;}
  .rcda-toast-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(16,18,22,0.5);opacity:0;transition:opacity .24s ease;backdrop-filter:blur(2px);cursor:pointer;}
  .rcda-toast-overlay.show{opacity:1;}

  .rcda-toast{position:relative;width:min(420px,94vw);box-sizing:border-box;background:#fff;border-radius:20px;box-shadow:0 40px 80px rgba(16,24,40,.32);overflow:hidden;font-family:Inter,system-ui,sans-serif;line-height:1.45;transform:scale(.94) translateY(8px);opacity:0;transition:opacity .26s ease,transform .26s cubic-bezier(.2,.9,.3,1.2);}
  .rcda-toast.show{opacity:1;transform:scale(1) translateY(0);}

  .rcda-toast .toast-banner{height:6px;width:100%;}
  .rcda-toast .toast-inner{padding:30px 28px 22px;display:flex;flex-direction:column;align-items:center;text-align:center;}
  .rcda-toast .ic{flex:0 0 auto;width:64px;height:64px;border-radius:18px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:32px;margin-bottom:16px;box-shadow:0 10px 24px rgba(16,24,40,.18);}
  .rcda-toast .body{flex:1 1 auto;min-width:0;}
  .rcda-toast .title{font-family:'Poppins',sans-serif;font-weight:700;font-size:20px;margin-bottom:6px;color:var(--charcoal);}
  .rcda-toast .msg{flex:1 1 auto;word-break:break-word;font-size:14px;opacity:.82;color:var(--charcoal-soft);}
  .rcda-toast .bar{position:absolute;left:0;bottom:0;height:4px;width:100%;transform-origin:left;animation:rcda-toast-bar 1.69s linear forwards;}
  @keyframes rcda-toast-bar{from{transform:scaleX(1);}to{transform:scaleX(0);}}

  .rcda-toast--success .toast-banner{background:linear-gradient(90deg,#12B76A,#0E9A5A);}
  .rcda-toast--success .ic{background:linear-gradient(135deg,#12B76A,#0E9A5A);}
  .rcda-toast--success .bar{background:#12B76A;}
  .rcda-toast--error .toast-banner{background:linear-gradient(90deg,#F04438,#D92D20);}
  .rcda-toast--error .ic{background:linear-gradient(135deg,#F04438,#D92D20);}
  .rcda-toast--error .bar{background:#F04438;}
  .rcda-toast--info .toast-banner{background:linear-gradient(90deg,#2E90FA,#1C78DD);}
  .rcda-toast--info .ic{background:linear-gradient(135deg,#2E90FA,#1C78DD);}
  .rcda-toast--info .bar{background:#2E90FA;}
  }