/* Professional Neutral Theme for Robinson Vidva Portfolio */

:root {
  --primary-dark: #0f172a;        /* Deep slate for navbar/footer */
  --secondary-dark: #1e293b;      /* Dark slate for headers */
  --primary-accent: #0891b2;      /* Professional teal accent */
  --secondary-accent: #0369a1;    /* Darker teal for hover states */
  --light-accent: #06b6d4;        /* Light teal for highlights */
  --subtle-bg: #f1f5f9;           /* Subtle gray background */
  --card-bg: #ffffff;             /* Pure white for cards */
  --border-color: #e2e8f0;        /* Light border color */
  --dark-text: #1e293b;           /* Primary text color */
  --light-text: #64748b;          /* Secondary text color */
  --white: #ffffff;
  --light-gray: #f8fafc;          /* Page background */
}

/* Typography - Standardized for all pages */
body {
  font-family: 'DM Sans', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-text);
  background-color: var(--light-gray);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global heading styles - consistent everywhere */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1, .display-4 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.65rem;
}

h3, h4, h5 {
  font-size: 1.2rem;
}

p, li {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
}

/* Navigation Bar */
.navbar-light {
  background-color: var(--white) !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--secondary-dark) !important;
}

/* Navbar Logo */
.navbar-logo {
  height: 60px;
  width: auto;
  padding: 0;
  border-radius: 8px;
  transition: transform 0.2s ease;
  margin-left: 1rem;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* Better navbar container spacing on desktop */
@media (min-width: 992px) {
  .navbar .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--secondary-dark) !important;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--primary-accent) !important;
}

.nav-link.active {
  color: var(--primary-accent) !important;
  font-weight: 600;
}

.navbar-toggler {
  border-color: var(--border-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231e293b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Header - Standardized across all pages */
header {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-accent) 100%) !important;
  color: white !important;
}

header h1, header .lead, header p {
  color: white !important;
}

header h1 {
  font-weight: 700;
  letter-spacing: -0.5px;
}


/* Cards */
.card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.15);
}

.card-title {
  color: var(--secondary-dark);
  font-weight: 600;
}

.card-subtitle {
  color: var(--light-text);
}

/* Sections - Standardized spacing */
section {
  margin-bottom: 3rem;
}

section h2 {
  color: var(--secondary-dark);
  font-weight: 700;
  margin-bottom: 1.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(to right, var(--primary-accent), var(--border-color)) 1;
}

section h3 {
  color: var(--primary-accent);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

section h4, section h5 {
  color: var(--secondary-dark);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

/* Links */
a {
  color: var(--primary-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-accent);
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-accent);
  border-color: var(--primary-accent);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-accent);
  border-color: var(--secondary-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.btn-outline-primary {
  color: var(--primary-accent);
  border-color: var(--primary-accent);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-accent);
  border-color: var(--primary-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}

/* List Groups */
.list-group-item {
  border-left: 3px solid var(--border-color);
  border-right: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--card-bg);
  transition: all 0.3s ease;
}

.list-group-item:hover {
  border-left-color: var(--primary-accent);
  background-color: var(--subtle-bg);
  transform: translateX(4px);
}

/* Container */
body > .container, div.container.my-4 {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

header .container, nav .container-fluid, .stats-bar .container {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Footer */
footer {
  background-color: var(--primary-dark) !important;
  color: var(--white) !important;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

footer p {
  color: var(--white) !important;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--light-accent) !important;
  text-decoration: none;
}

footer a:hover {
  color: var(--white) !important;
  text-decoration: underline;
}

/* Lists - Standardized formatting */
ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.75rem;
  line-height: 1.65;
  font-size: 1rem;
}

ul li strong {
  color: var(--secondary-dark);
  font-weight: 600;
}

/* Research/Publications/Certifications Lists - only apply to research-item and cert lists */
.research-item,
.cert-group ul li {
  padding: 1rem;
  background-color: var(--subtle-bg);
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--border-color);
  transition: all 0.3s ease;
}

.research-item:hover,
.cert-group ul li:hover {
  background-color: var(--card-bg);
  border-left-color: var(--primary-accent);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.1);
}

