/* ============================================
   NetaJobs — Design System
   Modern dark theme with glassmorphism
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =====================
   CSS Custom Properties
   ===================== */
:root {
  /* Colors — Navy + Orange (matching NetaJobs logo) */
  --bg-primary: #0b1120;
  --bg-secondary: #101a2e;
  --bg-card: rgba(16, 26, 46, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --bg-input: rgba(255, 255, 255, 0.06);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0b1120;

  --accent: #e87722;
  --accent-hover: #f59035;
  --accent-glow: rgba(232, 119, 34, 0.3);
  --accent-gradient: linear-gradient(135deg, #e87722 0%, #f5a623 100%);
  --accent-gradient-hover: linear-gradient(135deg, #f59035 0%, #ffc040 100%);

  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info: #2d6faa;
  --info-bg: rgba(27, 58, 92, 0.15);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(232, 119, 34, 0.3);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  --font-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(232, 119, 34, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* =====================
   Reset & Base
   ===================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(27, 58, 92, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 119, 34, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(27, 58, 92, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

/* =====================
   Container
   ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* =====================
   Navigation
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-lg);
}

.nav-logo .logo-highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-links a {
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-user-name {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-user-role {
  font-size: var(--font-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-user-role.role-admin {
  background: var(--danger-bg);
  color: var(--danger);
}

.nav-user-role.role-recruiter {
  background: var(--warning-bg);
  color: var(--warning);
}

.nav-user-role.role-user {
  background: var(--info-bg);
  color: var(--info);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(232, 119, 34, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 20px rgba(232, 119, 34, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(232, 119, 34, 0.3);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover:not(:disabled) {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #dc2626;
  transform: translateY(-1px);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-xs);
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-base);
  border-radius: var(--radius-xl);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* =====================
   Cards
   ===================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.card-elevated {
  box-shadow: var(--shadow-md);
}

.card-elevated:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-subtitle {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

.card-body {
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.7;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* =====================
   Job Cards
   ===================== */
.job-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.job-card:hover::before {
  opacity: 1;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

.job-tag svg {
  width: 14px;
  height: 14px;
}

.job-type {
  font-size: var(--font-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: capitalize;
}

.job-type.full-time {
  background: var(--success-bg);
  color: var(--success);
}

.job-type.part-time {
  background: var(--info-bg);
  color: var(--info);
}

.job-type.remote {
  background: rgba(27, 58, 92, 0.2);
  color: #5a9fd4;
}

.job-type.contract {
  background: var(--warning-bg);
  color: var(--warning);
}

.job-type.internship {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.job-salary {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--success);
}

/* =====================
   Forms
   ===================== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-base);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-error {
  font-size: var(--font-xs);
  color: var(--danger);
  margin-top: var(--space-1);
}

.form-hint {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* =====================
   Auth Pages Layout
   ===================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  padding-top: calc(var(--nav-height) + var(--space-8));
}

.auth-card {
  width: 100%;
  max-width: 440px;
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-header h1 {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.auth-header p {
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.auth-footer a {
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--text-muted);
  font-size: var(--font-sm);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =====================
   Hero Section
   ===================== */
.hero {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: var(--font-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: var(--font-3xl);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* =====================
   Search Bar
   ===================== */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  padding: var(--space-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
}

.search-bar .search-input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-base);
  outline: none;
}

.search-bar .search-input::placeholder {
  color: var(--text-muted);
}

.search-bar .btn {
  border-radius: var(--radius-xl);
}

/* =====================
   Filter Bar
   ===================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-family);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* =====================
   Job Grid
   ===================== */
.jobs-section {
  padding: var(--space-8) 0 var(--space-16);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: var(--font-2xl);
  font-weight: 700;
}

.section-count {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--space-6);
}

.jobs-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16) var(--space-6);
  color: var(--text-muted);
}

.jobs-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-4);
  opacity: 0.3;
}

.jobs-empty h3 {
  font-size: var(--font-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

/* =====================
   Admin Dashboard
   ===================== */
.dashboard {
  padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-16);
}

.dashboard-header {
  margin-bottom: var(--space-8);
}

.dashboard-header h1 {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.dashboard-header p {
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--font-xl);
}

.stat-card .stat-value {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin-bottom: var(--space-1);
}

.stat-card .stat-label {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

/* Tabs */
.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
  overflow-x: auto;
}

.tab-btn {
  padding: var(--space-3) var(--space-5);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* =====================
   Data Table
   ===================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  position: sticky;
  top: 0;
}

.data-table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: var(--space-4);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--bg-glass);
}

/* =====================
   Status Badges
   ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: capitalize;
}

.badge-pending {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-approved {
  background: var(--success-bg);
  color: var(--success);
}

.badge-rejected {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-admin {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-recruiter {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-user {
  background: var(--info-bg);
  color: var(--info);
}

/* =====================
   Toast Notifications
   ===================== */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-4));
  right: var(--space-4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 300px;
  max-width: 420px;
  animation: slideIn 0.3s ease;
  backdrop-filter: blur(20px);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.toast-message {
  flex: 1;
  font-size: var(--font-sm);
  color: var(--text-primary);
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-1);
  font-size: var(--font-lg);
  line-height: 1;
}

.toast.toast-success {
  border-left: 3px solid var(--success);
}

.toast.toast-error {
  border-left: 3px solid var(--danger);
}

.toast.toast-warning {
  border-left: 3px solid var(--warning);
}

.toast.toast-info {
  border-left: 3px solid var(--info);
}

/* =====================
   Loading / Spinner
   ===================== */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  gap: var(--space-4);
  color: var(--text-muted);
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* =====================
   Job Detail Page
   ===================== */
.job-detail {
  padding: calc(var(--nav-height) + var(--space-8)) 0 var(--space-16);
}

.job-detail-card {
  max-width: 800px;
  margin: 0 auto;
}

.job-detail-header {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.job-detail-header h1 {
  font-size: var(--font-3xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.job-detail-company {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  font-weight: 500;
}

.job-detail-section {
  margin-bottom: var(--space-6);
}

.job-detail-section h2 {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.job-detail-section p,
.job-detail-section ul {
  color: var(--text-secondary);
  line-height: 1.8;
}

.job-detail-section ul {
  padding-left: var(--space-5);
  list-style: disc;
}

.job-detail-section ul li {
  margin-bottom: var(--space-2);
}

.job-detail-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* =====================
   Footer
   ===================== */
.footer {
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.5);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-brand {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.footer-brand a {
  color: var(--accent);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  font-size: var(--font-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* =====================
   Modals
   ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.modal-title {
  font-size: var(--font-xl);
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--font-xl);
  padding: var(--space-1);
}

/* =====================
   Animations
   ===================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-in-delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-in-delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

/* =====================
   Utility Classes
   ===================== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--text-muted);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-warning {
  color: var(--warning);
}

.text-accent {
  color: var(--accent);
}

.font-bold {
  font-weight: 700;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.gap-4 {
  gap: var(--space-4);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: var(--font-4xl);
  }

  .jobs-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Mobile Nav Overlay Backdrop */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.visible {
  display: block;
  opacity: 1;
}

/* Body scroll lock when mobile nav is open */
body.mobile-nav-active {
  overflow: hidden;
}

@keyframes mobileNavSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileNavLinkFadeIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile Menu Wrapper - contains cloned nav links + actions */
.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  animation: mobileNavSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile menu items inside wrapper */
  .nav-links.mobile-open,
  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-2);
  }

  .nav-links.mobile-open {
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
  }

  .nav-actions.mobile-open {
    padding-top: var(--space-3);
  }

  .nav-links.mobile-open a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--font-base);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    opacity: 0;
    animation: mobileNavLinkFadeIn 0.3s ease forwards;
  }

  .nav-links.mobile-open a:nth-child(1) {
    animation-delay: 0.05s;
  }

  .nav-links.mobile-open a:nth-child(2) {
    animation-delay: 0.1s;
  }

  .nav-links.mobile-open a:nth-child(3) {
    animation-delay: 0.15s;
  }

  .nav-links.mobile-open a:nth-child(4) {
    animation-delay: 0.2s;
  }

  .nav-links.mobile-open a:nth-child(5) {
    animation-delay: 0.25s;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a.active {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
  }

  .nav-actions.mobile-open .nav-user {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    width: 100%;
  }

  .nav-actions.mobile-open .btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-base);
    border-radius: var(--radius-lg);
  }

  .hero h1 {
    font-size: var(--font-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-base);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: var(--space-6);
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-xl);
  }

  .search-bar .btn {
    width: 100%;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .job-detail-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --font-5xl: 2.25rem;
    --font-4xl: 1.875rem;
    --font-3xl: 1.5rem;
  }

  .container {
    padding: 0 var(--space-4);
  }

  .card {
    padding: var(--space-4);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* =====================
   Beta Popup
   ===================== */
.beta-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.beta-popup-overlay.closing {
  animation: fadeOut 0.25s ease forwards;
}

.beta-popup {
  background: var(--bg-card);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(232, 119, 34, 0.1);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.beta-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.beta-popup-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
}

.beta-popup h2 {
  font-size: var(--font-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.beta-popup p {
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.beta-popup .beta-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

/* =====================
   Floating Issue Button
   ===================== */
.float-issue-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 119, 34, 0.4);
  z-index: 5000;
  transition: all var(--transition-base);
  animation: floatPulse 3s ease-in-out infinite;
}

.float-issue-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 119, 34, 0.5);
}

.float-issue-btn:active {
  transform: scale(0.95);
}

.float-issue-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* =====================
   Issue Report Modal
   ===================== */
.issue-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 6000;
  animation: fadeIn 0.2s ease;
}

