/* SearchWith.app / SearchWith.site - Gemini Themed Start Page */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&family=Google+Sans+Text:wght@400;500&display=swap');

:root {
  --bg-dark: #0e0f12;
  --bg-dark-mesh: radial-gradient(circle at 50% -20%, #1e1f2b 0%, #0e0f12 70%);
  --surface-card: rgba(26, 27, 33, 0.72);
  --surface-card-hover: rgba(38, 40, 48, 0.9);
  --surface-input: rgba(18, 19, 23, 0.85);
  --surface-pill: rgba(255, 255, 255, 0.06);
  --surface-pill-hover: rgba(255, 255, 255, 0.12);
  --surface-pill-active: rgba(138, 180, 248, 0.16);

  --text-primary: #f1f3f4;
  --text-secondary: #9aa0a6;
  --text-muted: #6e737a;
  --text-accent: #8ab4f8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-focus: rgba(138, 180, 248, 0.6);

  --gemini-gradient: linear-gradient(135deg, #7da5fb 0%, #b388ff 45%, #f48fb1 100%);
  --gemini-glow: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(66, 133, 244, 0.38) 0%, rgba(155, 114, 207, 0.28) 42%, rgba(217, 101, 112, 0.16) 72%, transparent 100%);
  --gemini-glow-active: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(66, 133, 244, 0.55) 0%, rgba(155, 114, 207, 0.42) 42%, rgba(217, 101, 112, 0.24) 72%, transparent 100%);

  --radius-full: 9999px;
  --radius-3xl: 28px;
  --radius-2xl: 20px;
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;

  --shadow-ambient: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-tile: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-tile-hover: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(138, 180, 248, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Google Sans', 'Google Sans Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  background-image: var(--bg-dark-mesh);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(14, 15, 18, 0.4);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* App Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 18, 0.65);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(155, 114, 207, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-sparkle {
  background: var(--gemini-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

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

.brand-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title-gradient {
  background: var(--gemini-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-domain-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-accent);
  background: rgba(138, 180, 248, 0.12);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(138, 180, 248, 0.24);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.datetime-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.new-tab-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  user-select: none;
}

.new-tab-toggle:hover {
  background: var(--surface-pill-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.toggle-checkbox {
  accent-color: var(--text-accent);
  cursor: pointer;
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(138, 180, 248, 0.1);
  border: 1px solid rgba(138, 180, 248, 0.2);
  color: var(--text-accent);
  margin-bottom: 12px;
}

.hero-heading {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-subheading {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* Input Area with Soft Glow */
.input-hub-container {
  position: relative;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
}

/* Atmospheric Soft Glow Element */
.ambient-soft-glow {
  position: absolute;
  top: -36px;
  left: -36px;
  right: -36px;
  bottom: -36px;
  background: var(--gemini-glow);
  filter: blur(50px);
  opacity: 0.85;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.4s ease;
}

.input-hub-container:focus-within .ambient-soft-glow {
  opacity: 1;
  transform: scale(1.04);
  background: var(--gemini-glow-active);
  filter: blur(55px);
}

/* Input Card Shell */
.input-glass-card {
  position: relative;
  z-index: 2;
  background: var(--surface-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-ambient);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-hub-container:focus-within .input-glass-card {
  border-color: rgba(138, 180, 248, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 20px rgba(66, 133, 244, 0.15);
}

/* Dual Input Row */
.inputs-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Search Query Box (No autocomplete) */
.query-box-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--surface-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 18px;
  transition: all 0.25s ease;
  min-height: 52px;
}

.query-box-wrapper:focus-within {
  border-color: var(--border-focus);
  background: rgba(14, 15, 19, 0.95);
  box-shadow: 0 0 0 2px rgba(138, 180, 248, 0.2);
}

.query-icon {
  font-size: 18px;
  color: var(--text-muted);
  margin-right: 12px;
  user-select: none;
  display: flex;
  align-items: center;
}

.search-query-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-primary);
  width: 100%;
}

.search-query-input::placeholder {
  color: var(--text-muted);
  font-size: 15px;
}

.query-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-full);
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.query-clear-btn:hover {
  color: var(--text-primary);
}

.query-clear-btn.visible {
  display: flex;
}

/* Contact Autocomplete Selector */
.contact-selector-wrapper {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.contact-selector-input-box {
  display: flex;
  align-items: center;
  background: var(--surface-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  height: 52px;
  transition: all 0.25s ease;
}

.contact-selector-input-box:focus-within {
  border-color: rgba(155, 114, 207, 0.6);
  background: rgba(14, 15, 19, 0.95);
  box-shadow: 0 0 0 2px rgba(155, 114, 207, 0.2);
}

.selected-contact-preview {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-md);
  margin-right: 8px;
  flex-shrink: 0;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px;
}

.contact-autocomplete-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  width: 100%;
}

.contact-autocomplete-input::placeholder {
  color: var(--text-muted);
  font-size: 13px;
}

.contact-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.contact-clear-btn:hover {
  color: var(--text-primary);
}

.contact-clear-btn.visible {
  display: flex;
}

.contact-dropdown-icon {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
  pointer-events: none;
}

/* Autocomplete Suggestions Menu */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(22, 23, 28, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-2xl);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
}

.autocomplete-dropdown.open {
  display: flex;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.18s ease;
  user-select: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
  background: rgba(138, 180, 248, 0.14);
}

.autocomplete-item.active {
  background: rgba(155, 114, 207, 0.2);
  border: 1px solid rgba(155, 114, 207, 0.3);
}

.autocomplete-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.autocomplete-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.autocomplete-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-category {
  font-size: 11px;
  color: var(--text-muted);
}

.autocomplete-badge {
  font-size: 11px;
  color: var(--text-accent);
  background: rgba(138, 180, 248, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Action Bar below inputs */
.input-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.status-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-active-contact {
  color: var(--text-accent);
  font-weight: 500;
}

.status-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-submit-btn {
  background: var(--gemini-gradient);
  border: none;
  border-radius: var(--radius-full);
  color: #101114;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.search-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(125, 165, 251, 0.4);
}

.search-submit-btn:active {
  transform: translateY(0);
}

/* Scrollable Tab View Section */
.tab-view-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Category Tabs Strip */
/* Contacts Header Bar with Tabs, Scroll Arrows, and Contact Search */
.contacts-header-bar {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(14, 15, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.tabs-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.tabs-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  user-select: none;
}

.tabs-arrow-btn:hover:not(:disabled) {
  background: var(--surface-pill-hover);
  color: #ffffff;
  border-color: var(--border-hover);
  transform: scale(1.08);
}

.tabs-arrow-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.tabs-arrow-btn:disabled,
.tabs-arrow-btn.disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.category-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  flex: 1;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.contacts-header-bar .contact-selector-wrapper {
  position: relative;
  width: 250px;
  flex-shrink: 0;
}

.contacts-header-bar .contact-selector-input-box {
  display: flex;
  align-items: center;
  background: var(--surface-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px 14px;
  height: 40px;
  gap: 8px;
  transition: all 0.25s ease;
}

.contacts-header-bar .contact-selector-input-box:focus-within {
  border-color: rgba(138, 180, 248, 0.6);
  background: rgba(14, 15, 19, 0.95);
  box-shadow: 0 0 0 2px rgba(138, 180, 248, 0.2);
}

.contact-filter-icon {
  font-size: 13px;
  color: var(--text-accent);
  display: flex;
  align-items: center;
  user-select: none;
}

.category-tab-btn {
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.category-tab-btn:hover {
  background: var(--surface-pill-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.category-tab-btn.active {
  background: var(--surface-pill-active);
  color: #ffffff;
  border-color: rgba(138, 180, 248, 0.4);
  box-shadow: 0 0 12px rgba(138, 180, 248, 0.15);
}

.tab-count-badge {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.category-tab-btn.active .tab-count-badge {
  background: rgba(138, 180, 248, 0.25);
  color: var(--text-accent);
}

/* Scrollable Container with Categorized Sections */
.contacts-scrollable-container {
  max-height: 720px;
  overflow-y: auto;
  padding: 10px 4px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  scroll-behavior: smooth;
}

/* Category Section */
.category-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-section.hidden {
  display: none;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Flowing Tiles Grid */
.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* Contact Tile Card */
.contact-tile {
  position: relative;
  background: var(--surface-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.25s cubic-bezier(0.2, 0, 0, 1),
              border-color 0.25s ease,
              background 0.25s ease;
  user-select: none;
  box-shadow: var(--shadow-tile);
}

.contact-tile:hover {
  transform: translateY(-3px);
  background: var(--surface-card-hover);
  border-color: rgba(138, 180, 248, 0.4);
  box-shadow: var(--shadow-tile-hover);
}

.contact-tile.selected {
  border-color: rgba(155, 114, 207, 0.7);
  box-shadow: 0 0 0 2px rgba(155, 114, 207, 0.3), 0 8px 24px rgba(0, 0, 0, 0.45);
  background: rgba(35, 36, 44, 0.95);
}

.tile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tile-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tile-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-tile:hover .tile-icon {
  transform: scale(1.06);
}

.tile-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tile-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-category-tag {
  font-size: 11px;
  color: var(--text-muted);
}

.tile-pin-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tile-pin-btn:hover {
  color: #fbbc04;
  transform: scale(1.15);
}

.tile-pin-btn.pinned {
  color: #fbbc04;
}

/* Tile Action Preview (Live search as you type) */
.tile-action-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-lg);
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}

.contact-tile:hover .tile-action-preview {
  background: rgba(138, 180, 248, 0.1);
  color: var(--text-primary);
  border-color: rgba(138, 180, 248, 0.2);
}

.action-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.action-arrow {
  font-size: 13px;
  color: var(--text-accent);
  margin-left: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.contact-tile:hover .action-arrow {
  transform: translate(2px, -2px);
}

/* Empty State / No Match */
.empty-results {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-subtle);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-results.visible {
  display: flex;
}

.empty-icon {
  font-size: 42px;
  opacity: 0.6;
}

.empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.empty-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
}

.reset-filter-btn {
  background: var(--surface-pill);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-accent);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.reset-filter-btn:hover {
  background: var(--surface-pill-hover);
  border-color: var(--border-hover);
}

/* Footer */
.app-footer {
  margin-top: auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(14, 15, 18, 0.4);
}

.footer-privacy-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.footer-link:hover {
  color: var(--text-primary);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .app-header {
    padding: 14px 18px;
  }
  .datetime-pill {
    display: none;
  }
  .main-wrapper {
    padding: 20px 16px 40px;
  }
  .hero-heading {
    font-size: 26px;
  }
  .contacts-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    top: 68px;
  }
  .contacts-header-bar .contact-selector-wrapper {
    width: 100%;
  }
  .autocomplete-dropdown {
    width: 100%;
    right: auto;
    left: 0;
  }
  .category-tiles-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .app-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