/* Research Page Specific Styles */
.research-item {
  transition: all 0.3s ease;
}

.research-item.hidden {
  display: none;
}

/* Badges for research page */
.badge, .badge-publication, .badge-presentation, .badge-patent, .badge-preprint {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
}

.badge-publication {
  background-color: #2563eb !important;
  color: white !important;
}

.badge-preprint {
  background-color: #9333ea !important;
  color: white !important;
}

.badge-presentation {
  background-color: #059669 !important;
  color: white !important;
}

.badge-patent {
  background-color: #dc2626 !important;
  color: white !important;
}

/* Secondary tags for additional classification */
.tag-secondary {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.25rem;
  background-color: #64748b;
  color: #ffffff;
  border: none;
}

.filter-buttons .btn {
  margin: 0.25rem;
  font-size: 0.9rem;
}

.author-highlight {
  background-color: #fef08a;
  font-weight: 600;
  padding: 0 2px;
  border-radius: 2px;
}

.sort-controls {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background-color: var(--subtle-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.sort-controls .toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sort-controls .filter-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sort-controls .sort-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.sort-controls .sort-select label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 0;
}

.sort-controls .form-select-sm {
  width: auto;
  min-width: 140px;
}

.sort-controls h5 {
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Skills Section - Circular Chip Layout */
.skill-category {
  margin-bottom: 2rem;
}

.skill-category h3 {
  color: var(--secondary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background-color: var(--subtle-bg);
  color: var(--secondary-dark);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
  border: 1px solid var(--border-color);
}

.skill-tag:hover {
  background-color: var(--primary-accent);
  border-color: var(--primary-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(8, 145, 178, 0.3);
}

/* Job meta line - date, location inline */
.job-meta {
  color: var(--light-text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.job-meta strong {
  color: var(--dark-text);
}

/* Work Experience emphasis */
section p em {
  color: var(--light-text);
  font-style: italic;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  color: var(--light-accent) !important;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  color: var(--white) !important;
  transform: translateY(-4px);
  text-decoration: none !important;
}

.social-icon i {
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.2);
}

/* Hero Section Enhancements */
.hero-subtitle {
  font-size: 1rem;
  opacity: 0.85;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.hero-buttons .btn {
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--secondary-dark);
  padding: 1.5rem 0;
  border-bottom: 3px solid var(--primary-accent);
}

.stats-item {
  padding: 0.75rem 0.5rem;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--light-accent);
  line-height: 1.2;
}

.stats-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Research Focus Tags */
.research-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.focus-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.focus-tag i {
  font-size: 0.8rem;
}

/* Compact Metrics Row */
.metrics-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.metric-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-accent);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-color);
}

/* Lead text - slightly larger first paragraph */
.lead-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--dark-text);
}

/* Highlight Cards - horizontal layout */
.highlight-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--subtle-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  height: 100%;
}

.highlight-card:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 2px 12px rgba(8, 145, 178, 0.1);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon i {
  font-size: 1.1rem;
  color: white;
}

.highlight-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--secondary-dark);
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--light-text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Recent Publications */
.recent-pub {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--border-color);
  margin-bottom: 0.85rem;
  transition: border-color 0.2s ease;
  font-size: 1rem;
  line-height: 1.65;
}

.recent-pub:hover {
  border-left-color: var(--primary-accent);
}

