/* ============================================
   AUTH PAGE (Login / Register)
   ============================================ */
.auth-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 20px 40px;
  position: relative; overflow: hidden;
}
.auth-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 60%, rgba(255,107,0,0.1) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 30%, rgba(19,136,8,0.07) 0%, transparent 50%);
}
.auth-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,107,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.auth-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 1000px; width: 100%;
  position: relative; z-index: 1; align-items: center;
}
.auth-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 32px;
}
.auth-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 800; color: white;
}
.auth-logo span { font-size: 18px; font-weight: 700; color: white; }
.auth-left h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: white; line-height: 1.2; margin-bottom: 14px;
}
.auth-left h1 span { color: #FF8C3A; }
.auth-left > p { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.auth-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.af-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7); font-size: 14px;
}
.af-item span { font-size: 18px; }
.auth-stat-row { display: flex; gap: 32px; }
.auth-stat strong { display: block; font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #FF6B00, #F0B429); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.auth-stat span { font-size: 12px; color: rgba(255,255,255,0.4); }

/* Auth Card */
.auth-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
}
.auth-tabs {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px; padding: 4px;
  margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 9px; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  background: transparent; color: rgba(255,255,255,0.5);
  font-family: 'Outfit', sans-serif;
}
.auth-tab.active { background: #FF6B00; color: white; }
.auth-card-title { font-size: 20px; font-weight: 700; color: white; margin-bottom: 22px; }

.auth-alert {
  padding: 12px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500; margin-bottom: 16px;
}
.auth-alert-error { background: rgba(239,68,68,0.1); color: #FCA5A5; border: 1px solid rgba(239,68,68,0.2); }
.auth-alert-success { background: rgba(19,136,8,0.1); color: #86EFAC; border: 1px solid rgba(19,136,8,0.2); }

.auth-form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.auth-form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 12px; font-size: 16px; pointer-events: none; }
.input-wrap input {
  width: 100%; padding: 11px 40px 11px 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; color: white; font-size: 14px;
  font-family: 'Outfit', sans-serif; outline: none; transition: all 0.2s;
}
.input-wrap input:focus { border-color: #FF6B00; background: rgba(255,107,0,0.05); }
.input-wrap input::placeholder { color: rgba(255,255,255,0.25); }
.input-toggle {
  position: absolute; right: 10px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; padding: 4px;
}
.auth-select {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; color: white; font-size: 14px;
  font-family: 'Outfit', sans-serif; outline: none; cursor: pointer;
}
.auth-select option { background: #0A1628; }

.auth-form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); cursor: pointer; }
.forgot-link { font-size: 13px; color: #FF8C3A; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }

.btn-auth-submit {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  border: none; border-radius: 10px;
  color: white; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}
.btn-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,0,0.55); }

.auth-divider { text-align: center; position: relative; margin: 20px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.1); }
.auth-divider span { background: transparent; padding: 0 12px; font-size: 12px; color: rgba(255,255,255,0.35); position: relative; }
.auth-social-row { display: flex; gap: 10px; }
.social-auth-btn {
  flex: 1; padding: 10px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: 'Outfit', sans-serif;
}
.social-auth-btn:hover { background: rgba(255,255,255,0.12); color: white; }

