/* ====================================
   EXCELHUB - COMPLETE DESIGN SYSTEM
   Fully Responsive: Mobile + Desktop
======================================= */

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

/* --- CSS Variables --- */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: rgba(37, 99, 235, 0.1);
  --accent: #10B981;
  --accent-hover: #059669;
  --danger: #EF4444;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFF;
  --surface: #F1F5F9;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-primary: 0 8px 24px rgba(37, 99, 235, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.25s ease;
  --header-height: 70px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* --- Typography --- */
h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.25rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

/* --- Material Icons --- */
.material-symbols-outlined {
  font-size: 1.25em;
  vertical-align: middle;
  line-height: 1;
}

/* ==============================
   HEADER / NAVIGATION
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo .logo-icon { color: var(--primary); }
.logo .logo-accent { color: var(--primary); }

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.3rem 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  animation: slideDown 0.25s ease;
}
.mobile-nav.open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.mobile-nav a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Hide/show based on screen */
@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
}
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .header .nav-links, .header .btn { display: none; }
}

/* ==============================
   HERO SECTION
================================ */
.hero {
  padding: 5rem 0 4rem;
  background: var(--bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.4rem; }
}

/* ==============================
   CATEGORIES
================================ */
.categories-section {
  padding: 3rem 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.category-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: var(--primary);
  color: var(--white);
}
.category-name { font-weight: 700; font-size: 0.9rem; }
.category-count { font-size: 0.78rem; color: var(--text-muted); }

/* ==============================
   TEMPLATES GRID
================================ */
.templates-section {
  padding: 3rem 0 5rem;
  background: var(--bg-alt);
}

.templates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .templates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .templates-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .templates-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.template-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.template-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.template-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface);
}
.thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}

.template-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.template-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.template-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  color: var(--text);
}
.template-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.template-actions { margin-top: auto; }

/* ==============================
   AD PLACEHOLDERS
================================ */
.ad-block {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin: 1.5rem 0;
}

/* ==============================
   LOADING / STATES
================================ */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
}
.empty-state .empty-icon {
  font-size: 4rem;
  color: var(--border);
  margin-bottom: 1rem;
}

/* ==============================
   FOOTER
================================ */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-logo .logo-accent { color: var(--primary); }
.footer p { font-size: 0.875rem; line-height: 1.7; }
.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
}

/* ==============================
   PAGE LAYOUTS
================================ */
.page-container {
  min-height: calc(100vh - var(--header-height));
  padding: 2.5rem 0 4rem;
}

/* ==============================
   FILE DETAILS PAGE
================================ */
.file-details-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .file-details-layout { grid-template-columns: 1fr 360px; align-items: start; }
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.details-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
}

/* ==============================
   DOWNLOAD / WAIT PAGES
================================ */
.centered-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-alt);
}
.centered-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .centered-card { padding: 3rem 2.5rem; }
}

/* Timer */
.timer-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}
.timer-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.timer-ring .track {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}
.timer-ring .progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}
.timer-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

/* ==============================
   ADMIN PANEL
================================ */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #0F172A;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 0.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .admin-logo {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}
.admin-sidebar .admin-logo .logo-accent { color: var(--primary); }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(37,99,235,0.2);
  color: var(--white);
}
.admin-nav-item .material-symbols-outlined { font-size: 1.1rem; }

.admin-main {
  flex: 1;
  background: var(--bg-alt);
  overflow-x: hidden;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-content { padding: 1.5rem; }
@media (min-width: 768px) { .admin-content { padding: 2rem; } }

/* Mobile admin sidebar */
@media (max-width: 767px) {
  .admin-sidebar { 
    width: 64px; 
    padding: 1rem 0.5rem;
  }
  .admin-sidebar .admin-logo span,
  .admin-sidebar .admin-logo img { display: none; }
  .admin-sidebar .admin-logo::after { 
    content: 'IB'; 
    font-size: 0.9rem; 
    font-weight: 900; 
    color: var(--white);
  }
  .admin-nav-item span:not(.material-symbols-outlined) { display: none; }
  .admin-nav-item { justify-content: center; padding: 0.7rem; }
  .admin-sidebar .admin-logo { justify-content: center; margin-bottom: 1rem; gap: 0 !important; }
}

/* Table */
.data-table-wrap { 
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 0.9rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 1rem 1.1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-alt); }

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 1rem;
}
.btn-icon-primary { background: var(--primary-light); color: var(--primary); }
.btn-icon-danger { background: #FEE2E2; color: var(--danger); }
.btn-icon:hover { opacity: 0.8; transform: scale(1.05); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { 
  display: block;
  font-weight: 600; 
  font-size: 0.875rem; 
  margin-bottom: 0.45rem; 
  color: var(--text);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-textarea { min-height: 110px; resize: vertical; }

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-alt);
  min-height: 0;
  overflow: hidden;
}
.upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.upload-zone input[type="file"] { display: none; }
.upload-zone .upload-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.upload-zone p { font-size: 0.75rem; color: var(--text-muted); word-break: break-all; }
.upload-zone .file-chosen { 
  font-size: 0.7rem; 
  color: var(--primary); 
  font-weight: 600;
  margin-top: 0.2rem;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .upload-zone { padding: 1.5rem; }
  .upload-zone .upload-icon { font-size: 1.75rem; margin-bottom: 0.4rem; }
  .upload-zone p { font-size: 0.8rem; }
  .upload-zone .file-chosen { font-size: 0.75rem; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 700px;
}

.status-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
.status-success { background: #DCFCE7; color: #166534; display: block; }
.status-error { background: #FEE2E2; color: #991B1B; display: block; }

/* ==============================
   UTILITIES
================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ==============================
   COOKIE BANNER
================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
@media (min-width: 768px) {
  .cookie-content { flex-direction: row; text-align: left; justify-content: space-between; }
}

/* ==============================
   MOBILE RESPONSIVENESS FIXES
================================ */
@media (max-width: 480px) {
  .centered-card { padding: 1.5rem 1rem; }
  .form-card { padding: 1.25rem; }
  .file-details-layout { gap: 1rem; }
  .admin-content { padding: 1rem; }
  .hero { padding: 2rem 0 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { gap: 1.5rem; }
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table th, .data-table td { padding: 0.75rem 0.5rem; font-size: 0.8rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
  #pricing-fields > div { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
}
