/* ─────────────────────────────────────────────────────────
   FILE: static/css/style.css
   KAAM: Poori website ki design — modern, clean, professional
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── VARIABLES ── */
:root {
  --red:        #e63946;
  --red-dark:   #c1121f;
  --red-light:  #fff0f0;
  --red-mid:    #ffd6d8;
  --bg:         #f6f8fa;
  --bg2:        #ffffff;
  --bg3:        #f0f6fc;
  --border:     #d0d7de;
  --text:       #24292f;
  --text2:      #57606a;
  --text3:      #8c959f;
  --green:      #1a7f37;
  --green-bg:   #dafbe1;
  --yellow:     #9a6700;
  --yellow-bg:  #fff8c5;
  --blue:       #0969da;
  --blue-bg:    #ddf4ff;
  --font:       'Inter', sans-serif;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --shadow:     0 1px 3px rgba(31,35,40,0.12), 0 8px 24px rgba(66,74,83,0.12);
  --shadow-sm:  0 1px 0 rgba(31,35,40,0.04);
  --transition: all 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background:  var(--bg);
  color:       var(--text);
  font-size:   14px;
  line-height: 1.5;
  min-height:  100vh;
}

a { text-decoration: none; color: var(--blue); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ────────────────────────────────────────────
   NAVBAR
──────────────────────────────────────────── */
.navbar {
  background:    var(--red);
  height:        60px;
  display:       flex;
  align-items:   center;
  padding:       0 24px;
  position:      sticky;
  top:           0;
  z-index:       100;
  box-shadow:    0 1px 0 rgba(0,0,0,0.15);
}
.navbar-brand {
  display:     flex;
  align-items: center;
  gap:         10px;
  color:       white;
  font-weight: 700;
  font-size:   17px;
}
.navbar-brand .logo {
  width:         36px;
  height:        36px;
  background:    rgba(255,255,255,0.2);
  border-radius: 8px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     18px;
}
.navbar-brand small {
  font-weight: 400;
  font-size:   12px;
  opacity:     0.85;
  display:     block;
  line-height: 1;
}
.navbar-right {
  margin-left: auto;
  display:     flex;
  align-items: center;
  gap:         12px;
}
.navbar-user {
  color:       rgba(255,255,255,0.9);
  font-size:   13px;
  font-weight: 500;
}
.btn-logout {
  background:    rgba(255,255,255,0.15);
  color:         white;
  border:        1px solid rgba(255,255,255,0.3);
  padding:       6px 14px;
  border-radius: 6px;
  font-size:     13px;
  font-weight:   500;
  cursor:        pointer;
  font-family:   var(--font);
  transition:    var(--transition);
}
.btn-logout:hover { background: rgba(255,255,255,0.25); }

/* ── STATUS BAR ── */
#status-bar {
  display:     none;
  padding:     10px 24px;
  font-size:   13px;
  font-weight: 500;
  text-align:  center;
}
#status-bar.success { background: var(--green-bg); color: var(--green); display: block; }
#status-bar.error   { background: var(--red-light); color: var(--red-dark); display: block; }

/* ────────────────────────────────────────────
   AUTH PAGE
──────────────────────────────────────────── */
.auth-wrap {
  min-height:      calc(100vh - 60px);
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         24px;
  background:      linear-gradient(135deg, #fff 0%, #fff0f0 100%);
}
.auth-card {
  background:    white;
  border:        1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow);
  width:         100%;
  max-width:     420px;
  overflow:      hidden;
}
.auth-header {
  background:    var(--red);
  padding:       32px 28px 24px;
  text-align:    center;
  color:         white;
}
.auth-header .icon { font-size: 40px; margin-bottom: 8px; }
.auth-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-header p  { font-size: 13px; opacity: 0.85; }
.auth-body { padding: 24px 28px; }