.otp-inputs { display: flex; gap: 8px; }
.otp-box {
  flex: 1; height: 52px; text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9px; color: white; font-size: 20px; font-weight: 700;
  outline: none; transition: all 0.2s; font-family: 'Outfit', sans-serif;
}
.otp-box:focus { border-color: #FF6B00; background: rgba(255,107,0,0.06); }
.back-link { background: none; border: none; color: #FF8C3A; font-size: 13px; cursor: pointer; margin-top: 12px; display: block; font-family: 'Outfit', sans-serif; }

/* ============================================
   STUDENT DASHBOARD
   ============================================ */
.dashboard-wrap {
  display: flex; min-height: 100vh;
  background: #0D1B30; padding-top: 0;
}

/* SIDEBAR */
.dash-sidebar {
  width: 260px; flex-shrink: 0;
  background: #0A1628;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.dsb-logo { padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dsb-logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.dsb-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 800; color: white;
}
.dsb-logo-link span { font-size: 17px; font-weight: 700; color: white; }

.dsb-profile {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 12px; align-items: center;
}
.dsb-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: white;
}
.dsb-user-info { display: flex; flex-direction: column; min-width: 0; }
.dsb-user-info strong { font-size: 14px; font-weight: 700; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsb-user-info span { font-size: 11px; color: rgba(255,255,255,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dsb-nav { padding: 12px 0; flex: 1; }
.dsb-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 500;
  text-decoration: none; border-left: 3px solid transparent;
  transition: all 0.2s; cursor: pointer;
}
.dsb-nav-item span:first-child { font-size: 16px; width: 20px; text-align: center; }
.dsb-nav-item:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); }
.dsb-nav-item.active { background: rgba(255,107,0,0.1); color: #FF8C3A; border-left-color: #FF6B00; }
.dsb-badge {
  margin-left: auto; background: rgba(255,107,0,0.2); color: #FF8C3A;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
}
.dsb-badge-gold { background: rgba(240,180,41,0.2); color: #F0B429; }

.dsb-footer-links {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 8px;
}
.dsb-footer-links a { color: rgba(255,255,255,0.35); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.dsb-footer-links a:hover { color: #FF8C3A; }

/* Mobile bar */
.dash-mobile-bar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #0A1628; border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px;
  align-items: center; justify-content: space-between;
  height: 56px;
}
.dash-hamburger { background: none; border: none; color: white; font-size: 22px; cursor: pointer; }
.dash-mobile-title { color: white; font-weight: 700; font-size: 16px; }
.dsb-avatar-sm {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: white;
}

/* MAIN */
.dash-main { flex: 1; overflow-y: auto; padding: 32px; }
.dash-section { display: none; flex-direction: column; gap: 24px; }
.dash-section.active { display: flex; }

.dash-topbar {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px; flex-wrap: wrap;
}
.dash-topbar h1 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 4px; }
.dash-topbar p { color: rgba(255,255,255,0.45); font-size: 14px; }
.dash-date { color: rgba(255,255,255,0.35); font-size: 13px; padding-top: 6px; }

.btn-dash-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  border: none; border-radius: 9px;
  color: white; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}
.btn-dash-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,107,0,0.45); }

