:root{
  --ink: #0F172A;
  --ink-soft: #475569;
  --ink-muted: #64748B;
  --paper: #F8FAFC;
  --paper-line: #E2E8F0;
  --card: #FFFFFF;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --accent-gold: #F59E0B;
  --margin: #EF4444;
  --sky: #0EA5E9;
  --green: #10B981;
  --green-dark: #059669;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.06);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin: 0;
  color: var(--ink);
  font-family: 'Anek Bangla', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  background: radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.035) 0%, transparent 45%),
              radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.035) 0%, transparent 45%),
              var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3{
  font-family: 'Anek Bangla', sans-serif;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }

.container{
  max-width: min(1140px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.6vw, 32px);
  width: 100%;
}

/* ===== হেডার ও নেভবার (গ্লাস মরফিজম) ===== */
header.nav{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--paper-line);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
.nav-inner{
  max-width: min(1240px, 100%);
  margin: 0 auto;
  height: 64px;
  padding: 0 clamp(16px, 2.6vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
}
.brand .brand-logo{
  height: 64px;
  max-height: 100%;
  width: auto;
  aspect-ratio: 3.84/1;
  object-fit: contain;
  flex: none;
  transition: transform 0.2s ease;
}
.brand:hover .brand-logo{
  transform: scale(1.02);
}

.back-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1.5px solid var(--paper-line);
  height: 38px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.back-link:hover{
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.3);
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.back-link svg{
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.back-link:hover svg{
  transform: translateX(-2px);
}

@media(max-width: 480px){
  .nav-inner{ gap: 8px; height: 64px; }
  .brand .brand-logo{ height: 42px; }
  .back-link{ height: 34px; font-size: 12px; padding: 0 10px; gap: 5px; border-radius: 8px; }
}

/* ===== পেজ হেডার ===== */
.page-head{
  padding: clamp(32px, 5vw, 48px) 0 16px;
  text-align: center;
}
.page-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 4px 14px;
  border-radius: 999px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.page-badge::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563EB;
}
.page-head h1{
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.page-head p{
  margin-top: 10px;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}

/* ===== লগইন ও রেজিস্ট্রেশন কার্ড ===== */
.auth-wrap{
  padding: 8px 0 48px;
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ===== অথেনটিকেশন কন্টেইনার ===== */
.auth-box{
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3.2vw, 32px);
  position: relative;
  overflow: hidden;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  z-index: 1;
}
.auth-box.login-mode{
  max-width: 460px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.09), 0 6px 18px -3px rgba(15, 23, 42, 0.04);
  border-radius: 24px;
}
#dashboardSection .auth-box{
  max-width: 960px;
}
.auth-box::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 50%, #10B981 100%);
}

/* লগিন কার্ড হেডার ও ফর্ম লেআউট */
.login-form-wrap{
  width: 100%;
}
.login-header-mini{
  text-align: center;
  margin-bottom: 22px;
}
.login-title{
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.25;
}
.login-subtitle{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}