.recent-pub .badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* Article Items */
.article-item {
  padding: 1.5rem 1.75rem;
  background-color: var(--subtle-bg);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.article-item:hover {
  border-color: var(--primary-accent);
  box-shadow: 0 2px 12px rgba(8, 145, 178, 0.1);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.article-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.article-item h3 a {
  text-decoration: none;
}

.article-item h3 a:hover {
  text-decoration: underline;
}

/* Page nav buttons */
.page-nav-buttons {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Certification Provider Icons - see .cert-provider below in Certification Cards section */

/* Education Collapse Toggle */
.btn-outline-secondary {
  font-size: 0.85rem;
  color: var(--light-text);
  border-color: var(--border-color);
  transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
  color: var(--primary-accent);
  border-color: var(--primary-accent);
  background-color: transparent;
}

.education-item .collapse p {
  color: var(--light-text);
  font-size: 1rem;
}

/* Mobile navbar menu - add padding so items aren't flush left */
@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav {
    padding: 0.75rem 0 0.5rem 1rem;
  }

  .navbar-collapse .nav-link {
    padding: 0.6rem 1rem !important;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-collapse .nav-item:last-child .nav-link {
    border-bottom: none;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 1rem;
  }

  h1, .display-4 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3, h4, h5 {
    font-size: 1.1rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Hero buttons - stack vertically with proper spacing on mobile */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 !important;
  }

  .stats-number {
    font-size: 1.5rem;
  }

  .stats-label {
    font-size: 0.75rem;
  }

  .focus-tag {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
  }

  .metric-item {
    padding: 0.4rem 1rem;
  }

  .metric-number {
    font-size: 1.4rem;
  }

  .metric-divider {
    height: 24px;
  }

  .highlight-card {
    padding: 1rem;
  }

  .highlight-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .highlight-icon i {
    font-size: 1rem;
  }

  .recent-pub {
    font-size: 0.95rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-icon i {
    font-size: 1.5rem;
  }

  .skill-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .badge, .badge-publication, .badge-presentation, .badge-patent, .badge-preprint {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  .tag-secondary {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .navbar-logo {
    height: 36px;
    padding: 0;
    margin-left: 0;
  }

  /* Page nav buttons - stack on mobile */
  .page-nav-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-nav-buttons .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 !important;
  }
}

/* Stats Banner */
.stat-card {
  background-color: var(--subtle-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.15);
  border-color: var(--primary-accent);
}

.text-primary-accent {
  color: var(--primary-accent);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--light-text);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Icons */
.card-icon {
  color: var(--primary-accent);
}

/* Work Experience Timeline */
.timeline-section {
  position: relative;
  padding-left: 2rem;
}

.timeline-section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-accent), var(--border-color));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background-color: var(--primary-accent);
  border-radius: 50%;
  border: 3px solid var(--card-bg);
  box-shadow: 0 0 0 3px var(--primary-accent);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Education Collapsible */
.curriculum-toggle {
  cursor: pointer;
  color: var(--primary-accent);
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  border: none;
  background: none;
  transition: color 0.2s ease;
}

.curriculum-toggle:hover {
  color: var(--secondary-accent);
}

.curriculum-toggle i {
  transition: transform 0.3s ease;
}

.curriculum-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.curriculum-content {
  border-left: 3px solid var(--border-color);
  padding-left: 1rem;
  margin-top: 0.5rem;
}

/* Certification Cards */
.cert-group {
  margin-bottom: 2rem;
}

.cert-provider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.cert-provider-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.cert-provider-icon.coursera { background-color: #0056D2; }
.cert-provider-icon.wgu { background-color: #003057; }
.cert-provider-icon.wipo { background-color: #1a73e8; }
.cert-provider-icon.edx { background-color: #02262B; }

/* View count styles */
.view-count {
  font-size: 0.9em;
}

.site-views-footer {
  font-size: 0.85rem;
  color: var(--light-text, #64748b);
}

/* Sticky navbar shadow on scroll */
.navbar.sticky-top {
  z-index: 1030;
}

/* PDF Viewer Styles */
.pdf-container {
  margin-top: 1rem;
}

.pdf-viewer-wrapper {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--subtle-bg);
}

.pdf-viewer {
  width: 100%;
  height: 800px;
  border: none;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-accent);
  color: white;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-accent);
  transform: translateY(-2px);
}

/* Research Search */
.search-input {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.4rem 0.75rem 0.4rem 2.2rem;
  font-size: 0.9rem;
  width: 100%;
  max-width: 260px;
  transition: border-color 0.2s ease;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.65rem center;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-accent);
}

@media (max-width: 768px) {
  .search-input {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Hide embedded PDF on mobile - most mobile browsers (especially Safari) can't render it well */
  .pdf-viewer-wrapper {
    display: none !important;
  }

  .pdf-container .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 0.75rem auto;
  }

  .pdf-container .btn.ms-2 {
    margin-left: auto !important;
  }

  .pdf-container #pdf-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}
