/* ==========================================================================
   GeoPin - Full-Bleed Map & Floating Google Maps / Uber Style Layout
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace;

  /* Palette */
  --bg-dark: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.94);
  --bg-card-border: rgba(255, 255, 255, 0.12);
  --bg-input: #131b2e;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-red: #d92027;
  --accent-red-hover: #b81b21;
  --accent-red-glow: rgba(217, 32, 39, 0.35);

  --status-success: #10b981;
  --status-error: #ef4444;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow-float: 0 20px 40px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-btn: 0 4px 14px 0 rgba(217, 32, 39, 0.35);
  --transition-fast: 0.18s ease;
  --transition-normal: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  /* Removed background-color: var(--bg-dark) so it doesn't block the map */
}

/* ==========================================================================
   Full-Bleed Leaflet Map Background (Clean Light Theme)
   ========================================================================== */
#map,
.map-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  /* Light clean background while tiles load */
  background-color: #f1f5f9;
}

/* Position Leaflet zoom controls gracefully */
.leaflet-top.leaflet-left {
  top: auto;
  bottom: 90px;
  left: 24px;
}

.leaflet-bar {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.leaflet-bar a {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  font-weight: bold;
}

.leaflet-bar a:hover {
  background-color: #f8fafc !important;
  color: var(--accent-red) !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #64748b !important;
  font-size: 11px !important;
  backdrop-filter: blur(6px);
  padding: 2px 8px !important;
  border-top-left-radius: 6px;
}

.leaflet-control-attribution a {
  color: #3b82f6 !important;
}

/* Custom Marker Styling */
.custom-pin-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-beacon {
  position: absolute;
  width: 44px;
  height: 44px;
  background: rgba(217, 32, 39, 0.25);
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  animation: beaconPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.marker-icon-svg {
  position: relative;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  z-index: 2;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Leaflet Popup Styling - Clean Google Maps Aesthetic */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
}

.leaflet-popup-tip {
  background: #ffffff !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
  line-height: 1.45;
  font-family: var(--font-sans);
}

/* ==========================================================================
   Floating Top-Center Header (Google Maps / Uber Style)
   ========================================================================== */
.floating-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 680px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.search-box-card {
  pointer-events: auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 10px;
  transition: all var(--transition-fast);
}

.search-box-card:focus-within {
  border-color: rgba(217, 32, 39, 0.6);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.75), 0 0 0 3px var(--accent-red-glow);
}

/* Mini Brand */
.search-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
  flex-shrink: 0;
  user-select: none;
}

.brand-logo-mini {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(217, 32, 39, 0.4);
}

.brand-logo-mini svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-name span {
  color: var(--accent-red);
  background: linear-gradient(135deg, #ff4d4d, #d92027);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2px;
  flex-shrink: 0;
}

/* Floating Form */
.floating-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  min-width: 0;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
}

.search-icon svg {
  width: 100%;
  height: 100%;
}

#address-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 8px 8px 8px 10px;
  min-width: 0;
}

#address-input::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.clear-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.clear-btn svg {
  width: 15px;
  height: 15px;
}

.input-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-red);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin-right: 6px;
  flex-shrink: 0;
}

/* Action Buttons in Header */
.search-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-icon {
  display: flex;
  align-items: center;
}

.btn-icon svg {
  width: 15px;
  height: 15px;
}

.search-submit-btn {
  background: linear-gradient(135deg, #e52d34, #b9181f);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(217, 32, 39, 0.35);
}

.search-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #f03a41, #c81d24);
  transform: translateY(-1px);
}

.gps-action-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gps-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.icon-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.icon-btn.is-loading .btn-icon {
  display: none;
}