.issue-modal-overlay.closing {
  animation: fadeOut 0.2s ease forwards;
}

.issue-modal {
  background: var(--bg-card);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 320px;
  max-width: 90vw;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.issue-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.issue-modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: var(--font-xl);
  line-height: 1;
  padding: var(--space-1);
  transition: color var(--transition-fast);
}

.issue-modal-close:hover {
  color: var(--text-primary);
}

.issue-modal-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: block;
}

.issue-modal h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.issue-modal p {
  color: var(--text-secondary);
  font-size: var(--font-sm);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.issue-modal .btn {
  width: 100%;
}

/* =====================
   Animations (Beta / Issue)
   ===================== */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(232, 119, 34, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(232, 119, 34, 0.6);
  }
}

/* =====================
   Responsive — Beta / Issue / Forms
   ===================== */

/* =====================
   Back-to-Top Button
   ===================== */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(232, 119, 34, 0.4);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =====================
   Skeleton Loading Cards
   ===================== */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  overflow: hidden;
}

.skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255, 255, 255, 0.08) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: var(--space-3);
}

.skeleton-line.w-60 {
  width: 60%;
}

.skeleton-line.w-40 {
  width: 40%;
}

.skeleton-line.w-80 {
  width: 80%;
}

.skeleton-line.w-100 {
  width: 100%;
}