/* STATS */
.dash-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.dstat-card {
  border-radius: 14px; padding: 20px;
  display: flex; gap: 14px; align-items: center;
  border: 1px solid transparent;
}
.dstat-orange { background: rgba(255,107,0,0.1); border-color: rgba(255,107,0,0.2); }
.dstat-blue   { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); }
.dstat-green  { background: rgba(19,136,8,0.1); border-color: rgba(19,136,8,0.2); }
.dstat-gold   { background: rgba(240,180,41,0.1); border-color: rgba(240,180,41,0.2); }
.dstat-icon { font-size: 28px; }
.dstat-num { font-size: 26px; font-weight: 800; color: white; line-height: 1; }
.dstat-label { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* DASH CARD */
.dash-card {
  background: #152035;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; overflow: hidden;
}
.dash-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.dash-card-header h3 { font-size: 16px; font-weight: 700; color: white; }
.dash-card-link { background: none; border: none; color: #FF8C3A; font-size: 13px; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; }

/* CONTINUE LEARNING */
.continue-grid { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.continue-card {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 14px; transition: all 0.2s;
}
.continue-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,107,0,0.2); }
.cc-thumb {
  width: 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, #0A1E3D, #0F2A52);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.cc-info { flex: 1; min-width: 0; }
.cc-cat { font-size: 11px; font-weight: 700; color: #FF6B00; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.cc-info h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 4px; }
.cc-last { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.cc-progress-wrap { display: flex; align-items: center; gap: 8px; }
.cc-progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.cc-progress-fill { height: 100%; background: linear-gradient(90deg, #FF6B00, #F0B429); border-radius: 10px; }
.cc-progress-wrap span { font-size: 11px; color: rgba(255,255,255,0.4); white-space: nowrap; }
.btn-continue {
  padding: 8px 16px; background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3); border-radius: 8px;
  color: #FF8C3A; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  font-family: 'Outfit', sans-serif; flex-shrink: 0;
}
.btn-continue:hover { background: #FF6B00; color: white; border-color: #FF6B00; }

/* REC STRIP */
.rec-strip-grid { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rec-mini-card {
  display: flex; gap: 12px; align-items: center;
  background: rgba(255,255,255,0.03); border-radius: 10px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.06); transition: all 0.2s; cursor: pointer;
}
.rec-mini-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,107,0,0.2); }
.rmc-thumb {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(255,107,0,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.rmc-match { font-size: 10px; font-weight: 700; color: #FF8C3A; text-transform: uppercase; margin-bottom: 2px; }
.rmc-info h4 { font-size: 13px; font-weight: 600; color: white; line-height: 1.3; margin-bottom: 4px; }
.rmc-price { font-size: 12px; font-weight: 700; color: #F0B429; }

/* REWARD STRIP */
.reward-strip {
  background: linear-gradient(135deg, rgba(240,180,41,0.1), rgba(255,107,0,0.1));
  border: 1px solid rgba(240,180,41,0.25);
  border-radius: 14px; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.rs-left { display: flex; gap: 14px; align-items: center; }
.rs-icon { font-size: 28px; }
.rs-left strong { display: block; font-weight: 700; color: white; font-size: 15px; }
.rs-left span { font-size: 13px; color: rgba(255,255,255,0.5); }
.btn-use-rewards {
  padding: 9px 20px; background: linear-gradient(135deg, #F0B429, #CC8800);
  border: none; border-radius: 9px; color: white;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Outfit', sans-serif; white-space: nowrap; transition: all 0.2s;
}
.btn-use-rewards:hover { transform: translateY(-1px); }

/* MY COURSES GRID */
.my-courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.my-course-card {
  background: #152035; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; overflow: hidden; transition: all 0.25s;
}
.my-course-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); border-color: rgba(255,107,0,0.2); }
.mc-thumb {
  height: 140px; background: linear-gradient(135deg, #0A1E3D, #0F2A52);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative;
}
.mc-level {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.5); color: rgba(255,255,255,0.85);
  font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 100px;
}
.mc-premium {
  position: absolute; top: 10px; left: 10px;
  background: linear-gradient(135deg, #FF6B00, #F0B429);
  color: white; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
}
.mc-free {
  position: absolute; top: 10px; left: 10px;
  background: #138808; color: white;
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px;
}
.mc-body { padding: 16px; }
.mc-cat { font-size: 10px; font-weight: 700; color: #FF6B00; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.mc-body h3 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 6px; line-height: 1.35; }
.mc-last { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.mc-stats { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.mc-progress-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mc-progress-bar { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.mc-progress-fill { height: 100%; background: linear-gradient(90deg, #FF6B00, #F0B429); border-radius: 10px; }
.mc-pct { font-size: 12px; font-weight: 700; color: #FF8C3A; }
.btn-course-action {
  width: 100%; padding: 9px; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.btn-resume { background: rgba(255,107,0,0.15); color: #FF8C3A; }
.btn-resume:hover { background: #FF6B00; color: white; }
.btn-cert { background: linear-gradient(135deg, #F0B429, #CC8800); color: white; }
.btn-cert:hover { transform: translateY(-1px); }

/* PROJECTS */
.reward-how-card {
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(240,180,41,0.06));
  border: 1px solid rgba(255,107,0,0.2); border-radius: 14px; padding: 20px 24px;
}
.reward-how-card h3 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 16px; }
.rhc-steps { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.rhc-step { flex: 1; min-width: 120px; }
.rhc-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #FF6B00; color: white; font-size: 13px; font-weight: 800;
  margin-bottom: 8px;
}
.rhc-step p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.4; }
.rhc-arrow { color: rgba(255,255,255,0.2); font-size: 20px; padding: 0 8px; flex-shrink: 0; }

.proj-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proj-done-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.proj-done-badge { font-size: 12px; font-weight: 700; color: #4CAF50; }
.avail-proj-list { padding: 8px 0; }
.ap-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ap-info { display: flex; align-items: center; gap: 12px; }
.ap-thumb { font-size: 22px; }
.ap-info strong { display: block; font-size: 14px; font-weight: 600; color: white; }
.ap-info span { font-size: 12px; color: rgba(255,255,255,0.4); }
.btn-start-proj, .btn-buy-proj {
  padding: 7px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.btn-start-proj { background: rgba(19,136,8,0.15); color: #4CAF50; }
.btn-start-proj:hover { background: #138808; color: white; }
.btn-buy-proj { background: rgba(255,107,0,0.15); color: #FF8C3A; }
.btn-buy-proj:hover { background: #FF6B00; color: white; }

/* REWARDS */
.rewards-hero {
  background: linear-gradient(135deg, rgba(240,180,41,0.12), rgba(255,107,0,0.08));
  border: 1px solid rgba(240,180,41,0.2); border-radius: 16px; padding: 28px;
  display: flex; gap: 40px; align-items: center;
}
.rh-balance { text-align: center; flex-shrink: 0; }
.rh-icon { font-size: 40px; margin-bottom: 8px; }
.rh-num { font-size: 48px; font-weight: 800; color: #F0B429; line-height: 1; margin-bottom: 6px; }
.rh-label { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.btn-redeem {
  padding: 10px 22px; background: linear-gradient(135deg, #F0B429, #CC8800);
  border: none; border-radius: 9px; color: white;
  font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.btn-redeem:hover { transform: translateY(-1px); }
.rh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; flex: 1; }
.rh-stat { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 14px; }
.rh-stat strong { display: block; font-size: 22px; font-weight: 800; color: white; margin-bottom: 4px; }
.rh-stat span { font-size: 12px; color: rgba(255,255,255,0.4); }

.dash-table { width: 100%; border-collapse: collapse; }
.dash-table th { padding: 10px 20px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); text-transform: uppercase; letter-spacing: 0.8px; }
.dash-table td { padding: 13px 20px; font-size: 13px; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.04); }
.dt-badge { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.dt-green { background: rgba(19,136,8,0.15); color: #4CAF50; }
.dt-orange { background: rgba(255,107,0,0.15); color: #FF8C3A; }
.dt-pos { color: #4CAF50; font-weight: 700; }
.dt-neg { color: #FF8C3A; font-weight: 700; }

.earn-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.em-card {
  border-radius: 14px; padding: 20px; text-align: center;
  border: 1px solid transparent; transition: all 0.2s;
}
.em-free { background: rgba(19,136,8,0.08); border-color: rgba(19,136,8,0.2); }
.em-paid { background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.2); }
.em-card:hover { transform: translateY(-3px); }
.em-thumb { font-size: 36px; margin-bottom: 10px; }
.em-card h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
.em-earn { font-size: 16px; font-weight: 800; color: #F0B429; margin-bottom: 4px; }
.em-level { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.btn-em {
  width: 100%; padding: 8px; border: none; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
}
.btn-em:hover { background: #FF6B00; color: white; }

/* CERTIFICATES */
.certs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert-card { background: #152035; border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow: hidden; }
.cert-preview {
  background: linear-gradient(135deg, #0A0F20, #0F1A35);
  padding: 28px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cert-inner { border: 2px solid rgba(240,180,41,0.3); border-radius: 12px; padding: 24px; text-align: center; }
.cert-logo { font-size: 13px; font-weight: 800; color: #FF8C3A; margin-bottom: 12px; }
.cert-text { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.cert-course { font-size: 18px; font-weight: 800; color: white; margin-bottom: 8px; }
.cert-name { font-size: 15px; font-weight: 600; color: #F0B429; margin-bottom: 8px; }
.cert-date { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.cert-verify { font-size: 10px; color: rgba(255,255,255,0.25); font-family: 'JetBrains Mono', monospace; }
.cert-actions { padding: 16px; display: flex; gap: 10px; }
.btn-cert-action {
  flex: 1; padding: 9px; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.btn-download-cert { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
.btn-download-cert:hover { background: rgba(255,255,255,0.15); color: white; }
.btn-linkedin { background: rgba(10,102,194,0.2); color: #60A5FA; }
.btn-linkedin:hover { background: #0A66C2; color: white; }

/* RECOMMENDATIONS */
.rec-why-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,107,0,0.06); border: 1px solid rgba(255,107,0,0.15);
  border-radius: 12px; padding: 16px 20px;
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.rec-why-card span { font-size: 20px; flex-shrink: 0; }
.rec-why-card strong { color: white; }
.rec-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rec-card { background: #152035; border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow: hidden; transition: all 0.25s; }
.rec-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); border-color: rgba(255,107,0,0.25); }
.rec-thumb {
  height: 120px; background: linear-gradient(135deg, #0A1E3D, #102540);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; position: relative;
}
.rec-match-badge {
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg, #FF6B00, #F0B429);
  color: white; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
}
.rec-body { padding: 16px; }
.rec-cat { font-size: 10px; font-weight: 700; color: #FF6B00; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.rec-body h3 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 8px; line-height: 1.35; }
.rec-meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.rec-level { font-size: 12px; color: rgba(255,255,255,0.4); }
.rec-price { font-size: 14px; font-weight: 800; color: #F0B429; }
.rec-match-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.rec-match-fill { height: 100%; background: linear-gradient(90deg, #FF6B00, #F0B429); border-radius: 10px; }
.btn-rec {
  width: 100%; padding: 9px; border: none; border-radius: 9px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: all 0.2s;
}
.btn-rec-free { background: rgba(19,136,8,0.15); color: #4CAF50; }
.btn-rec-free:hover { background: #138808; color: white; }
.btn-rec-paid { background: rgba(255,107,0,0.15); color: #FF8C3A; }
.btn-rec-paid:hover { background: #FF6B00; color: white; }

/* PROFILE */
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.profile-card { padding: 28px; text-align: center; }
.profile-avatar-big {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, #FF6B00, #CC5500);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: white;
}
.profile-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.profile-card p { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.profile-joined { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 8px; margin-bottom: 16px; }
.profile-badges { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.pb-badge {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 5px 14px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7);
}

.profile-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pf-group { display: flex; flex-direction: column; gap: 6px; }
.pf-group label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; }
.pf-group input, .pf-group select {
  padding: 10px 14px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 9px;
  color: white; font-size: 14px; font-family: 'Outfit', sans-serif; outline: none; transition: all 0.2s;
}
.pf-group input:focus, .pf-group select:focus { border-color: #FF6B00; }
.pf-group select option { background: #152035; }

/* EMPTY STATE */
.empty-state {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  background: #152035; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.es-icon { font-size: 52px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 700; color: white; margin-bottom: 8px; }
.empty-state p { color: rgba(255,255,255,0.45); font-size: 14px; margin-bottom: 20px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .my-courses-grid { grid-template-columns: repeat(2, 1fr); }
  .rec-full-grid { grid-template-columns: repeat(2, 1fr); }
  .earn-more-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
  .rec-strip-grid { grid-template-columns: 1fr; }
  .proj-status-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .dashboard-wrap { flex-direction: column; }
  .dash-sidebar { display: none; width: 100%; height: auto; position: fixed; top: 56px; left: 0; right: 0; bottom: 0; z-index: 50; overflow-y: auto; }
  .dash-sidebar.open { display: flex; }
  .dash-mobile-bar { display: flex; }
  .dash-main { padding: 72px 16px 24px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .my-courses-grid { grid-template-columns: 1fr; }
  .rec-full-grid { grid-template-columns: 1fr; }
  .earn-more-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-hero { flex-direction: column; gap: 24px; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .rec-strip-grid { grid-template-columns: 1fr; }
}