.icon-btn.is-loading .btn-spinner {
  display: inline-block;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: none;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Uber-Style Live Address Dropdown
   ========================================================================== */
.suggestions-dropdown {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  list-style: none;
  padding: 6px;
  max-height: 290px;
  overflow-y: auto;
  animation: fadeIn 0.18s ease;
}

.suggestions-dropdown::-webkit-scrollbar {
  width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.suggestion-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.suggestion-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(217, 32, 39, 0.12);
  border: 1px solid rgba(217, 32, 39, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-red);
}

.suggestion-icon-wrap svg {
  width: 14px;
  height: 14px;
}

.suggestion-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.suggestion-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.suggestion-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-subtitle {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.suggestion-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.suggestion-empty {
  padding: 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Alert Box */
.alert-box {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f8fafc;
  font-size: 0.86rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeIn 0.2s ease;
}

.alert-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--status-error);
  margin-top: 1px;
}

.alert-icon svg {
  width: 100%;
  height: 100%;
}

.alert-content {
  flex: 1;
  line-height: 1.4;
}

.alert-content strong {
  color: #ffffff;
  font-weight: 600;
  margin-right: 4px;
}

.alert-close {
  background: transparent;
  border: none;
  color: #fca5a5;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}

.alert-close:hover {
  opacity: 1;
}

/* ==========================================================================
   Floating Result Card (Bottom Left / Bottom Sheet Style)
   ========================================================================== */
.result-floating-card {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: calc(100% - 48px);
  max-width: 440px;
  z-index: 1000;
  pointer-events: auto;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideUpCard 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--status-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--status-success);
}

.result-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cell-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.close-card-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  transition: color var(--transition-fast);
}

.close-card-btn:hover {
  color: #ffffff;
}

/* Hero DigiPin Box */
.digipin-hero {
  background: #090d16;
  border: 1.5px solid rgba(217, 32, 39, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: inset 0 0 20px rgba(217, 32, 39, 0.06);
}

.digipin-codes {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.digipin-code-main {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  line-height: 1.1;
}

.digipin-code-formatted {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: var(--status-success);
  border-color: var(--status-success);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.copy-icon {
  display: flex;
  align-items: center;
}

.copy-icon svg {
  width: 15px;
  height: 15px;
}

/* Address Row */
.result-address-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.address-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-red);
  margin-top: 2px;
  flex-shrink: 0;
}

.address-icon svg {
  width: 100%;
  height: 100%;
}

.address-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.address-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.address-full {
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.4;
  word-break: break-word;
}

/* Meta Row */
.result-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.coord-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}

.coord-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-dim);
}

.coord-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #cbd5e1;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.link-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
}

/* Breakdown Strip */
.digipin-breakdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.breakdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.breakdown-label {
  font-size: 0.64rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
}

.breakdown-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #cbd5e1;
}

.breakdown-item.highlight .breakdown-val {
  color: #38bdf8;
}

.breakdown-sep {
  color: rgba(255, 255, 255, 0.12);
  font-size: 1rem;
}

/* ==========================================================================
   Map Floating Action Button (FAB GPS - Google Maps Style)
   ========================================================================== */
.map-fab-gps {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all var(--transition-fast);
}

.map-fab-gps:hover {
  background: #f8fafc;
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(217, 32, 39, 0.25);
}

.map-fab-gps svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  background: var(--status-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
  stroke-width: 3;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 680px) {
  .floating-header {
    width: calc(100% - 20px);
    top: 12px;
  }

  .brand-name {
    display: none;
  }

  .gps-label {
    display: none;
  }

  .search-submit-btn .btn-label {
    display: none;
  }

  .icon-btn {
    padding: 8px 10px;
  }

  .result-floating-card {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 16px;
  }

  .digipin-code-main {
    font-size: 1.5rem;
  }

  .map-fab-gps {
    bottom: auto;
    top: 76px;
    right: 12px;
  }

  .leaflet-top.leaflet-left {
    bottom: 24px;
    left: 12px;
  }
}

/* Lock the search bar permanently at the top-center of the screen */
.search-container,
#search-bar-wrapper {
  position: fixed !important;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 90%;
  max-width: 600px;
}

/* Anchor the DigiPin result card neatly inside the bottom-left viewport */
.result-card,
#result-container {
  position: fixed !important;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}