.skeleton-line.h-8 {
  height: 8px;
}

.skeleton-line.h-20 {
  height: 20px;
}

.skeleton-line.h-24 {
  height: 24px;
  margin-bottom: var(--space-4);
}

.skeleton-row {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.skeleton-chip {
  height: 26px;
  width: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255, 255, 255, 0.08) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* =====================
   Share Job Button
   ===================== */
.share-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-share:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-share svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-share.copied {
  border-color: var(--success);
  color: var(--success);
}

/* =====================
   Password Strength Meter
   ===================== */
.password-strength {
  margin-top: var(--space-2);
}

.strength-bar-track {
  width: 100%;
  height: 4px;
  background: var(--bg-glass);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.strength-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease, background 0.3s ease;
  width: 0%;
}

.strength-bar-fill.strength-weak {
  width: 25%;
  background: var(--danger);
}

.strength-bar-fill.strength-fair {
  width: 50%;
  background: var(--warning);
}

.strength-bar-fill.strength-good {
  width: 75%;
  background: var(--info);
}

.strength-bar-fill.strength-strong {
  width: 100%;
  background: var(--success);
}

.strength-label {
  font-size: var(--font-xs);
  font-weight: 500;
  transition: color 0.3s ease;
  color: var(--text-muted);
}

.strength-label.strength-weak {
  color: var(--danger);
}

.strength-label.strength-fair {
  color: var(--warning);
}

.strength-label.strength-good {
  color: var(--info);
}

.strength-label.strength-strong {
  color: var(--success);
}

/* =====================
   Pagination
   ===================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background: var(--bg-glass-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.pagination-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 2px 10px rgba(232, 119, 34, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

.pagination-info {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin: 0 var(--space-3);
}

/* =====================
   Responsive — Beta / Issue / Forms
   ===================== */
@media (max-width: 768px) {
  .beta-popup {
    padding: var(--space-6);
    max-width: 340px;
    width: 92%;
  }

  .beta-popup h2 {
    font-size: var(--font-xl);
  }

  .beta-popup-icon {
    font-size: 2.5rem;
  }

  .float-issue-btn {
    width: 44px;
    height: 44px;
    right: 1rem;
    bottom: 1rem;
  }

  .float-issue-btn svg {
    width: 20px;
    height: 20px;
  }

  .issue-modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  .issue-modal {
    width: 100%;
    max-width: 340px;
  }

  /* Post-job 2-column grids → single column */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .beta-popup {
    padding: var(--space-5);
    max-width: 300px;
  }

  .auth-card {
    padding: var(--space-4);
  }

  .auth-header h1 {
    font-size: var(--font-2xl);
  }
}