/* ==========================================================================
   IFX-LABS & RESUMEMAKER PORTAL STYLESHEET
   Calm, eye-friendly, professional, high-contrast dark aesthetic
   Matching IFX LABS purple brand (#7c3aed, #6366f1) and Resumaker.ai dashboard
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #151f38;
  --bg-card: rgba(21, 31, 56, 0.7);
  --bg-card-hover: rgba(28, 42, 75, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(124, 58, 237, 0.5);
  
  --brand-purple: #7c3aed;
  --brand-purple-light: #9061f9;
  --brand-purple-dark: #5b21b6;
  --brand-indigo: #6366f1;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-cyan: #06b6d4;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-rose: #f43f5e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0f172a;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.3);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-y: scroll; /* Ensures scrollbar is always visible */
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-y: auto !important;
  overflow-x: hidden;
}

/* ==========================================================================
   GLOBAL VISIBLE SCROLLBAR (Cross-browser, high contrast, smooth)
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #4c1d95;
  background: linear-gradient(180deg, #7c3aed 0%, #4f46e5 100%);
  border-radius: 6px;
  border: 2px solid #090d16;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9061f9 0%, #6366f1 100%);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #7c3aed #090d16;
}

/* In light mode / Resumes dashboard */
body.resumes-mode {
  background-color: #f8fafc;
  scrollbar-color: #94a3b8 #f1f5f9;
}

body.resumes-mode::-webkit-scrollbar-track {
  background: #f1f5f9;
}

body.resumes-mode::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border: 2px solid #f1f5f9;
}

/* Base View Visibility */
.spa-view {
  display: none;
  width: 100%;
  min-height: 100vh;
}

.spa-view.active {
  display: block;
}

/* Navigation Bar */
.portal-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.portal-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}

.portal-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
}

.portal-brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portal-brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-purple-light);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.portal-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.portal-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-nav-link:hover {
  color: #ffffff;
}

.portal-nav-link.active {
  color: var(--brand-purple-light);
}

.portal-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Primary Button Styles */
.btn-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-portal-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.btn-portal-primary:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #4f46e5 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-portal-outline,
a.btn-portal-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-portal-outline:hover,
a.btn-portal-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-portal-accent {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-portal-accent:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(99, 102, 241, 0.1) 40%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Dual Primary Action Section */
.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto 3.5rem;
  text-align: left;
}

.cta-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.cta-card-resume::before {
  background: linear-gradient(90deg, #7c3aed, #6366f1);
}

.cta-card-login::before {
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.cta-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(124, 58, 237, 0.2);
}

.cta-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.cta-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cta-card-resume .cta-icon-box {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.cta-card-login .cta-icon-box {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.cta-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

.cta-card-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-transform: uppercase;
}

.cta-card-resume .cta-card-badge {
  background: rgba(124, 58, 237, 0.25);
  color: #ddd6fe;
}

.cta-card-login .cta-card-badge {
  background: rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
}

.cta-card-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cta-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.cta-card-resume .cta-card-action {
  color: var(--brand-purple-light);
}

.cta-card-login .cta-card-action {
  color: #60a5fa;
}

/* Trust Stats Bar */
.trust-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 950px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Headings */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-purple-light);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Product Showcase Cards */
.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}

.product-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.product-feature-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.product-feature-card.reverse .product-media-col {
  order: 1;
}