/* ইনপুট ফিল্ডস উইথ আইকন */
.input-with-icon{
  position: relative;
  width: 100%;
}
.input-with-icon .input-leading-icon{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.input-with-icon input{
  padding-left: 44px !important;
  height: 46px;
  border-radius: 12px;
  font-size: 15px;
}
.input-with-icon:focus-within .input-leading-icon{
  color: #2563EB;
  transform: translateY(-50%) scale(1.08);
}
[data-theme="dark"] .input-with-icon:focus-within .input-leading-icon{
  color: #38BDF8;
}

/* সেগমেন্টেড ট্যাব সুইচ (Standardized Sleek Tab Buttons) */
.tab-switch{
  display: flex;
  gap: 4px;
  background: #F1F5F9;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 22px;
  box-shadow: inset 0 1.5px 3px rgba(15, 23, 42, 0.04);
}
.tab-btn{
  flex: 1 1 50%;
  height: 38px;
  border: none;
  background: transparent;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: -0.1px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}
.tab-btn:hover:not(.active){
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}
.tab-btn:active{
  transform: scale(0.985);
}
.tab-btn.active{
  background: #FFFFFF;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

@media(max-width: 480px){
  .tab-switch{
    padding: 3px;
    margin-bottom: 18px;
  }
  .tab-btn{
    height: 35px;
    font-size: 14px;
    padding: 0 10px;
  }
  .tab-btn.active{
    font-size: 14px;
  }
}

.panel{ display: none; }
.panel.active{ display: block; animation: fadeIn 0.25s ease both; }
@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ফর্ম গ্রিড ও রো */
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 20px;
}
.form-grid .full{ grid-column: 1 / -1; }
@media(max-width: 640px){
  .form-grid{
    grid-template-columns: 1fr;
    gap: 12px 0;
    margin-bottom: 18px;
  }
}
.form-row{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-grid .form-row{
  margin-bottom: 0;
}
.form-row label{
  font-weight: 700;
  font-size: 13.5px;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
}
.form-row label .req{
  color: var(--margin);
  font-weight: 800;
}
.form-row input,
.form-row select{
  font-family: inherit;
  font-size: 15px;
  height: 42px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--paper-line);
  background: #F8FAFC;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.form-row select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
  cursor: pointer;
}
.form-row input::placeholder{
  color: #94A3B8;
  font-size: 14px;
}
.form-row input:hover,
.form-row select:hover{
  border-color: #CBD5E1;
  background: #ffffff;
}
.form-row input:focus,
.form-row select:focus{
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

/* বাটনস (Standard 46px Height) */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  border: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn-primary{
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary::after{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}
.btn-primary:hover::after{
  left: 150%;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
}
.btn-primary:active{
  transform: scale(0.98);
}
.btn-primary:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
#loginSubmitBtn::after{
  content: "→";
  font-size: 17px;
  font-weight: 800;
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
#loginSubmitBtn:hover::after{
  transform: translateX(4px);
}

.btn-outline{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--paper-line);
  box-shadow: none;
}
.btn-outline:hover{
  border-color: var(--ink);
  background: #f8fafc;
}

/* লগআউট বাটন (রোজ চিপ) */
.logout-link-btn{
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 8px);
  background: #FFF1F2;
  border: 1.5px solid #FECDD3;
  color: #E11D48;
  font-weight: 700;
  font-size: clamp(11px, 2vw, 13.5px);
  padding: clamp(5px, 1.1vw, 8px) clamp(10px, 2.1vw, 16px);
  border-radius: 999px;
  transition: all 0.2s ease;
  flex: none;
  white-space: nowrap;
}
.logout-link-btn svg{
  width: clamp(12px, 2.3vw, 16px);
  height: clamp(12px, 2.3vw, 16px);
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.logout-link-btn:hover{
  background: #FFE4E6;
  border-color: #FDA4AF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.12);
}

/* ফর্ম স্ট্যাটাস অ্যালার্ট */
.form-status{
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  display: none;
  padding: 10px 16px;
  border-radius: 12px;
}
.form-status.show{ display: block; }
.form-status.ok{
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}
.form-status.err{
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.switch-hint{
  margin-top: 18px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.switch-hint button{
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
  font-size: 14.5px;
  cursor: pointer;
}
.switch-hint button:hover{
  color: var(--accent-dark);
}
.switch-hint button:disabled{
  color: var(--ink-muted);
  cursor: not-allowed;
  text-decoration: none;
  opacity: .7;
}

/* পাসওয়ার্ড ভুলে গেছেন লিংক */
.forgot-pass-link{
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: all .2s ease;
  font-family: 'Anek Bangla', sans-serif;
}
.forgot-pass-link:hover{
  color: var(--accent-dark);
  text-decoration: underline;
}

/* পাসওয়ার্ড শো/হাইড ইনপুট র‍্যাপার */
.pwd-input-wrap{
  position: relative;
  width: 100%;
}
.pwd-input-wrap input{
  width: 100%;
  padding-right: 44px !important;
}
.pwd-toggle-btn{
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  z-index: 2;
}
.pwd-toggle-btn:hover{
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}
.pwd-toggle-btn:active{
  transform: translateY(-50%) scale(0.92);
}

/* ফরগট পাসওয়ার্ড প্যানেল ও উইজার্ড */
.forgot-header{
  margin-bottom: 18px;
}
.forgot-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 10px;
  transition: all .2s ease;
  font-family: 'Anek Bangla', sans-serif;
}
.forgot-back-btn:hover{
  color: var(--accent);
  transform: translateX(-2px);
}
.forgot-title{
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  font-family: 'Anek Bangla', sans-serif;
}
.forgot-subtitle{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.forgot-steps-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 22px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}
[data-theme="dark"] .forgot-steps-bar{
  background: #0f172a;
  border-color: #334155;
}
.forgot-step{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #94A3B8;
  transition: all .25s ease;
}
.forgot-step .step-num{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  transition: all .25s ease;
}
.forgot-step.active{
  color: var(--accent);
}
.forgot-step.active .step-num{
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}
.forgot-step.done{
  color: #10B981;
}
.forgot-step.done .step-num{
  background: #10B981;
  color: #ffffff;
}
.forgot-step-line{
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 8px;
  transition: background .25s ease;
}
.forgot-step-line.done{
  background: #10B981;
}
.otp-notice-box{
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
[data-theme="dark"] .otp-notice-box{
  background: #1e293b;
  border-color: #3b82f6;
  color: #93c5fd;
}
.otp-input-field{
  text-align: center !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: 12px !important;
  font-family: monospace, sans-serif !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}
[data-theme="dark"] .otp-input-field{
  background: #1e293b !important;
  color: #ffffff !important;
}

/* ===== ড্যাশবোর্ড প্রোফাইল হেডার (v2) ===== */
.dash-head-v2{
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: clamp(10px, 2.6vw, 22px);
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-line);
}
.profile-panel{
  flex: none;
  width: clamp(70px, 20vw, 155px);
  border-radius: clamp(14px, 3vw, 22px);
  background: linear-gradient(150deg, #0F172A 0%, #1E3A8A 55%, #2563EB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1.4vw, 12px);
  padding: clamp(6px, 1.2vw, 12px) clamp(6px, 1.6vw, 12px);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.28);
}
.profile-panel-avatar{
  position: relative;
  width: clamp(44px, 13vw, 96px);
  height: clamp(44px, 13vw, 96px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-panel-avatar svg{
  width: clamp(38px, 11vw, 82px);
  height: clamp(38px, 11vw, 82px);
  overflow: visible;
}
.profile-panel-dot{
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: clamp(10px, 2.4vw, 18px);
  height: clamp(10px, 2.4vw, 18px);
  border-radius: 50%;
  background: #10B981;
  border: clamp(1.5px, 0.4vw, 3px) solid #0F172A;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}
.profile-panel-label{
  color: #fff;
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: clamp(11px, 2.9vw, 20px);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.profile-main{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.8vw, 10px);
  justify-content: center;
}
.profile-main-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(6px, 1.6vw, 12px);
  flex-wrap: nowrap;
}
.dash-welcome{ min-width: 0; }
.dash-welcome h2{
  font-size: clamp(16px, 3.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-welcome p{
  color: var(--ink-soft);
  margin-top: 1px;
  font-size: clamp(11px, 2.5vw, 15px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-pill-row{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(4px, 1.3vw, 10px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: clamp(12px, 2vw, 18px);
  padding: clamp(6px, 1vw, 10px) clamp(8px, 2vw, 18px);
  box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.05), inset 0 1px 1px #fff;
}
.info-pill{
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 13px);
  flex: 0 1 auto;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.22s ease;
}
.info-pill:hover{
  background: rgba(255, 255, 255, 0.7);
}
.info-pill-icon{
  flex: none;
  width: clamp(32px, 6.8vw, 42px);
  height: clamp(32px, 6.8vw, 42px);
  border-radius: 13px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08), inset 0 1px 1px #fff;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease;
  overflow: visible;
}
.info-pill:hover .info-pill-icon{
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.15), inset 0 1px 1px #fff;
}
.info-pill-icon svg{
  width: clamp(22px, 4.8vw, 30px);
  height: clamp(22px, 4.8vw, 30px);
  display: block;
}
.info-pill-icon.icon-blue{
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
}
.info-pill-icon.icon-green{
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
}
.info-pill-icon.icon-purple{
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 1px solid #DDD6FE;
}

.info-pill-text{
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.info-pill-text strong{
  font-family: 'Anek Bangla', sans-serif;
  font-size: clamp(12px, 2.7vw, 16.5px);
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.info-pill-text small{
  font-size: clamp(9.5px, 2.1vw, 13px);
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}
.info-pill-divider{
  width: 1px;
  align-self: stretch;
  background: var(--paper-line);
  flex: none;
}

.contact-row{
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 16px);
  flex-wrap: nowrap;
}
.contact-item{
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 8px);
  font-size: clamp(11px, 2.6vw, 15px);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.contact-item svg{
  width: clamp(13px, 2.9vw, 18px);
  height: clamp(13px, 2.9vw, 18px);
  stroke: var(--ink-soft);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.contact-item #dashMobile{ color: var(--accent); font-weight: 800; }
.contact-item-joined{ font-weight: 600; color: var(--ink-soft); }
.contact-item-joined strong{ color: var(--ink); font-weight: 700; }
.contact-divider{
  width: 1px;
  height: clamp(11px, 2.5vw, 16px);
  background: var(--paper-line);
  flex: none;
}

/* ফোন ভিউতে ড্যাশবোর্ড হেডার ও ইনফো পিলস ফরম্যাটিং */
@media(max-width: 640px){
  .dash-head-v2{
    gap: 10px;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .profile-panel{
    width: 68px;
    padding: 8px 4px;
    border-radius: 14px;
    gap: 6px;
  }
  .profile-panel-avatar{
    width: 44px;
    height: 44px;
  }
  .profile-panel-avatar svg{
    width: 38px;
    height: 38px;
  }
  .profile-panel-label{
    font-size: 11px;
    letter-spacing: 0;
  }
  .profile-main{
    gap: 8px;
  }
  .profile-main-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }
  .dash-welcome{
    flex: 1;
    min-width: 0;
  }
  .dash-welcome h2{
    white-space: normal;
    word-break: break-word;
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.25;
    overflow: visible;
    text-overflow: unset;
  }
  .dash-welcome p{
    white-space: normal;
    font-size: 11px;
    margin-top: 2px;
  }
  .logout-link-btn{
    padding: 5px 10px;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
    gap: 4px;
  }
  .info-pill-row{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 8px;
    border-radius: 12px;
  }
  .info-pill{
    gap: 5px;
    padding: 3px 2px;
    min-width: 0;
    justify-content: flex-start;
  }
  .info-pill-divider{
    display: none;
  }
  .info-pill-icon{
    width: 26px;
    height: 26px;
    border-radius: 7px;
    padding: 2.5px;
    flex-shrink: 0;
  }
  .info-pill-text{
    min-width: 0;
    line-height: 1.15;
  }
  .info-pill-text strong{
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .info-pill-text small{
    font-size: 9px;
    display: block;
  }
}

/* স্ট্যাটাস পিলস */
.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
}
.status-pill.pending{ background: #FEF3C7; color: #B45309; }
.status-pill.approved{ background: #ECFDF5; color: #059669; }
.status-pill.other{ background: #FEE2E2; color: #DC2626; }

/* ===== লার্নিং এরিয়া ===== */
.learning-area{
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-line);
  position: relative;
  overflow: hidden;
}
.learning-view[hidden]{ display: none; }
@keyframes vaViewInFromRight{
  from{ opacity: 0; transform: translateX(24px); }
  to{ opacity: 1; transform: translateX(0); }
}
@keyframes vaViewInFromLeft{
  from{ opacity: 0; transform: translateX(-24px); }
  to{ opacity: 1; transform: translateX(0); }
}
.learning-view-detail.va-anim-in{ animation: vaViewInFromRight .32s cubic-bezier(.22,.61,.36,1) both; }
.learning-view-list.va-anim-in{ animation: vaViewInFromLeft .32s cubic-bezier(.22,.61,.36,1) both; }

.detail-header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.detail-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--paper-line);
  border-radius: 9px;
  padding: 5px 12px;
  font: 700 clamp(12px, 2.8vw, 13px)/1.2 'Anek Bangla', sans-serif;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.detail-back-btn:hover{
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-3px);
  background: #f0f7ff;
}
.detail-back-btn svg{
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.detail-title{
  font: 800 clamp(15px, 3.8vw, 19px)/1.2 'Anek Bangla', sans-serif;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.learning-head{ margin-bottom: 12px; }
.learning-head h3{
  font-size: clamp(17px, 4.6vw, 22px);
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--ink);
}
.learning-head p{
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: clamp(12px, 3vw, 14.5px);
}

/* এনরোল্ড কোর্স কার্ড তালিকা */
.enrolled-course-list{
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.ecb-corner-badge{
  position: absolute;
  top: 0;
  right: 0;
  background: #7C3AED;
  color: #fff;
  font-size: clamp(10px, 2.6vw, 12px);
  font-weight: 800;
  padding: 3px 12px;
  border-bottom-left-radius: 12px;
  letter-spacing: 0.3px;
}
.ecb-sector-badge{
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  font-size: clamp(10px, 2.6vw, 12px);
  font-weight: 800;
  padding: 3px 12px;
  border-bottom-right-radius: 12px;
  letter-spacing: 0.3px;
}

/* Routine & Live Buttons on Enrolled Course Card */
.ecb-corner-actions{
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: auto;
}
.ecb-live-btn{
  position: relative;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5.5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  white-space: nowrap;
}

/* 🔴 Animated Live Button */
.ecb-live-btn{
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  color: #E11D48;
  border: 1px solid #FECDD3;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.18);
  animation: ecbLiveBadgeGlow 2.2s ease-in-out infinite;
}
.ecb-live-btn:hover{
  background: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
  color: #ffffff;
  border-color: #E11D48;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.42);
  transform: translateY(-1.5px) scale(1.03);
}
.ecb-live-btn:active{
  transform: scale(0.96);
}
.ecb-live-dot-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}
.ecb-live-dot{
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #E11D48;
  transition: background-color 0.2s ease;
}
.ecb-live-btn:hover .ecb-live-dot{
  background: #ffffff;
}
.ecb-live-ping{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #F43F5E;
  opacity: 0.8;
  animation: ecbLivePing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ecb-live-btn:hover .ecb-live-ping{
  background: #ffffff;
}
.ecb-live-svg{
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.ecb-wave-1{
  animation: ecbWavePulse 1.4s ease-in-out infinite;
  transform-origin: center;
}
.ecb-wave-2{
  animation: ecbWavePulse 1.4s ease-in-out infinite 0.25s;
  transform-origin: center;
}

@keyframes ecbLivePing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
@keyframes ecbWavePulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes ecbLiveBadgeGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.16);
  }
  50% {
    box-shadow: 0 2px 14px rgba(225, 29, 72, 0.35);
  }
}
@media(max-width: 480px){
  .ecb-corner-actions{
    right: 8px;
    bottom: 8px;
    gap: 4px;
  }
  .ecb-live-btn{
    padding: 3px 8px;
    font-size: 11px;
    gap: 4px;
  }
}

/* ---------- রুটিন ভিউয়ার মোডাল (Zoomable Routine Image) ---------- */
.routine-modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(8, 12, 22, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  touch-action: none;
}
.routine-modal-overlay.show{
  display: flex;
  opacity: 1;
  visibility: visible;
}
.routine-modal-close{
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 100010;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  padding: 0;
  outline: none;
}
.routine-modal-close:hover{
  background: #DC2626;
  border-color: #EF4444;
  transform: scale(1.08) rotate(90deg);
}
.routine-modal-viewport{
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}
.routine-modal-viewport.is-zoomed{
  cursor: grab;
}
.routine-modal-viewport.is-dragging{
  cursor: grabbing;
}
.routine-modal-viewport img{
  max-width: min(92vw, 1150px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.6);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}
.routine-zoom-hint{
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: #F8FAFC;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.ecb-icon{
  flex: none;
  width: clamp(40px, 9vw, 48px);
  height: clamp(40px, 9vw, 48px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 4.6vw, 22px);
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1D4ED8;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
  transition: all 0.2s ease;
}
.enrolled-course-btn:hover .ecb-icon{
  transform: scale(1.05);
}
.enrolled-course-btn.active .ecb-icon{
  background: linear-gradient(145deg, #2563EB, #1D4ED8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.ecb-body{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding-right: 82px;
}
@media(max-width: 480px){
  .ecb-body{ padding-right: 68px; }
}
.ecb-name{
  color: var(--ink);
  font-weight: 800;
}
.ecb-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.ecb-date{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}
.ecb-date .ecb-icon-emoji{ font-size: 13px; line-height: 1; }

.ecb-watchtime{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.35;
}
.ecb-wt-value{
  font-weight: 800;
  color: var(--accent-dark);
}
.ecb-watchtime .ecb-icon-emoji{ font-size: 13px; line-height: 1; }

.ecb-billing{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.35;
}
.ecb-billing .ecb-icon-emoji{ font-size: 13px; line-height: 1; }
.ecb-billing-value{ font-weight: 700; color: var(--ink); }
.ecb-billing-value.ecb-free-value{ color: #059669; font-weight: 800; }
.ecb-billing-due{
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--paper-line);
  color: #DC2626;
  font-weight: 700;
}
.ecb-billing-due .ecb-billing-value{ color: #DC2626; }

/* স্ট্যাটাস ব্যাজেস */
.active-badge{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: middle;
}
.pending-badge{
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.expired-badge{
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.locked-badge{
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.device-blocked-banner{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #DC2626;
  font-size: 14px;
  line-height: 1.5;
}

/* সাবজেক্ট ও চ্যাপ্টার ফিল্টার */
.filter-row{
  display: flex;
  gap: 12px;
  margin: 6px 0 14px;
}
.filter-select-wrap{
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
.filter-select-wrap::after{
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}
.filter-select{
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Anek Bangla', sans-serif;
  font-size: clamp(13px, 3.5vw, 14.5px);
  font-weight: 500;
  line-height: 1.35;
  border-radius: 12px;
  padding: 11px 36px 11px 16px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

/* সাবজেক্ট স্পিনার - প্রিমিয়াম সফট স্কাই/ব্লু টিন্ট */
.filter-select-wrap--subject{ color: #0284C7; }
.filter-select--subject,
#subjectSelect{
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 1.5px solid #BAE6FD;
  color: #0369A1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.06);
}
.filter-select--subject:hover,
#subjectSelect:hover{
  border-color: #38BDF8;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.14);
}
.filter-select--subject:focus,
#subjectSelect:focus{
  outline: none;
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

/* চ্যাপ্টার স্পিনার - প্রিমিয়াম সফট ভায়োলেট/পার্পল টিন্ট */
.filter-select-wrap--chapter{ color: #9333EA; }
.filter-select--chapter,
#chapterSelect{
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  border: 1.5px solid #E9D5FF;
  color: #7E22CE;
  box-shadow: 0 2px 8px rgba(126, 34, 206, 0.06);
}
.filter-select--chapter:hover,
#chapterSelect:hover{
  border-color: #C084FC;
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.14);
}
.filter-select--chapter:focus,
#chapterSelect:focus{
  outline: none;
  border-color: #9333EA;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.filter-select:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}
.filter-select option{
  color: var(--ink);
  background: #ffffff;
  font-weight: 500;
  padding: 8px 12px;
}

/* টপিক সার্চ */
.class-search-wrap{
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--p, #f5f7fb);
  padding: 0 0 6px 0;
  margin: 0;
}
[data-theme="dark"] .class-search-wrap{
  background: #090D16;
}
.class-search-input{
  width: 100%;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--paper-line);
  background: #FFFFFF;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.class-search-input:focus{
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ===== COMPACT ROUTINE CARD ===== */
.routine-compact-card {
  margin: 4px 0 14px;
  padding: 10px 14px;
  background: var(--surface, #ffffff);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
  transition: all 0.2s ease;
}
.routine-compact-card:hover {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.03);
}
.rcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rcc-title {
  font-size: 14px;
  color: var(--ink, #0F172A);
}
.rcc-action-text {
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
}
.routine-compact-card img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
  margin-top: 10px;
  cursor: zoom-in;
}
[data-theme="dark"] .routine-compact-card {
  background: #0F172A;
  border-color: rgba(59, 130, 246, 0.3);
}
[data-theme="dark"] .rcc-title { color: #F8FAFC; }
[data-theme="dark"] .rcc-action-text { color: #60A5FA; }


/* ===== লাইভ ক্লাস কার্ড ও জুম প্লেয়ার ===== */
.live-class-card{
  margin: 6px 0 14px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.22);
  border-radius: 12px;
  padding: 8px 14px 10px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.06);
  transition: all 0.25s ease;
}
.live-class-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.live-pulse-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF2F2;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #DC2626;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 9px;
  border-radius: 999px;
  position: relative;
}
.live-pulse-ring{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  position: relative;
}
.live-pulse-ring::after{
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.4);
  animation: livePing 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes livePing{
  75%, 100%{ transform: scale(2.2); opacity: 0; }
}
.live-tag-online{
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.live-class-body{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.live-class-title{
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  flex: 1;
  min-width: 180px;
}
.live-class-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-join-live{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-join-live:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

/* জুম এমবেডেড কন্টেইনার */
.zoom-embed-container{
  margin: 10px 0 24px;
  background: #0B1120;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.35);
}
.zoom-embed-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.zeh-left{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.live-pulse-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
}
.btn-leave-zoom{
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-leave-zoom:hover{
  background: #EF4444;
  color: #FFFFFF;
}
.zoom-meeting-mount{
  width: 100%;
  min-height: 480px;
  height: 70vh;
  max-height: 780px;
  position: relative;
  background: #0F172A;
}
@media(max-width: 640px){
  .zoom-meeting-mount{
    min-height: 380px;
    height: 60vh;
  }
  .live-class-card{
    padding: 8px 12px 10px;
  }
  .btn-join-live{
    width: auto;
  }
}

/* ভিডিও প্লেয়ার র‍্যাপার */
.class-player-wrap{
  position: relative;
  margin: 8px 0 20px;
  background: #0B1120;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.class-player-wrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.yt-mount{ position: absolute; inset: 0; }
.yt-click-catcher{
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 44px;
  z-index: 2;
  cursor: pointer;
  background: transparent;
}
.custom-controls{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
}
.class-player-wrap:fullscreen,
.class-player-wrap:-webkit-full-screen{
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
}
.cc-btn{
  background: none;
  border: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}
.cc-btn:hover{ opacity: 0.8; }
.cc-btn svg{ width: 19px; height: 19px; display: block; fill: currentColor; }
.cc-time{
  color: #fff;
  font-size: 12px;
  min-width: 85px;
  text-align: center;
  white-space: nowrap;
}
.cc-seek{
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}
.cc-settings-panel{
  position: absolute;
  right: 12px;
  bottom: 54px;
  z-index: 4;
  min-width: 200px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.cc-settings-row, .cc-settings-back, .cc-settings-sub button.cc-option{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 11px 16px;
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.cc-settings-row:hover, .cc-settings-back:hover, .cc-settings-sub button.cc-option:hover{
  background: rgba(255, 255, 255, 0.12);
}
.cc-settings-right{ display: flex; align-items: center; gap: 6px; color: #94A3B8; }
.cc-settings-value{ color: #94A3B8; }
.cc-settings-back{
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cc-settings-sub button.cc-option.active{
  color: var(--accent);
  font-weight: 700;
}

/* ক্লাস লিস্ট আইটেমস */
.class-list{
  display: grid;
  gap: 6px;
  touch-action: pan-y;
}
.class-item-row{
  display: flex;
  align-items: stretch;
  gap: 6px;
  touch-action: pan-y;
}
.class-item{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--paper-line);
  background: #ffffff;
  border-radius: 11px;
  padding: 6px 12px;
  min-height: 46px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.class-item:hover{
  border-color: var(--accent);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.class-pdf-btn{
  flex: none;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px 2px;
  border: 1.5px solid rgba(239, 68, 68, 0.22);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
  border-radius: 11px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.05);
  box-sizing: border-box;
}
.class-pdf-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  padding: 2px 4.5px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.35);
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.class-pdf-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.class-pdf-icon svg{
  width: 17px;
  height: 17px;
  display: block;
}
.class-pdf-btn:hover{
  border-color: #EF4444;
  background: linear-gradient(180deg, #FFF1F2 0%, #FFE4E6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.22);
}
.class-pdf-btn:hover .class-pdf-icon{
  transform: translateY(2px);
}
.class-pdf-btn:hover .class-pdf-badge{
  transform: scale(1.06);
}
.class-pdf-btn:active{
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
}
.class-pdf-btn.is-locked{
  border-color: var(--paper-line);
  background: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}
.class-pdf-btn.is-locked:hover{
  transform: none;
  border-color: var(--paper-line);
  background: #F1F5F9;
  box-shadow: none;
}
.class-pdf-btn.is-locked svg{
  width: 16px;
  height: 16px;
  display: block;
}

/* ============================================================
   Subject Suggestion Pinned Card & Button
   ============================================================ */
.subject-suggestion-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF9C3 100%);
  border: 1.5px solid #FCD34D;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.10);
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.subject-suggestion-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
}
[data-theme="dark"] .subject-suggestion-card{
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(180, 83, 9, 0.15) 100%);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.suggestion-card-left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.suggestion-card-badge{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #F59E0B;
  color: #92400E;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  white-space: nowrap;
}
[data-theme="dark"] .suggestion-card-badge{
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.45);
  color: #FCD34D;
}
.suggestion-star-icon{
  font-size: 11px;
}
.suggestion-card-subject{
  font-size: clamp(13.5px, 3.6vw, 15px);
  font-weight: 800;
  color: #78350F;
  font-family: 'Anek Bangla', sans-serif;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
[data-theme="dark"] .suggestion-card-subject{
  color: #FDE68A;
}
.suggestion-card-right{
  flex-shrink: 0;
}
.suggestion-download-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.28);
  transition: all .22s ease;
  white-space: nowrap;
  font-family: 'Anek Bangla', sans-serif;
  cursor: pointer;
}
.suggestion-download-btn:hover{
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.38);
}
.suggestion-download-btn:active{
  transform: translateY(0);
}
.suggestion-download-btn.is-locked{
  background: #E2E8F0;
  border-color: #CBD5E1;
  color: #64748B !important;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
[data-theme="dark"] .suggestion-download-btn.is-locked{
  background: #1E293B;
  border-color: #334155;
  color: #94A3B8 !important;
}
@media (max-width: 520px){
  .subject-suggestion-card{
    padding: 7px 10px;
    gap: 8px;
  }
  .suggestion-card-left{
    gap: 6px;
  }
  .suggestion-card-badge{
    font-size: 10.5px;
    padding: 2px 7px;
  }
  .suggestion-card-subject{
    font-size: 12.5px;
  }
  .suggestion-download-btn{
    padding: 6px 10px;
    font-size: 12px;
    gap: 4px;
    border-radius: 8px;
  }
  .suggestion-download-btn svg{
    width: 14px;
    height: 14px;
  }
}

.class-play{
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}
.class-item:hover .class-play{
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.4);
}
.class-play svg{
  width: 55%;
  height: 55%;
  margin-left: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.class-meta{ min-width: 0; }
.class-title{
  font-weight: 700;
  font-size: clamp(13px, 3.2vw, 14.5px);
  line-height: 1.25;
  color: var(--ink);
}
.class-chapter{
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.2;
}
.class-item.is-locked{
  cursor: pointer;
  opacity: 0.65;
  background: #F8FAFC;
}
.class-item.is-locked:hover{
  border-color: var(--paper-line);
  transform: none;
  box-shadow: none;
}
.class-item.is-locked .class-play{
  background: #E2E8F0;
  box-shadow: none;
  color: #94A3B8;
}

.learning-empty{
  padding: 24px;
  border: 1.5px dashed var(--paper-line);
  border-radius: 14px;
  color: var(--ink-soft);
  text-align: center;
  background: #F8FAFC;
}
.learning-empty p{
  margin: 0 0 12px 0;
}
.btn-soft-courses{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  color: #1D4ED8;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-soft-courses:hover{
  background: #DBEAFE;
  color: #1E40AF;
  transform: translateY(-1px);
}
.class-loading{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 16px;
  border: 1px solid var(--paper-line);
  border-radius: 14px;
  background: #F8FAFC;
  color: var(--ink-soft);
  font-family: 'Anek Bangla', sans-serif;
  font-size: 15px;
}
.class-loading .spinner{
  width: 32px;
  height: 32px;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: class-spin .8s linear infinite;
}
@keyframes class-spin{ to{ transform: rotate(360deg); } }

/* টোস্ট নোটিফিকেশন */
.va-toast{
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  background: #0F172A;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: min(90vw, 440px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.va-toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* মোডাল ও ওভারলেস */
.loading-overlay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.loading-overlay.show{ display: flex; }
.loading-box{
  width: min(380px, calc(100% - 40px));
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.loading-text{
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
}
.loading-track{
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-line);
}
.loading-progress{
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  animation: loadingProgress 1.15s ease-in-out infinite;
}
@keyframes loadingProgress{
  0%{ transform: translateX(-120%); }
  100%{ transform: translateX(300%); }
}

.device-modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}
.device-modal-overlay.show{ display: flex; }
.device-modal-box{
  width: min(460px, calc(100% - 16px));
  padding: 30px 26px 24px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 22px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.device-modal-icon{
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.device-modal-title{
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.device-modal-text{
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.device-modal-actions{
  display: flex;
  gap: 12px;
}
.device-modal-actions button{
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 13px 14px;
  font-weight: 700;
  font-size: 15.5px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.device-modal-cancel{
  background: #F1F5F9;
  color: var(--ink);
  border: 1.5px solid var(--paper-line) !important;
}
.device-modal-cancel:hover{ background: #E2E8F0; }
.device-modal-agree{
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
}
.device-modal-agree:not(:disabled):hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4);
}
.device-modal-agree:disabled{ opacity: 0.55; cursor: not-allowed; }

.otp-input{
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 26px;
  letter-spacing: 12px;
  padding: 12px 10px;
  margin: 16px 0 6px;
  border: 1.5px solid var(--paper-line);
  border-radius: 12px;
  background: #F8FAFC;
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  outline: none;
  transition: all 0.2s ease;
}
.otp-input:focus{
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.otp-resend-btn{
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.otp-resend-btn:disabled{ color: #94A3B8; cursor: not-allowed; text-decoration: none; }

/* ===== ফুটার (ডার্ক স্লেট) ===== */
footer{
  background: #0F172A;
  color: #94A3B8;
  padding: 48px 0 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer .container{ max-width: min(1240px, 100%); }
footer h4{
  font-family: 'Anek Bangla', sans-serif;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
footer p, footer a{
  color: #CBD5E1;
  font-size: 14.5px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
footer a:hover{ color: #38BDF8; }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media(max-width: 700px){
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
}
.copyright{
  margin-top: 20px;
  font-size: 13.5px;
  color: #64748B;
  text-align: center;
}

/* ল্যাপটপ ও বড় মনিটরে ইউনিফর্ম স্কেল */
@media(min-width: 1024px){
  body{ zoom: 1.05; }
}

/* ===== মোবাইল ও ছোট স্ক্রিন রেস্পনসিভ অপ্টিমাইজেশন ===== */
@media(max-width: 640px){
  .container{
    padding: 0 8px;
  }
  .auth-wrap{
    padding: 6px 0 24px;
  }
  .auth-box{
    padding: 16px 12px;
    border-radius: 18px;
  }
  #dashboardSection .auth-box{
    padding: 16px 12px;
  }
  .dash-head-v2{
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 14px;
    align-items: stretch;
  }
  .profile-panel{
    flex: 0 0 clamp(62px, 16vw, 72px);
    width: clamp(62px, 16vw, 72px);
    padding: 10px 4px;
    border-radius: 16px;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.22);
  }
  .profile-panel-avatar{
    width: 42px;
    height: 42px;
  }
  .profile-panel-avatar svg{
    width: 36px;
    height: 36px;
  }
  .profile-panel-label{
    font-size: 11.5px;
    letter-spacing: 0.3px;
  }
  .profile-main{
    gap: 8px;
    min-width: 0;
  }
  .profile-main-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .dash-welcome{
    flex: 1;
    min-width: 0;
  }
  .dash-welcome h2{
    font-size: clamp(15px, 3.8vw, 17px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
  }
  .dash-welcome p{
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 2px;
    white-space: normal;
    overflow: visible;
  }
  .logout-link-btn{
    flex-shrink: 0;
    padding: 5px 9px;
    font-size: 11.5px;
    border-radius: 8px;
    gap: 4px;
    white-space: nowrap;
    align-self: flex-start;
  }
  .logout-link-btn svg{
    width: 13px;
    height: 13px;
  }
  /* BBA, Year, Department - সুন্দর সুবিন্যস্ত উল্লম্ব ৩টি কার্ড ফরম্যাট */
  .info-pill-row{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    box-shadow: 0 4px 16px -3px rgba(15, 23, 42, 0.05);
  }
  .info-pill-divider{
    display: none;
  }
  .info-pill{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.75);
    box-sizing: border-box;
    transition: all 0.2s ease;
  }
  .info-pill-icon{
    width: 32px;
    height: 32px;
    border-radius: 9px;
    flex-shrink: 0;
  }
  .info-pill-icon svg{
    width: 18px;
    height: 18px;
  }
  .info-pill-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
    line-height: 1.2;
  }
  .info-pill-text strong{
    font-family: 'Anek Bangla', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
  }
  .info-pill-text small{
    font-size: 10.5px;
    color: var(--ink-muted);
    font-weight: 600;
    margin-top: 1px;
    line-height: 1.15;
  }
  .contact-row{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding-top: 2px;
  }
  .contact-divider{
    display: none;
  }
  .contact-item{
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .contact-item svg{
    width: 13px;
    height: 13px;
  }
  .contact-item #dashMobile{
    color: var(--accent);
    font-weight: 800;
  }
  .contact-item-joined{
    color: var(--ink-soft);
    font-weight: 600;
  }
  .filter-row{
    gap: 8px;
    margin: 6px 0 10px;
  }
  .filter-select{
    padding: 10px 30px 10px 12px;
    font-size: 13px;
    border-radius: 10px;
  }
  .filter-select-wrap::after{
    right: 12px;
  }
  .custom-controls{
    padding: 6px 10px;
    gap: 6px;
  }
  .cc-btn{
    padding: 3px 5px;
  }
  .cc-btn svg{
    width: 17px;
    height: 17px;
  }
  .cc-time{
    font-size: 11px;
    min-width: 68px;
  }
  .cc-seek{
    min-width: 45px;
  }
}

@media(max-width: 400px){
  .container{
    padding: 0 4px;
  }
  .auth-box{
    padding: 14px 10px;
    border-radius: 16px;
  }
  #dashboardSection .auth-box{
    padding: 14px 10px;
  }
  .profile-panel{
    flex: 0 0 58px;
    width: 58px;
    padding: 8px 3px;
    border-radius: 14px;
    gap: 5px;
  }
  .profile-panel-avatar{
    width: 36px;
    height: 36px;
  }
  .profile-panel-avatar svg{
    width: 30px;
    height: 30px;
  }
  .profile-panel-label{
    font-size: 10.5px;
  }
  .info-pill{
    padding: 5px 7px;
    gap: 8px;
  }
  .info-pill-icon{
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .info-pill-icon svg{
    width: 16px;
    height: 16px;
  }
  .info-pill-text strong{
    font-size: 12.5px;
  }
  .info-pill-text small{
    font-size: 10px;
  }
}

/* =========================================================
   THEME TOGGLE BUTTON & NAVBAR ACTION GROUP
   ========================================================= */
.nav-actions{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.theme-toggle-btn{
  width:38px;
  height:38px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#F1F5F9;
  border:1.5px solid #CBD5E1;
  color:#1E293B;
  cursor:pointer;
  position:relative;
  transition:all .25s cubic-bezier(.16,1,.3,1);
  box-shadow:0 2px 6px rgba(15,23,42,0.06);
  flex-shrink:0;
  outline:none;
  padding:0;
}
.theme-toggle-btn:hover{
  background:#E2E8F0;
  border-color:#94A3B8;
  transform:translateY(-1px) rotate(15deg);
  box-shadow:0 4px 14px rgba(15,23,42,0.12);
  color:#0F172A;
}
.theme-toggle-btn:active{ transform:scale(.92); }
.theme-toggle-btn .theme-icon{
  width:19px;
  height:19px;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
.theme-toggle-btn .theme-icon--sun{ display:none; }
.theme-toggle-btn .theme-icon--moon{ display:block; }

@media(max-width:480px){
  .nav-actions{ gap:6px; }
  .theme-toggle-btn{ width:34px; height:34px; }
  .theme-toggle-btn .theme-icon{ width:16px; height:16px; }
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after{
  transition:background-color .32s ease, border-color .32s ease, color .32s ease, box-shadow .32s ease !important;
  transition-delay:0s !important;
}

/* =========================================================
   NIGHT MODE (Dark Theme)
   ========================================================= */
[data-theme="dark"], html.dark{
  --ink:#F8FAFC;
  --ink-soft:#94A3B8;
  --ink-muted:#64748B;
  --paper:#090D16;
  --paper-line:rgba(255,255,255,0.08);
  --card:#111827;
  --shadow:0 14px 36px rgba(0,0,0,0.45);
}

[data-theme="dark"] body{
  background-color:#090D16;
  color:#CBD5E1;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(56,189,248,0.06) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(129,140,248,0.06) 0%, transparent 45%);
}

[data-theme="dark"] .theme-toggle-btn{
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.16);
  color:#F59E0B;
  box-shadow:0 2px 10px rgba(0,0,0,0.35), 0 0 12px rgba(245,158,11,0.15);
}
[data-theme="dark"] .theme-toggle-btn:hover{
  background:rgba(255,255,255,0.14);
  border-color:rgba(245,158,11,0.5);
  color:#FBBF24;
  transform:translateY(-1px) rotate(-15deg);
  box-shadow:0 4px 16px rgba(0,0,0,0.5), 0 0 18px rgba(245,158,11,0.35);
}
[data-theme="dark"] .theme-toggle-btn .theme-icon--moon{ display:none; }
[data-theme="dark"] .theme-toggle-btn .theme-icon--sun{ display:block; }

[data-theme="dark"] #iabBanner{
  background:linear-gradient(135deg, #78350F, #92400E) !important;
  color:#FEF3C7 !important;
  border-bottom:1.5px solid #F59E0B !important;
}

[data-theme="dark"] header.nav{
  background:rgba(9,13,22,0.88);
  border-bottom:1px solid rgba(255,255,255,0.08);
  box-shadow:0 4px 24px rgba(0,0,0,0.45);
}
[data-theme="dark"] .brand-logo{
  filter:drop-shadow(0 1px 2px rgba(0,0,0,0.5)) drop-shadow(0 0 1px rgba(255,255,255,0.4));
}
[data-theme="dark"] .back-link{
  color:#94A3B8;
  border-color:rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.05);
}
[data-theme="dark"] .back-link:hover{
  color:#F8FAFC;
  border-color:rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.1);
}

[data-theme="dark"] .page-head h1{ color:#F8FAFC; }
[data-theme="dark"] .page-head p{ color:#94A3B8; }
[data-theme="dark"] .page-badge{
  background:rgba(37,99,235,0.15);
  color:#60A5FA;
  border:1px solid rgba(96,165,250,0.25);
}

[data-theme="dark"] .auth-box,
[data-theme="dark"] .auth-card{
  background:#111827;
  border-color:rgba(255,255,255,0.08);
  box-shadow:0 12px 36px rgba(0,0,0,0.45);
}
[data-theme="dark"] .auth-box.login-mode{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px -8px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .login-title{ color: #F8FAFC; }
[data-theme="dark"] .login-subtitle{ color: #94A3B8; }
[data-theme="dark"] .auth-tab{
  color:#94A3B8;
  background:transparent;
}
[data-theme="dark"] .auth-tab.active{
  background:#1E293B;
  color:#F8FAFC;
}
[data-theme="dark"] .form-row label{ color:#CBD5E1; }
[data-theme="dark"] .form-row input,
[data-theme="dark"] .form-row select{
  background:#131E35;
  border-color:rgba(255,255,255,0.12);
  color:#F8FAFC;
}
[data-theme="dark"] .form-row select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
[data-theme="dark"] .form-row input::placeholder{
  color:#64748B;
}
[data-theme="dark"] .form-row input:hover,
[data-theme="dark"] .form-row select:hover{
  border-color:rgba(255,255,255,0.22);
  background:#182644;
}
[data-theme="dark"] .form-row input:focus,
[data-theme="dark"] .form-row select:focus{
  border-color:#38BDF8;
  background:#182644;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.16);
}
[data-theme="dark"] .pwd-toggle-btn{
  color:#94A3B8;
}
[data-theme="dark"] .pwd-toggle-btn:hover{
  color:#38BDF8;
  background:rgba(56, 189, 248, 0.12);
}
[data-theme="dark"] .input-hint,
[data-theme="dark"] .switch-hint{ color:#94A3B8; }

[data-theme="dark"] .device-modal-box{
  background:#111827;
  border:1px solid rgba(255,255,255,0.12);
  color:#F8FAFC;
}
[data-theme="dark"] .device-modal-text{ color:#94A3B8; }
[data-theme="dark"] .device-modal-cancel{
  background:#1E293B;
  color:#CBD5E1;
  border-color:rgba(255,255,255,0.1);
}
[data-theme="dark"] .otp-input{
  background:#162035;
  border-color:rgba(255,255,255,0.12);
  color:#F8FAFC;
}

[data-theme="dark"] .portal-card,
[data-theme="dark"] .learning-card,
[data-theme="dark"] .profile-panel{
  background:#111827;
  border-color:rgba(255,255,255,0.08);
}
[data-theme="dark"] .profile-panel-name{ color:#F8FAFC; }
[data-theme="dark"] .profile-panel-mobile{ color:#94A3B8; }

[data-theme="dark"] .dash-welcome h2{ color:#F8FAFC; }
[data-theme="dark"] .dash-welcome p{ color:#94A3B8; }
[data-theme="dark"] .logout-link-btn{
  background:rgba(225, 29, 72, 0.15);
  border-color:rgba(225, 29, 72, 0.3);
  color:#FB7185;
}
[data-theme="dark"] .logout-link-btn:hover{
  background:rgba(225, 29, 72, 0.25);
  border-color:rgba(225, 29, 72, 0.5);
  color:#FECDD3;
}

[data-theme="dark"] .info-pill-row{
  background: linear-gradient(180deg, #162035 0%, #111827 100%);
  border-color: rgba(255,255,255,0.09);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35), inset 0 1px 1px rgba(255,255,255,0.06);
}
[data-theme="dark"] .info-pill:hover{
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .info-pill-divider{
  background: rgba(255,255,255,0.08);
}
[data-theme="dark"] .info-pill-icon{
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .info-pill-icon.icon-blue{
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(30, 64, 175, 0.3) 100%);
  border-color: rgba(96, 165, 250, 0.35);
}
[data-theme="dark"] .info-pill-icon.icon-green{
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.3) 100%);
  border-color: rgba(52, 211, 153, 0.35);
}
[data-theme="dark"] .info-pill-icon.icon-purple{
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(109, 40, 217, 0.3) 100%);
  border-color: rgba(192, 132, 252, 0.35);
}
[data-theme="dark"] .info-pill-text strong{
  color:#F8FAFC;
}
[data-theme="dark"] .info-pill-text small{
  color:#94A3B8;
}
[data-theme="dark"] .info-pill-icon.icon-blue{ background:rgba(37,99,235,0.2); color:#60A5FA; }
[data-theme="dark"] .info-pill-icon.icon-green{ background:rgba(16,185,129,0.2); color:#34D399; }
[data-theme="dark"] .info-pill-icon.icon-purple{ background:rgba(124,58,237,0.2); color:#A78BFA; }
[data-theme="dark"] .info-pill{ background:rgba(30, 41, 59, 0.6); border-color:rgba(255, 255, 255, 0.08); }

[data-theme="dark"] .contact-row{ color:#CBD5E1; }
[data-theme="dark"] .contact-item{ color:#CBD5E1; }
[data-theme="dark"] .contact-item svg{ color:#60A5FA; }
[data-theme="dark"] .contact-divider{ background:rgba(255,255,255,0.1); }

[data-theme="dark"] .tab-switch{
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .tab-btn{
  color: #94A3B8;
}
[data-theme="dark"] .tab-btn:hover:not(.active){
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .tab-btn.active{
  background: #1E293B;
  color: #38BDF8;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .learning-head h3{ color:#F8FAFC; }
[data-theme="dark"] .learning-head p{ color:#94A3B8; }

[data-theme="dark"] .enrolled-course-btn{
  background:#111827;
  border-color:rgba(255,255,255,0.08);
  color:#F8FAFC;
  box-shadow:0 4px 16px rgba(0,0,0,0.35);
}
[data-theme="dark"] .enrolled-course-btn:hover{
  background:#162035;
  border-color:#38BDF8;
  box-shadow:0 10px 24px rgba(0,0,0,0.5);
}
[data-theme="dark"] .enrolled-course-btn.active{
  background:linear-gradient(180deg, #162035 0%, #111827 100%);
  border-color:#38BDF8;
  box-shadow:0 10px 24px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(56,189,248,0.25);
}
[data-theme="dark"] .ecb-name{ color:#F8FAFC; }
[data-theme="dark"] .ecb-date,
[data-theme="dark"] .ecb-watchtime,
[data-theme="dark"] .ecb-billing{ color:#94A3B8; }
[data-theme="dark"] .ecb-billing-value{ color:#F8FAFC; }
[data-theme="dark"] .ecb-billing-value.ecb-free-value{ color:#34D399; }
[data-theme="dark"] .ecb-wt-value{ color:#38BDF8; }
[data-theme="dark"] .ecb-billing-due{ border-left-color:rgba(255,255,255,0.1); }
[data-theme="dark"] .ecb-billing-due .ecb-billing-value{ color:#F87171; }

[data-theme="dark"] .ecb-live-btn{
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.38) 0%, rgba(225, 29, 72, 0.22) 100%);
  color: #FDA4AF;
  border-color: rgba(251, 113, 133, 0.42);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.28);
}
[data-theme="dark"] .ecb-live-btn:hover{
  background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
  color: #ffffff;
  border-color: #F43F5E;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.45);
}
[data-theme="dark"] .ecb-live-btn .ecb-live-dot{
  background: #FB7185;
}
[data-theme="dark"] .ecb-live-btn .ecb-live-ping{
  background: #FB7185;
}
[data-theme="dark"] .ecb-live-btn:hover .ecb-live-dot,
[data-theme="dark"] .ecb-live-btn:hover .ecb-live-ping{
  background: #ffffff;
}

[data-theme="dark"] .learning-empty{
  background: rgba(17, 24, 39, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .btn-soft-courses{
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(56, 189, 248, 0.25);
  color: #7DD3FC;
}
[data-theme="dark"] .btn-soft-courses:hover{
  background: rgba(37, 99, 235, 0.28);
  color: #BAE6FD;
}

[data-theme="dark"] .detail-back-btn{
  background:#1E293B;
  border-color:rgba(255,255,255,0.12);
  color:#F8FAFC;
}
[data-theme="dark"] .detail-back-btn:hover{
  background:#2563EB;
  border-color:#3B82F6;
  color:#FFFFFF;
}
[data-theme="dark"] .detail-title{ color:#F8FAFC; }

[data-theme="dark"] .class-search-input{
  background:#162035;
  border-color:rgba(255,255,255,0.1);
  color:#F8FAFC;
}
[data-theme="dark"] .class-search-input:focus{
  background:#111827;
  border-color:#38BDF8;
  box-shadow:0 0 0 3px rgba(56,189,248,0.2);
}

[data-theme="dark"] .class-item{
  background:#111827;
  border-color:rgba(255,255,255,0.08);
  color:#F8FAFC;
}
[data-theme="dark"] .class-item:hover{
  background:#162035;
  border-color:#38BDF8;
  box-shadow:0 6px 20px rgba(0,0,0,0.4);
}
[data-theme="dark"] .class-title{ color:#F8FAFC; }
[data-theme="dark"] .class-chapter{ color:#94A3B8; }
[data-theme="dark"] .class-pdf-btn{
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .class-pdf-btn:hover{
  background: linear-gradient(180deg, #273549 0%, #1E293B 100%);
  border-color: #F87171;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.32);
}
[data-theme="dark"] .class-pdf-icon{
  color: #F87171;
}
[data-theme="dark"] .class-pdf-btn.is-locked{
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.06);
  color: #64748B;
  opacity: 0.5;
}
[data-theme="dark"] .class-pdf-btn.is-locked:hover{
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
[data-theme="dark"] .class-item.is-locked{
  background:#0D1322;
  opacity:0.55;
  border-color:rgba(255,255,255,0.04);
}
[data-theme="dark"] .class-item.is-locked .class-play{
  background:#1E293B;
  color:#64748B;
}

[data-theme="dark"] .filter-select-wrap--subject{ color: #7DD3FC; }
[data-theme="dark"] .filter-select--subject,
[data-theme="dark"] #subjectSelect{
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.24) 0%, rgba(14, 165, 233, 0.14) 100%);
  border-color: rgba(56, 189, 248, 0.35);
  color: #BAE6FD;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .filter-select-wrap--chapter{ color: #E9D5FF; }
[data-theme="dark"] .filter-select--chapter,
[data-theme="dark"] #chapterSelect{
  background: linear-gradient(135deg, rgba(126, 34, 206, 0.24) 0%, rgba(168, 85, 247, 0.14) 100%);
  border-color: rgba(192, 132, 252, 0.35);
  color: #F3E8FF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .filter-select option{
  background:#111827;
  color:#F8FAFC;
}

[data-theme="dark"] .live-class-card{
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(37, 99, 235, 0.14) 100%);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .live-pulse-badge{
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

/* ============================================================
   NEW MODERN DASHBOARD LAYOUT & SIDEBAR (VISION PLUS)
   ============================================================ */

/* ============================================================
   NEW MODERN DASHBOARD LAYOUT & SIDEBAR (ADMIN STYLE)
   ============================================================ */

body.dash-active > .nav,
body.dash-active > footer,
body.dash-active > #authPageHead {
  display: none !important;
}
body.dash-active {
  background: var(--p, #f5f7fb) !important;
  overflow-x: hidden;
}
[data-theme="dark"] body.dash-active {
  background: #090D16 !important;
}

.dash-app-layout{
  display: grid;
  grid-template-columns: 255px 1fr;
  min-height: 100vh;
  width: 100%;
}
@media(max-width: 991px){
  .dash-app-layout{
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
}

/* ===== LEFT SIDEBAR (LIGHT BLUE GRADIENT THEME) ===== */
.dash-sidebar{
  background: linear-gradient(180deg, #F0F6FF 0%, #E8F2FC 60%, #E1EDFA 100%);
  color: #1e293b;
  padding: 20px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid #D5E4F8;
  box-shadow: 2px 0 20px rgba(37, 99, 235, 0.05);
  z-index: 30;
  box-sizing: border-box;
}
@media(max-width: 991px){
  .dash-top-bar{
    display: none !important;
  }
  .dash-sidebar{
    position: static;
    height: auto;
    padding: 10px 14px 12px;
    gap: 10px;
    border-right: none;
    border-bottom: 1.5px solid #D5E4F8;
    background: linear-gradient(180deg, #F0F6FF 0%, #E8F2FC 100%);
  }
}
.dash-sidebar::-webkit-scrollbar{
  width: 4px;
}
.dash-sidebar::-webkit-scrollbar-thumb{
  background: #CBD5E1;
  border-radius: 999px;
}

.dash-side-brand{
  padding: 2px 2px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-side-logo-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.dash-side-logo-link:hover{
  transform: scale(1.02);
  opacity: 0.95;
}
.dash-side-logo-img{
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

/* Mobile Quick Actions (Top Right of Mobile Header) */
.dash-side-quick-actions{
  display: none;
}
@media(max-width: 991px){
  .dash-side-quick-actions{
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .dash-mobile-theme-btn{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #D5E4F8;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dash-mobile-theme-btn:hover{
    background: #E2E8F0;
    border-color: #94A3B8;
    transform: translateY(-1px) rotate(15deg);
  }
  .dash-mobile-theme-btn:active{
    transform: scale(0.92);
  }
  .dash-mobile-home-btn{
    height: 36px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ffffff;
    border: 1.5px solid #D5E4F8;
    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    padding: 0 10px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .dash-mobile-home-btn svg{
    flex-shrink: 0;
  }
  .dash-mobile-home-btn:hover{
    color: var(--accent);
    border-color: var(--accent);
    background: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
  }
  .dash-mobile-home-btn:active{
    transform: scale(0.92);
  }
  @media(max-width: 360px){
    .dash-side-quick-actions{
      gap: 6px;
    }
    .dash-mobile-theme-btn{
      width: 34px;
      height: 34px;
    }
    .dash-mobile-home-btn{
      height: 34px;
      padding: 0 8px;
      font-size: 11.5px;
      gap: 4px;
    }
  }
  [data-theme="dark"] .dash-mobile-theme-btn,
  [data-theme="dark"] .dash-mobile-home-btn{
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  [data-theme="dark"] .dash-mobile-theme-btn:hover,
  [data-theme="dark"] .dash-mobile-home-btn:hover{
    background: #334155;
    border-color: #475569;
    color: #ffffff;
  }
  .dash-side-logo-img{
    height: 36px;
    max-width: 140px;
  }
}

.dash-side-user{
  background: #ffffff;
  border: 1px solid #D8E6F8;
  border-radius: 14px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dash-side-avatar{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1), inset 0 1px 1px #ffffff;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dash-side-user:hover .dash-side-avatar{
  transform: scale(1.08) rotate(-3deg);
}
.dash-avatar-cap-svg{
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.15));
}
.dash-side-meta{
  min-width: 0;
  line-height: 1.25;
}
.dash-side-greet{
  font-size: 11.5px;
  color: #64748B;
  font-weight: 600;
  display: block;
}
.dash-side-name{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-side-phone{
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  display: block;
  letter-spacing: 0.3px;
}

/* Sidebar Navigation */
.dash-side-nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media(max-width: 991px){
  .dash-side-nav{
    flex-direction: row;
    gap: 8px;
  }
}
.dash-side-nav-item{
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #D8E6F8;
  background: #ffffff;
  color: #334155;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}
@media(max-width: 991px){
  .dash-side-nav-item{
    flex: 1;
    justify-content: center;
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
    gap: 7px;
  }
}
.dash-side-nav-item:hover{
  background: #F0F6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}
.dash-side-nav-item:active{
  transform: scale(0.98);
}
.dash-side-nav-item.active{
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.dash-side-nav-item.active:hover{
  background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}
.dash-nav-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.07);
  flex-shrink: 0;
  transition: all 0.22s ease;
}
.dash-side-nav-item:hover .dash-nav-icon{
  background: rgba(37, 99, 235, 0.12);
  transform: scale(1.05);
}
.dash-side-nav-item.active .dash-nav-icon{
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.dash-3d-icon{
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dash-side-nav-item:hover .dash-3d-icon{
  transform: translateY(-1px);
}
.dash-side-nav-item.active .dash-3d-icon{
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
.dash-nav-label{
  line-height: 1;
  white-space: nowrap;
}

/* ============================================================
   PROFILE TAB LOGOUT ACTION (At the very bottom of Profile)
   ============================================================ */
.prof-logout-section{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  justify-content: center;
  width: 100%;
}
[data-theme="dark"] .prof-logout-section{
  border-top-color: rgba(255, 255, 255, 0.08);
}
.prof-logout-action-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FEE2E2;
  border: 1.5px solid #FECACA;
  color: #DC2626;
  padding: 7.5px 22px;
  border-radius: 9px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
  width: 100%;
  max-width: 250px;
}
.prof-logout-action-btn:hover{
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.3);
}
[data-theme="dark"] .prof-logout-action-btn{
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}
[data-theme="dark"] .prof-logout-action-btn:hover{
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

/* Dark theme sidebar support */
[data-theme="dark"] .dash-sidebar{
  background: linear-gradient(180deg, #0e172a 0%, #0a1120 100%);
  border-right-color: #1e293b;
  color: #f1f5f9;
}
[data-theme="dark"] .dash-side-user{
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .dash-side-avatar{
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .dash-side-greet{
  color: #94a3b8;
}
[data-theme="dark"] .dash-side-name{
  color: #ffffff;
}
[data-theme="dark"] .dash-side-phone{
  color: #38bdf8;
}
[data-theme="dark"] .dash-side-nav-item{
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .dash-side-nav-item:hover{
  background: #273549;
  border-color: #475569;
  color: #ffffff;
}
[data-theme="dark"] .dash-side-nav-item.active{
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
[data-theme="dark"] .dash-side-nav-item .dash-nav-icon{
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .dash-side-nav-item.active .dash-nav-icon{
  background: rgba(255, 255, 255, 0.22);
}

/* ===== RIGHT MAIN CONTENT AREA ===== */
.dash-main-area{
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--p, #f5f7fb);
}
[data-theme="dark"] .dash-main-area{
  background: #090D16;
}

.dash-top-bar{
  height: 48px;
  background: #ffffff;
  border-bottom: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 25;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
@media(max-width: 900px){
  .dash-top-bar{
    padding: 0 14px;
    height: 46px;
  }
}
[data-theme="dark"] .dash-top-bar{
  background: #0e1526;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.dash-top-left{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Anek Bangla', sans-serif;
}
.dash-top-brand{
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.dash-top-sep{
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 13px;
}
.dash-top-crumb{
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.dash-top-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-top-link{
  height: 38px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid #CBD5E1;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-top-link svg{
  flex-shrink: 0;
}
.dash-top-link:hover{
  color: var(--accent);
  border-color: var(--accent);
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.dash-top-link:active{
  transform: scale(0.96);
}
[data-theme="dark"] .dash-top-link{
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .dash-top-link:hover{
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}
.dash-top-logout{
  border: 0;
  background: #fee2e2;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
}
.dash-top-logout:hover{
  background: #ef4444;
  color: #ffffff;
}
[data-theme="dark"] .dash-top-logout{
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.dash-content-zone{
  padding: 8px 24px 16px;
  max-width: 1700px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  flex: 1;
}
@media(max-width: 900px){
  .dash-content-zone{
    padding: 8px 12px;
  }
}

/* ===== RIGHT MAIN CONTENT AREA ===== */
.dash-main-area{
  min-width: 0;
}
.dash-pane{
  display: none;
}
.dash-pane.active{
  display: block;
  animation: vaFadePane 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes vaFadePane{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

.dash-pane-header{
  margin-bottom: 14px;
}
.dash-pane-title{
  font-family: 'Anek Bangla', sans-serif;
  font-size: clamp(18px, 4.4vw, 24px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.dash-pane-desc{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}

/* ===== ENROLLED COURSE GRID (WITH IMAGES) ===== */
.enrolled-course-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
  width: 100%;
}
@media(max-width: 640px){
  .enrolled-course-grid{
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }
}

.enrolled-course-btn{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start;
  padding: 0 !important;
  width: 100%;
  text-align: left !important;
  border: 1.5px solid var(--paper-line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}
[data-theme="dark"] .enrolled-course-btn{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.enrolled-course-btn:hover{
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
}

/* Course Card Thumbnail Wrap */
.ecb-thumb-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F172A;
  overflow: hidden;
  display: block;
}
.ecb-thumb-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.enrolled-course-btn:hover .ecb-thumb-img{
  transform: scale(1.04);
}
.ecb-thumb-gradient{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(15,23,42,0.65) 100%);
  pointer-events: none;
}

/* Card Content Details - LEFT ALIGNED, CLEAN, RESPONSIVE */
.ecb-card-content{
  padding: 9px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  text-align: left !important;
  gap: 4px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
.ecb-card-title{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 1px;
  text-align: left !important;
  display: block;
  width: 100%;
}
.ecb-card-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  text-align: left !important;
  width: 100%;
  margin-bottom: 1px;
}
.ecb-date,
.ecb-watchtime,
.ecb-billing{
  text-align: left !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.ecb-card-footer-actions{
  margin-top: auto;
  padding-top: 5px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}
[data-theme="dark"] .ecb-card-footer-actions{
  border-top-color: rgba(255, 255, 255, 0.08);
}
.ecb-open-hint{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}

/* ============================================================
   FOUR CATEGORY CARDS (VIDEO, DOCS, LIVE, FACEBOOK)
   ============================================================ */
.course-feature-cards{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
@media(max-width: 991px){
  .course-feature-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
@media(max-width: 520px){
  .course-feature-cards{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.cf-card{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  min-height: 72px;
  background: #FFFFFF;
  border: 1.5px solid var(--paper-line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
@media(max-width: 640px){
  .cf-card{
    padding: 14px 16px;
    min-height: 66px;
    gap: 12px;
  }
}
[data-theme="dark"] .cf-card{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.cf-card:hover{
  transform: translateY(-2px);
  border-color: #93C5FD;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.cf-card.active{
  border-color: #2563EB;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(37, 99, 235, 0.01) 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15), inset 0 0 0 1px #2563EB;
}
[data-theme="dark"] .cf-card:hover{
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .cf-card.active{
  border-color: #38BDF8;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, #111827 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 0 1px #38BDF8;
}

.cf-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cf-card-icon .cf-svg-3d{
  width: 32px;
  height: 32px;
  display: block;
}
.cf-card:hover .cf-card-icon{
  transform: scale(1.1) rotate(-3deg);
}
.cf-icon-video{
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12), inset 0 1px 1px #ffffff;
}
.cf-icon-docs{
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.12), inset 0 1px 1px #ffffff;
}
.cf-icon-live{
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.12), inset 0 1px 1px #ffffff;
  position: relative;
}
.cf-icon-fb{
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.12), inset 0 1px 1px #ffffff;
  position: relative;
}

[data-theme="dark"] .cf-icon-video{
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .cf-icon-docs{
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .cf-icon-live{
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(251, 113, 133, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .cf-icon-fb{
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.cf-card-content{
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}
.cf-card-content h4{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.cf-card-sub{
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.cf-live-badge-inline{
  display: flex;
  align-items: center;
  gap: 6px;
}
.cf-live-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  animation: ecbLivePing 1.5s infinite;
}

/* ============================================================
   SPLIT VIDEO WORKSPACE (STICKY PLAYER + SCROLLABLE CLASS LIST)
   ============================================================ */
.course-video-workspace{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  align-items: start;
}
@media(max-width: 991px){
  .course-video-workspace{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Sticky / Fixed Player Viewport */
.video-player-sticky-box{
  position: sticky;
  top: 48px;
  z-index: 15;
}
@media(max-width: 991px){
  .video-player-sticky-box{
    top: 46px;
    z-index: 15;
    background: var(--p, #f5f7fb);
    padding-bottom: 4px;
  }
  [data-theme="dark"] .video-player-sticky-box{
    background: #090D16;
  }
}
.player-placeholder-box{
  background: linear-gradient(135deg, #0B1120 0%, #1E293B 100%);
  border-radius: 14px;
  padding: 34px 18px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.pp-icon{
  font-size: 36px;
  display: block;
  margin-bottom: 8px;
}
.player-placeholder-box h4{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0;
  line-height: 1.35;
}

/* Scrollable Class List on Side (Bondi Pathshala Style Panel) */
.class-list-scrollable-container{
  background: #FFFFFF;
  border: 1.5px solid var(--paper-line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 560px;
  max-height: calc(100vh - 170px);
  min-height: 440px;
  box-sizing: border-box;
}
[data-theme="dark"] .class-list-scrollable-container{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.class-panel-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--paper-line);
  flex-shrink: 0;
}
[data-theme="dark"] .class-panel-header{
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.class-panel-title{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 16.5px;
  font-weight: 800;
  color: #0F766E;
}
[data-theme="dark"] .class-panel-title{
  color: #2DD4BF;
}

.class-list-scroll-view{
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #94A3B8 rgba(0, 0, 0, 0.04);
}
@media(max-width: 991px){
  .class-list-scrollable-container{
    height: 480px;
    max-height: 55vh;
    min-height: 320px;
    padding: 14px;
    border-radius: 14px;
  }
  .class-list-scroll-view{
    flex: 1;
    min-height: 0;
    padding-right: 4px;
  }
}
.class-list-scroll-view::-webkit-scrollbar{
  width: 7px;
}
.class-list-scroll-view::-webkit-scrollbar-track{
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
}
.class-list-scroll-view::-webkit-scrollbar-thumb{
  background: #94A3B8;
  border-radius: 999px;
}
.class-list-scroll-view::-webkit-scrollbar-thumb:hover{
  background: #64748B;
}
[data-theme="dark"] .class-list-scroll-view::-webkit-scrollbar-track{
  background: rgba(255, 255, 255, 0.03);
}
[data-theme="dark"] .class-list-scroll-view::-webkit-scrollbar-thumb{
  background: #475569;
}

/* ============================================================
   DOCUMENTS VIEW PANEL
   ============================================================ */
.docs-view-container{
  background: #FFFFFF;
  border: 1.5px solid var(--paper-line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
@media(max-width: 640px){
  .docs-view-container{
    padding: 16px 14px;
  }
}
[data-theme="dark"] .docs-view-container{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.docs-view-header{
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--paper-line);
}
[data-theme="dark"] .docs-view-header{
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.docs-view-title-group h4{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink);
}
.docs-view-title-group p{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* Suggestion Cards Responsive Grid (Laptop & Mobile) */
.docs-items-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 16px;
  max-width: 1060px;
}
@media(max-width: 900px){
  .docs-items-list{
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
}

.doc-item-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-left: 4.5px solid #2563EB;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
@media(max-width: 640px){
  .doc-item-row{
    padding: 11px 13px;
    border-radius: 12px;
    gap: 10px;
  }
}
[data-theme="dark"] .doc-item-row{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  border-left-color: #38BDF8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.doc-item-row:hover{
  border-color: #BFDBFE;
  border-left-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
[data-theme="dark"] .doc-item-row:hover{
  background: #1E293B;
  border-color: rgba(56, 189, 248, 0.3);
  border-left-color: #38BDF8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.doc-item-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
@media(max-width: 640px){
  .doc-item-left{
    gap: 9px;
  }
}
.doc-item-star{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.doc-item-row:hover .doc-item-star{
  transform: scale(1.1) rotate(4deg);
}
[data-theme="dark"] .doc-item-star{
  background: linear-gradient(135deg, rgba(146, 64, 14, 0.35) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-color: rgba(251, 191, 36, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.doc-item-info{
  min-width: 0;
  flex: 1;
}
.doc-item-title{
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
@media(max-width: 640px){
  .doc-item-title{
    font-size: 14.5px;
  }
}
[data-theme="dark"] .doc-item-title{
  color: #F8FAFC;
}

.doc-item-right{
  flex-shrink: 0;
}
.doc-download-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7.5px 13px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}
@media(max-width: 640px){
  .doc-download-btn{
    padding: 6.5px 10px;
    font-size: 11.5px;
    border-radius: 8px;
    gap: 4px;
  }
  .doc-download-btn svg{
    width: 14px;
    height: 14px;
  }
}
.doc-download-btn:hover{
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
  color: #FFFFFF !important;
}
.doc-download-btn:active{
  transform: scale(0.96);
}
.doc-download-btn svg{
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.doc-download-btn.is-locked{
  background: #94A3B8;
  border-color: #64748B;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   LIVE CLASS VIEW PANEL
   ============================================================ */
.live-view-container{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.no-live-card{
  background: #FFFFFF;
  border: 1.5px solid var(--paper-line);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
[data-theme="dark"] .no-live-card{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.no-live-icon{
  font-size: 42px;
  display: block;
  margin-bottom: 10px;
}
.no-live-card h4{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
}
.no-live-card p{
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0 auto;
}

/* ============================================================
   FACEBOOK GROUP & COMMUNITY VIEW PANEL
   ============================================================ */
.fb-view-container{
  background: #FFFFFF;
  border: 1.5px solid var(--paper-line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
@media(max-width: 640px){
  .fb-view-container{
    padding: 16px 14px;
  }
}
[data-theme="dark"] .fb-view-container{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.fb-view-header{
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--paper-line);
}
[data-theme="dark"] .fb-view-header{
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.fb-view-title-group h4{
  font-family: 'Anek Bangla', sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink);
}
.fb-view-title-group p{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

.fb-items-container{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 16px;
  max-width: 1060px;
}
@media(max-width: 900px){
  .fb-items-container{
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }
}

.fb-community-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-left: 4.5px solid #1877F2;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
@media(max-width: 640px){
  .fb-community-card{
    padding: 11px 13px;
    border-radius: 12px;
    gap: 10px;
  }
}
[data-theme="dark"] .fb-community-card{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  border-left-color: #1877F2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.fb-community-card:hover{
  border-color: #BFDBFE;
  border-left-color: #166FE5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.14);
}
[data-theme="dark"] .fb-community-card:hover{
  background: #1E293B;
  border-color: rgba(59, 130, 246, 0.3);
  border-left-color: #38BDF8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.fb-card-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
@media(max-width: 640px){
  .fb-card-left{
    gap: 9px;
  }
}
.fb-icon-badge{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fb-community-card:hover .fb-icon-badge{
  transform: scale(1.1) rotate(-4deg);
}
[data-theme="dark"] .fb-icon-badge{
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(30, 41, 59, 0.8) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.fb-card-info{
  min-width: 0;
  flex: 1;
}
.fb-group-name{
  font-family: 'Anek Bangla', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
@media(max-width: 640px){
  .fb-group-name{
    font-size: 14.5px;
  }
}
[data-theme="dark"] .fb-group-name{
  color: #F8FAFC;
}
.fb-card-right{
  flex-shrink: 0;
}
.btn-join-fb{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7.5px 13px;
  border-radius: 9px;
  font-family: 'Anek Bangla', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #1877F2 0%, #166FE5 50%, #0D5AC9 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
@media(max-width: 640px){
  .btn-join-fb{
    padding: 6.5px 10px;
    font-size: 11.5px;
    border-radius: 8px;
    gap: 4px;
  }
  .btn-join-fb svg{
    width: 13px;
    height: 13px;
  }
}
.btn-join-fb:hover{
  background: linear-gradient(135deg, #166FE5 0%, #0D5AC9 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.38);
  color: #FFFFFF !important;
}
.btn-join-fb:active{
  transform: translateY(0);
}
.btn-fb-arrow{
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.btn-join-fb:hover .btn-fb-arrow{
  transform: translateX(3px);
}

/* ============================================================
   EXECUTIVE STUDENT PROFILE SHOWCASE (DEVICE-ADAPTIVE COMPACT)
   ============================================================ */
.prof-card-wrapper{
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vw, 14px);
}

/* Profile Hero Card (Naturally compact & responsive across all screens) */
.prof-hero-card{
  position: relative;
  background: radial-gradient(ellipse 90% 80% at 85% 15%, rgba(56, 189, 248, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse 70% 60% at 10% 85%, rgba(99, 102, 241, 0.25) 0%, transparent 55%),
              linear-gradient(135deg, #0A1128 0%, #0F1F47 38%, #162E6E 72%, #1E40AF 100%);
  border-radius: clamp(14px, 2vw, 18px);
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2.5vw, 24px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.32),
              0 0 0 1px rgba(255, 255, 255, 0.1) inset,
              0 1px 0 rgba(255, 255, 255, 0.3) inset;
  overflow: hidden;
}
.prof-hero-glow{
  position: absolute;
  top: -60px;
  right: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(99, 102, 241, 0.12) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.prof-hero-glow-secondary{
  position: absolute;
  bottom: -70px;
  left: 20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.15) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.prof-hero-main{
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
}
.prof-hero-avatar-wrap{
  position: relative;
  flex-shrink: 0;
}
.prof-hero-avatar{
  width: clamp(52px, 6vw, 62px);
  height: clamp(52px, 6vw, 62px);
  border-radius: clamp(13px, 1.8vw, 17px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.prof-hero-avatar:hover{
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}
.prof-hero-cap-svg{
  width: clamp(34px, 4.2vw, 42px);
  height: clamp(34px, 4.2vw, 42px);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}
.prof-hero-avatar:hover .prof-hero-cap-svg{
  transform: scale(1.08);
}
.prof-hero-status-dot{
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #0A1128;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}
.prof-hero-details{
  flex: 1;
  min-width: 0;
}
.prof-hero-title{
  font-family: 'Anek Bangla', sans-serif;
  font-size: clamp(18px, 3.2vw, 26px);
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  word-break: break-word;
}
.prof-hero-meta{
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 10px);
  flex-wrap: wrap;
}
.prof-meta-pill{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5px clamp(8px, 1.2vw, 11px);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #F8FAFC;
  font-size: clamp(11.5px, 1.4vw, 12.5px);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.prof-meta-pill svg{
  color: #93C5FD;
}
.prof-enrolled-subtext{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(11px, 1.3vw, 11.5px);
  color: rgba(226, 232, 240, 0.72);
  font-weight: 500;
  letter-spacing: 0.15px;
  line-height: 1.2;
}
.prof-enrolled-subtext span{
  color: #E2E8F0;
  font-weight: 600;
}

/* Two Sections Grid (Auto-fits 1 or 2 columns based on device screen) */
.prof-sections-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(10px, 1.6vw, 14px);
}
.prof-section-card{
  background: #ffffff;
  border: 1.5px solid var(--paper-line);
  border-radius: clamp(13px, 1.8vw, 15px);
  padding: clamp(11px, 1.8vw, 15px) clamp(12px, 2vw, 16px);
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
[data-theme="dark"] .prof-section-card{
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}
.prof-section-header{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 8px;
}
[data-theme="dark"] .prof-section-header{
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.prof-section-icon-badge{
  width: clamp(28px, 3.5vw, 34px);
  height: clamp(28px, 3.5vw, 34px);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(15px, 2vw, 18px);
  flex-shrink: 0;
}
.prof-section-icon-badge.badge-blue{
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
}
.prof-section-icon-badge.badge-green{
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
}
[data-theme="dark"] .prof-section-icon-badge.badge-blue{
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.4);
}
[data-theme="dark"] .prof-section-icon-badge.badge-green{
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}
.prof-section-title{
  font-family: 'Anek Bangla', sans-serif;
  font-size: clamp(15.5px, 2vw, 17px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.prof-section-desc{
  font-size: clamp(11px, 1.3vw, 12px);
  color: var(--ink-soft);
  margin: 1px 0 0;
  line-height: 1.2;
}
.prof-details-list{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.prof-row-item{
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 11px);
  padding: 5.5px clamp(9px, 1.3vw, 12px);
  border-radius: 9px;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all .2s;
}
[data-theme="dark"] .prof-row-item{
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.06);
}
.prof-row-item:hover{
  transform: translateX(3px);
  border-color: var(--accent);
  background: #ffffff;
}
[data-theme="dark"] .prof-row-item:hover{
  background: #0F172A;
}
.prof-row-icon{
  width: clamp(26px, 3.2vw, 30px);
  height: clamp(26px, 3.2vw, 30px);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.prof-row-item:hover .prof-row-icon{
  transform: scale(1.08);
}
.prof-row-icon svg{
  width: clamp(13.5px, 1.6vw, 15.5px);
  height: clamp(13.5px, 1.6vw, 15.5px);
}
.prof-row-icon.icon-blue{ background: #EFF6FF; color: #2563EB; }
.prof-row-icon.icon-emerald{ background: #ECFDF5; color: #059669; }
.prof-row-icon.icon-amber{ background: #FFFBEB; color: #D97706; }
.prof-row-icon.icon-purple{ background: #FAF5FF; color: #7C3AED; }
.prof-row-icon.icon-rose{ background: #FFF1F2; color: #E11D48; }
.prof-row-icon.icon-indigo{ background: #EEF2FF; color: #4F46E5; }
.prof-row-icon.icon-sky{ background: #F0F9FF; color: #0284C7; }
.prof-row-icon.icon-violet{ background: #F5F3FF; color: #6D28D9; }
[data-theme="dark"] .prof-row-icon{
  background: rgba(255, 255, 255, 0.08) !important;
  color: #93C5FD !important;
}
.prof-row-content{
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.prof-row-label{
  font-size: clamp(9.5px, 1.2vw, 10.5px);
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.prof-row-val{
  font-size: clamp(13px, 1.6vw, 14.5px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  word-break: break-word;
}