.auth-tabs {
  display:       flex;
  background:    var(--bg);
  border-radius: var(--radius);
  padding:       4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex:          1;
  padding:       8px;
  text-align:    center;
  cursor:        pointer;
  border-radius: 6px;
  font-size:     13px;
  font-weight:   500;
  color:         var(--text2);
  transition:    var(--transition);
}
.auth-tab.active {
  background: white;
  color:      var(--red);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.auth-form { display: none; }
.auth-form.active { display: block; }

/* ────────────────────────────────────────────
   FORM ELEMENTS
──────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label {
  display:     block;
  font-size:   12px;
  font-weight: 600;
  color:       var(--text2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-control {
  width:         100%;
  padding:       9px 12px;
  border:        1px solid var(--border);
  border-radius: var(--radius);
  font-family:   var(--font);
  font-size:     14px;
  color:         var(--text);
  background:    white;
  outline:       none;
  transition:    var(--transition);
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-mid); }
.form-control::placeholder { color: var(--text3); }
textarea.form-control { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────── */
.btn {
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  padding:       9px 16px;
  border-radius: var(--radius);
  font-family:   var(--font);
  font-size:     13px;
  font-weight:   600;
  cursor:        pointer;
  border:        1px solid transparent;
  transition:    var(--transition);
  white-space:   nowrap;
}
.btn-primary { background: var(--red); color: white; border-color: var(--red-dark); width: 100%; justify-content: center; font-size: 14px; padding: 11px; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:disabled { background: #ccc; border-color: #bbb; cursor: not-allowed; }
.btn-success { background: var(--green); color: white; border-color: #116329; }
.btn-success:hover { background: #116329; }
.btn-outline { background: white; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--bg); border-color: #aaa; }
.btn-danger  { background: white; color: var(--red); border-color: var(--red-mid); }
.btn-danger:hover  { background: var(--red-light); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-xs { padding: 3px 8px; font-size: 11px; }
.btn-block { width: 100%; justify-content: center; }

/* ────────────────────────────────────────────
   ALERTS
──────────────────────────────────────────── */
.alert {
  padding:       10px 14px;
  border-radius: var(--radius);
  font-size:     13px;
  font-weight:   500;
  margin-bottom: 12px;
  display:       flex;
  align-items:   flex-start;
  gap:           8px;
}
.alert-error  { background: var(--red-light);  color: var(--red-dark); border: 1px solid var(--red-mid); }
.alert-success{ background: var(--green-bg);   color: var(--green);    border: 1px solid #aceebb; }
.alert-warn   { background: var(--yellow-bg);  color: var(--yellow);   border: 1px solid #e8c84b; }
.alert-info   { background: var(--blue-bg);    color: var(--blue);     border: 1px solid #79c0ff; }

/* ────────────────────────────────────────────
   BADGES
──────────────────────────────────────────── */
.badge {
  display:       inline-flex;
  align-items:   center;
  padding:       2px 8px;
  border-radius: 20px;
  font-size:     11px;
  font-weight:   600;
}
.badge-green  { background: var(--green-bg); color: var(--green); }
.badge-red    { background: var(--red-light); color: var(--red-dark); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge-blue   { background: var(--blue-bg); color: var(--blue); }
.badge-gray   { background: var(--bg); color: var(--text2); border: 1px solid var(--border); }

/* ────────────────────────────────────────────
   DASHBOARD LAYOUT
──────────────────────────────────────────── */
.dash-layout { display: flex; min-height: calc(100vh - 60px); }

/* SIDEBAR */
.sidebar {
  width:         240px;
  background:    white;
  border-right:  1px solid var(--border);
  flex-shrink:   0;
  display:       flex;
  flex-direction: column;
  padding:       12px 0;
  position:      sticky;
  top:           60px;
  height:        calc(100vh - 60px);
  overflow-y:    auto;
}
.sidebar-section {
  padding:       4px 12px;
  font-size:     11px;
  font-weight:   700;
  color:         var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin:        12px 0 4px;
}
.sidebar-item {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding:       9px 16px;
  margin:        1px 8px;
  border-radius: var(--radius);
  cursor:        pointer;
  color:         var(--text2);
  font-size:     13px;
  font-weight:   500;
  transition:    var(--transition);
}
.sidebar-item:hover { background: var(--bg); color: var(--text); }
.sidebar-item.active { background: var(--red-light); color: var(--red-dark); font-weight: 600; }
.sidebar-item .si-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-item .si-badge {
  margin-left:   auto;
  background:    var(--red);
  color:         white;
  border-radius: 10px;
  padding:       1px 7px;
  font-size:     10px;
  font-weight:   700;
}

/* MAIN CONTENT */
.dash-content { flex: 1; padding: 24px; overflow-y: auto; max-width: 1100px; }

/* ────────────────────────────────────────────
   PAGE HEADER
──────────────────────────────────────────── */
.page-header {
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap:     wrap;
  gap:           10px;
}
.page-title h2 { font-size: 20px; font-weight: 700; color: var(--text); }
.page-title p  { font-size: 13px; color: var(--text3); margin-top: 2px; }

/* ────────────────────────────────────────────
   STAT CARDS
──────────────────────────────────────────── */
.stats-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:                   16px;
  margin-bottom:         24px;
}
.stat-card {
  background:    white;
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  padding:       18px;
  display:       flex;
  align-items:   flex-start;
  gap:           14px;
  transition:    var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.stat-icon {
  width:         42px;
  height:        42px;
  border-radius: 10px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     20px;
  flex-shrink:   0;
}
.stat-icon.red    { background: var(--red-light); }
.stat-icon.green  { background: var(--green-bg); }
.stat-icon.yellow { background: var(--yellow-bg); }
.stat-icon.blue   { background: var(--blue-bg); }
.stat-info .num { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-info .lbl { font-size: 12px; color: var(--text3); margin-top: 4px; }
.stat-info .sub { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ────────────────────────────────────────────
   CARDS
──────────────────────────────────────────── */
.card {
  background:    white;
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow:      hidden;
}
.card-header {
  padding:       14px 18px;
  border-bottom: 1px solid var(--border);
  display:       flex;
  align-items:   center;
  gap:           8px;
  background:    var(--bg3);
}
.card-header h3 { font-size: 14px; font-weight: 600; color: var(--text); }
.card-header .card-actions { margin-left: auto; display: flex; gap: 8px; }
.card-body { padding: 18px; }

/* ────────────────────────────────────────────
   TABLE
──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead tr { background: var(--bg3); }
th {
  padding:     10px 14px;
  text-align:  left;
  font-size:   11px;
  font-weight: 700;
  color:       var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg3); }
.td-actions { display: flex; gap: 6px; align-items: center; }

/* ────────────────────────────────────────────
   NOTICE BOARD
──────────────────────────────────────────── */
.notice-list { display: flex; flex-direction: column; gap: 10px; }
.notice-item {
  background:    var(--bg3);
  border:        1px solid var(--border);
  border-left:   4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding:       12px 14px;
  display:       flex;
  justify-content: space-between;
  gap:           10px;
  align-items:   flex-start;
}
.notice-text { font-size: 13px; color: var(--text); flex: 1; line-height: 1.5; }
.notice-date { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ────────────────────────────────────────────
   FILE ITEMS
──────────────────────────────────────────── */
.file-grid { display: flex; flex-direction: column; gap: 10px; }
.file-item {
  background:    white;
  border:        1px solid var(--border);
  border-radius: var(--radius);
  padding:       12px 14px;
  display:       flex;
  align-items:   center;
  gap:           12px;
  transition:    var(--transition);
}
.file-item:hover { border-color: var(--red); background: var(--red-light); }
.file-icon { font-size: 24px; flex-shrink: 0; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-meta { font-size: 11px; color: var(--text3); margin-top: 2px; }
.file-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ────────────────────────────────────────────
   UPLOAD AREA
──────────────────────────────────────────── */
.upload-zone {
  border:        2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding:       32px;
  text-align:    center;
  cursor:        pointer;
  background:    var(--bg3);
  transition:    var(--transition);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--red); background: var(--red-light); }
.upload-zone .uz-icon { font-size: 36px; margin-bottom: 10px; }
.upload-zone .uz-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.upload-zone .uz-sub { font-size: 12px; color: var(--text3); }
.progress-bar-wrap { background: var(--bg); border-radius: 6px; height: 8px; overflow: hidden; margin: 8px 0; }
.progress-bar { height: 100%; background: var(--red); border-radius: 6px; transition: width 0.3s; }

/* ────────────────────────────────────────────
   VIDEO CARDS
──────────────────────────────────────────── */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.video-card {
  background:    white;
  border:        1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow:      hidden;
  transition:    var(--transition);
  cursor:        pointer;
}
.video-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--red); }
.video-thumb {
  position:    relative;
  aspect-ratio: 16/9;
  background:  var(--bg);
  overflow:    hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-btn {
  position:        absolute;
  inset:           0;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(0,0,0,0.3);
  opacity:         0;
  transition:      var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-circle {
  width:           52px;
  height:          52px;
  background:      var(--red);
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       22px;
  color:           white;
  padding-left:    3px;
}
.video-no-thumb {
  aspect-ratio:    16/9;
  background:      linear-gradient(135deg, var(--red-light), var(--red-mid));
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       40px;
}
.video-info { padding: 14px; }
.video-title { font-weight: 600; font-size: 13px; margin-bottom: 6px; line-height: 1.4; }
.video-meta  { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.video-desc  { font-size: 12px; color: var(--text3); line-height: 1.5; margin-bottom: 10px; }
.video-actions { display: flex; gap: 8px; }

/* VIDEO MODAL */
.video-modal-overlay {
  position:    fixed;
  inset:       0;
  background:  rgba(0,0,0,0.85);
  z-index:     9999;
  display:     none;
  align-items: center;
  justify-content: center;
  padding:     16px;
}
.video-modal-overlay.open { display: flex; }
.video-modal-box {
  background:    #000;
  border-radius: var(--radius-lg);
  width:         100%;
  max-width:     860px;
  overflow:      hidden;
}
.video-modal-header {
  background:    var(--red);
  padding:       12px 16px;
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  gap:           10px;
}
.video-modal-title { color: white; font-weight: 600; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-modal-close { background: rgba(255,255,255,0.2); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.video-modal-iframe-wrap { position: relative; padding-bottom: 56.25%; height: 0; }
.video-modal-iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-modal-footer { background: #111; padding: 10px 16px; text-align: center; font-size: 12px; color: #888; }

/* ────────────────────────────────────────────
   PAYMENT / QR
──────────────────────────────────────────── */
.payment-box { text-align: center; }
.qr-box {
  width:         180px;
  height:        180px;
  border:        2px solid var(--border);
  border-radius: var(--radius-lg);
  padding:       8px;
  margin:        0 auto 16px;
  display:       flex;
  align-items:   center;
  justify-content: center;
  background:    white;
  overflow:      hidden;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { font-size: 12px; color: var(--text3); text-align: center; }

/* ────────────────────────────────────────────
   LOCKED STATE
──────────────────────────────────────────── */
.locked-state {
  text-align:    center;
  padding:       40px 20px;
  background:    var(--red-light);
  border:        1px solid var(--red-mid);
  border-radius: var(--radius-lg);
}
.locked-icon { font-size: 40px; margin-bottom: 12px; }
.locked-state h3 { font-size: 16px; font-weight: 700; color: var(--red-dark); margin-bottom: 6px; }
.locked-state p  { font-size: 13px; color: var(--text2); }

/* ────────────────────────────────────────────
   SEARCH BAR
──────────────────────────────────────────── */
.search-bar {
  display:    flex;
  gap:        10px;
  margin-bottom: 16px;
  flex-wrap:  wrap;
}
.search-input {
  flex:          1;
  min-width:     200px;
  padding:       9px 12px 9px 36px;
  border:        1px solid var(--border);
  border-radius: var(--radius);
  font-family:   var(--font);
  font-size:     13px;
  outline:       none;
  background:    white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238c959f' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.099zm-5.242 1.656a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11z'/%3E%3C/svg%3E") no-repeat 12px center;
  transition:    var(--transition);
}
.search-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-mid); }
.filter-select {
  padding:       9px 12px;
  border:        1px solid var(--border);
  border-radius: var(--radius);
  font-family:   var(--font);
  font-size:     13px;
  outline:       none;
  background:    white;
  color:         var(--text);
  cursor:        pointer;
}
.filter-select:focus { border-color: var(--red); }

/* ────────────────────────────────────────────
   TABS (inside content)
──────────────────────────────────────────── */
.content-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.content-tab {
  padding:       9px 18px;
  cursor:        pointer;
  font-size:     13px;
  font-weight:   500;
  color:         var(--text2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition:    var(--transition);
}
.content-tab:hover  { color: var(--text); }
.content-tab.active { color: var(--red-dark); border-bottom-color: var(--red); font-weight: 600; }

/* ────────────────────────────────────────────
   STUDENT DETAIL MODAL
──────────────────────────────────────────── */
.modal-overlay {
  position:    fixed;
  inset:       0;
  background:  rgba(0,0,0,0.5);
  z-index:     500;
  display:     none;
  align-items: center;
  justify-content: center;
  padding:     16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background:    white;
  border-radius: var(--radius-xl);
  width:         100%;
  max-width:     480px;
  max-height:    90vh;
  overflow-y:    auto;
  box-shadow:    var(--shadow-lg);
  position:      relative;
}
.modal-header {
  padding:       18px 20px 14px;
  border-bottom: 1px solid var(--border);
  display:       flex;
  align-items:   center;
  gap:           10px;
}
.modal-header h3 { font-size: 16px; font-weight: 700; flex: 1; }
.modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text3); width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { background: var(--bg); }
.modal-body { padding: 18px 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }

.detail-row {
  display:       grid;
  grid-template-columns: 120px 1fr;
  gap:           8px 16px;
  font-size:     13px;
  margin-bottom: 8px;
  align-items:   center;
}
.detail-label { color: var(--text3); font-weight: 500; }
.detail-value { color: var(--text); font-weight: 500; }

/* ────────────────────────────────────────────
   WHATSAPP BUTTON
──────────────────────────────────────────── */
.wa-float {
  position:      fixed;
  bottom:        24px;
  right:         24px;
  width:         56px;
  height:        56px;
  background:    #25D366;
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  text-decoration: none;
  box-shadow:    0 4px 16px rgba(37,211,102,0.45);
  z-index:       200;
  transition:    var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.55); }

/* ────────────────────────────────────────────
   EMPTY STATE
──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 40px 20px; color: var(--text3); }
.empty-state .empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ────────────────────────────────────────────
   UPLOAD METHOD TOGGLE
──────────────────────────────────────────── */
.method-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.method-btn {
  flex:          1;
  padding:       10px;
  border:        2px solid var(--border);
  border-radius: var(--radius);
  background:    white;
  cursor:        pointer;
  font-family:   var(--font);
  font-size:     13px;
  font-weight:   500;
  color:         var(--text2);
  text-align:    center;
  transition:    var(--transition);
}
.method-btn.active { border-color: var(--red); background: var(--red-light); color: var(--red-dark); font-weight: 600; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { width: 56px; }
  .sidebar-item span:not(.si-icon):not(.si-badge) { display: none; }
  .sidebar-item { justify-content: center; padding: 10px; }
  .sidebar-section { display: none; }
  .dash-content { padding: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auth-body { padding: 20px; }
}

/* ── FILTER PILLS ── */
.filter-pills { display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px; }
.pill { padding:6px 14px;border:1.5px solid var(--border);border-radius:20px;background:white;cursor:pointer;font-size:12px;font-weight:600;color:var(--text2);font-family:var(--font);transition:all 0.15s; }
.pill.active,.pill:hover { background:var(--red);color:white;border-color:var(--red); }