.product-feature-card.reverse .product-info-col {
  order: 2;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-pill.tuition {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.product-pill.pos {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.product-pill.rentacar {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.product-pill.resume {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.product-card-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.product-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Feature Bullets List */
.feature-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--brand-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check-item.green .feature-check-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.feature-check-text strong {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-check-text p {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 2px;
}

/* Flyer Pricing Highlight Box */
.flyer-pricing-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pricing-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
}

.price-old {
  font-size: 0.95rem;
  color: #ef4444;
  text-decoration: line-through;
}

.pricing-extra {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.product-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Media Mockup Columns */
.product-media-col {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background: #000000;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-media-col:hover .product-img {
  transform: scale(1.02);
}

.media-zoom-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Software Pitch Banner */
.custom-pitch-banner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 1100px;
  margin: 2rem auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.custom-pitch-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.custom-pitch-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 750px;
  margin: 0 auto 2rem;
}

/* Footer */
.portal-footer {
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESUMES DASHBOARD (Matches https://resumaker.ai/app/resumes/ precisely)
   ========================================================================== */

.resumes-dashboard-view {
  background: #f8fafc;
  color: #1e293b;
  min-height: 100vh;
}

/* Clean Dashboard Header */
.dashboard-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}

.dashboard-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.dashboard-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: -0.3px;
}

.dashboard-brand-name span {
  color: #2563eb;
}

.btn-signout-outline {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #3b82f6;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-signout-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Dashboard Container */
.dashboard-main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 3.5rem;
}

/* Dashboard Title Bar */
.dashboard-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.dashboard-page-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.btn-create-new-resume {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-create-new-resume:hover {
  background: #1d4ed8;
}

/* Filter Navigation Tabs */
.dashboard-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.dashboard-tab-pill {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #64748b;
  transition: all 0.2s ease;
}

.dashboard-tab-pill.active {
  background: #dbeafe;
  color: #1d4ed8;
}

.dashboard-tab-pill:hover:not(.active) {
  background: #f1f5f9;
  color: #1e293b;
}

/* Dedicated Guest Sign-In Screen on /resumes */
.dashboard-guest-card {
  max-width: 520px;
  margin: 3rem auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  text-align: center;
}

.guest-card-header {
  margin-bottom: 2rem;
}

.guest-card-badge {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.guest-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin-bottom: 0.5rem;
}

.guest-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
  max-width: 420px;
  margin: 0 auto;
}

.guest-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn-guest-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-guest-google {
  background: #ffffff;
  color: #1e293b;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-guest-google:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-guest-facebook {
  background: #1877F2;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.btn-guest-facebook:hover {
  background: #166fe5;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
  transform: translateY(-1px);
}

.btn-guest-email {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

.btn-guest-email:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-guest-sso {
  background: #faf5ff;
  color: #7c3aed;
  border-color: #e9d5ff;
}

.btn-guest-sso:hover {
  background: #f3e8ff;
  border-color: #d8b4fe;
  transform: translateY(-1px);
}

.guest-card-footer {
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.btn-guest-offline {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.btn-guest-offline:hover {
  color: #1d4ed8;
}

/* Document Cards Grid */
.dashboard-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 3rem 2.5rem;
}

/* Single Resume Card */
.doc-card-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
}

/* Thumbnail Column */
.doc-thumbnail-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  flex-shrink: 0;
}

.doc-paper-thumbnail {
  width: 200px;
  height: 275px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-paper-thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Mini Rendered Resume Elements inside Paper Thumbnail */
.mini-header {
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #cbd5e1;
}

.mini-name-title {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mini-name {
  font-size: 8.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-title {
  font-size: 6.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-body {
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6px;
  font-size: 5.5px;
  color: #475569;
  line-height: 1.35;
}

.mini-col-side {
  border-right: 1px solid #f1f5f9;
  padding-right: 4px;
}

.mini-section-label {
  font-size: 6px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 4px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.mini-bar {
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-bottom: 3px;
  width: 90%;
}

.mini-bar.dark {
  background: #94a3b8;
  width: 75%;
}

.mini-updated-date {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
}

/* Actions Column (4 Vertical Actions: Edit, Download, Duplicate, Delete) */
.doc-actions-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.doc-action-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2563eb;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.doc-action-item:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

.doc-action-icon {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
}

.doc-action-item:hover .doc-action-icon {
  color: #1d4ed8;
}

/* Lightbox Modal for Flyer */
.flyer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.flyer-modal.active {
  display: flex;
}

.flyer-modal-content {
  position: relative;
  max-width: 600px;
  max-height: 90vh;
}

.flyer-modal-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.flyer-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .product-feature-card,
  .product-feature-card.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .product-feature-card.reverse .product-media-col {
    order: 2;
  }
  .product-feature-card.reverse .product-info-col {
    order: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portal-nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .portal-navbar {
    padding: 0.75rem 1rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-cta-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-topbar {
    padding: 0.85rem 1.25rem;
  }
  .dashboard-main-container {
    padding: 1.5rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
