/* =================================================================
   Provincial Food Delivery - Mobile-First Premium Design System
   Kanit & Inter Fonts, Modern Vibrant Palette, Glassmorphism
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #FF5722;
  --primary-hover: #E64A19;
  --primary-light: #FFEDE7;
  --secondary: #2E7D32;
  --secondary-light: #E8F5E9;
  --accent: #FFC107;
  --dark: #1E293B;
  --dark-surface: #0F172A;
  --gray-100: #F8FAFC;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --danger: #EF4444;
  --success: #10B981;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Kanit', 'Inter', sans-serif;
  background-color: var(--gray-100);
  color: var(--dark);
  line-height: 1.5;
  min-width: 280px;
  overflow-x: hidden;
  padding-bottom: calc(90px + env(safe-area-inset-bottom)); /* Space for sticky cart bar */
}

img {
  max-width: 100%;
}

/* App Header & Navigation Bar */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.brand-logo > div {
  min-width: 0;
}

.brand-logo > img {
  flex: 0 0 auto;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), #FF8A65);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.btn-header-install {
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 15px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #FF5722, #EA580C);
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.32);
}

.btn-header-install img {
  width: 24px;
  height: 24px;
  padding: 1px;
  border-radius: 50%;
  background: white;
  object-fit: contain;
}

/* Location Detector Card */
.location-banner {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: white;
  padding: 16px;
  border-radius: var(--radius-lg);
  width: min(calc(100% - 32px), 1160px);
  margin: 16px auto;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.location-banner::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255, 87, 34, 0.15);
  border-radius: 50%;
}

.location-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.location-status-badge.in-zone {
  background: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.location-status-badge.out-zone {
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.store-name-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.delivery-info-text {
  font-size: 0.85rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-locate {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary), #FF7043);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
  transition: var(--transition);
}

.btn-locate:active {
  transform: scale(0.98);
}

/* Category Filter Chips */
.category-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  width: min(100%, 1192px);
  margin: 0 auto;
  padding: 0 16px 12px 16px;
  scrollbar-width: none;
}

.category-scroller::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 3px 8px rgba(255, 87, 34, 0.25);
}

/* Product Cards Grid */
.product-section {
  width: min(100%, 1192px);
  margin: 0 auto;
  padding: 0 16px;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  width: 100%;
  height: 120px;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-add-cart {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: none;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-add-cart:hover {
  background: var(--primary);
  color: white;
}

/* Floating Sticky Cart Bar */
.sticky-cart-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  background: linear-gradient(135deg, var(--dark), #0F172A);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  animation: slideUp 0.3s ease-out;
  max-width: 720px;
  margin: 0 auto;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-badge-count {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.cart-total-text {
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.cart-subtext {
  font-size: 0.75rem;
  color: var(--gray-300);
}

.btn-view-cart {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10020;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: white;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px 16px 28px 16px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.1, 1, 0.1, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.btn-close-modal {
  background: var(--gray-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-picker-container {
  max-height: 94vh;
}

.location-picker-help {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.55;
}

.btn-location-gps {
  width: 100%;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-sm);
  background: #FFF7ED;
  color: #C2410C;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

#location-picker-map {
  width: 100%;
  height: min(52vh, 440px);
  min-height: 300px;
  border: 2px solid var(--primary);
  border-radius: 16px;
  overflow: hidden;
  background: #F8FAFC;
  box-shadow: var(--shadow-sm);
}

.location-picker-footer {
  position: sticky;
  bottom: -28px;
  z-index: 30;
  margin: 12px -16px -28px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
}

.location-picker-coords {
  min-height: 22px;
  margin-bottom: 8px;
  color: var(--gray-600);
  font-size: 0.8rem;
  text-align: center;
}

.btn-confirm-location {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.24);
}

.btn-confirm-location:disabled {
  background: var(--gray-300);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.75;
}

/* Form Controls */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

/* PromptPay QR Section */
.promptpay-card {
  background: #003B5C;
  color: white;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.promptpay-logo {
  height: 32px;
  margin-bottom: 8px;
}

.qr-code-box {
  background: white;
  padding: 12px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 8px 0;
}

.qr-code-box img {
  width: 180px;
  height: 180px;
}

.qr-payment-total {
  width: min(100%, 420px);
  margin: 2px auto 12px;
  padding: 10px 14px;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  background: #ECFDF5;
  color: #065F46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
}

.qr-payment-total strong {
  color: #047857;
  font-size: 1.3rem;
}

.qr-items-summary-card {
  width: min(100%, 520px);
  margin: 0 auto 12px;
  padding: 12px;
  border: 1px solid #FED7AA;
  border-radius: 12px;
  background: #FFFFFF;
  text-align: left;
}

.qr-summary-title {
  margin-bottom: 7px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #FED7AA;
  color: #0F172A;
  font-size: 0.9rem;
  font-weight: 700;
}

.qr-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  color: #334155;
  font-size: 0.85rem;
}

.qr-summary-row > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.qr-summary-row > span:last-child {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

.qr-summary-row strong,
.qr-summary-muted {
  color: #64748B;
}

.qr-summary-discount {
  color: #059669;
}

.promptpay-number-box {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #334155;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.promptpay-number-box strong {
  color: #0F172A;
}

.qr-download-help {
  margin-top: 6px;
  color: #64748B;
  font-size: 0.75rem;
  line-height: 1.45;
}

.qr-generation-error {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 0.82rem;
}

.slip-upload-box {
  border: 2px dashed var(--gray-300);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  background: var(--gray-100);
  margin-bottom: 16px;
  transition: var(--transition);
}

.slip-upload-box:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.slip-preview-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* Helper Utilities */
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.hidden { display: none !important; }

/* Pinpoint Map Container Fix for Mobile Modals */
#tracking-map {
  width: 100% !important;
  height: 350px !important;
  min-height: 350px !important;
  border-radius: 16px !important;
  border: 2px solid #FFEDD5 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 20px !important;
  position: relative !important;
  z-index: 10 !important;
  background: #F8FAFC !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#checkout-pinpoint-map {
  width: 100% !important;
  height: 280px !important;
  min-height: 280px !important;
  border-radius: 16px !important;
  border: 2px solid #FF5722 !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 8px !important;
  position: relative !important;
  z-index: 10 !important;
  background: #F8FAFC !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Do not force a transform on this Leaflet root. The checkout modal itself is
   transformed while opening; a second forced compositor layer can leave the
   tile pane blank on mobile browsers. */
#checkout-pinpoint-map.leaflet-container {
  -webkit-transform: none !important;
  transform: none !important;
}

.pinpoint-map-loading,
.pinpoint-map-error {
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--gray-500);
}

.pinpoint-map-error strong {
  color: var(--danger);
}

.pinpoint-map-error span {
  font-size: 0.82rem;
}

.custom-leaflet-emoji-icon {
  background: transparent !important;
  border: none !important;
}

.leaflet-container {
  width: 100% !important;
  height: 100% !important;
  background: #F8FAFC !important;
  font-family: inherit !important;
  -webkit-transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Keep dynamically gated payment controls inaccessible until the server validates the draft. */
[hidden] { display: none !important; }

/* Responsive layout: phones, tablets, desktop and short landscape screens */
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }

  .product-img-wrapper {
    height: 160px;
  }

  .modal-overlay {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .modal-container {
    width: min(720px, 100%);
    max-height: min(90vh, 900px);
    padding: 24px;
    border-radius: var(--radius-lg);
    transform: translateY(24px) scale(0.98);
  }

  .modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
  }

  .location-picker-container {
    max-width: 820px;
  }

  #location-picker-map {
    height: min(56vh, 520px);
  }
}

@media (max-width: 640px) {
  .app-header {
    padding: max(8px, env(safe-area-inset-top)) 10px 8px;
  }

  .header-top {
    padding: 0 !important;
    gap: 8px;
  }

  .brand-logo {
    gap: 7px !important;
  }

  .brand-logo > img {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  .brand-title {
    font-size: 1rem !important;
  }

  .brand-sub {
    max-width: 180px;
    font-size: 0.68rem !important;
    line-height: 1.25;
  }

  .btn-header-install {
    min-height: 40px;
    padding: 8px 11px;
    gap: 5px;
    font-size: 0.8rem;
  }

  .btn-header-install img {
    width: 21px;
    height: 21px;
  }

  #qr-code-img {
    width: min(240px, 70vw) !important;
    height: min(240px, 70vw) !important;
  }

  #btn-download-qr {
    width: 100%;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    font-size: 0.88rem !important;
  }

  .location-banner {
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 14px;
  }

  .category-scroller,
  .product-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
    gap: 10px;
  }

  .product-title {
    font-size: 0.86rem;
  }

  .modal-container {
    width: 100%;
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
    padding: 18px 14px calc(22px + env(safe-area-inset-bottom));
  }

  #checkout-form .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  #location-picker-map {
    height: min(48dvh, 410px);
    min-height: 260px;
  }

  #checkout-pinpoint-map {
    height: min(38dvh, 300px) !important;
    min-height: 230px !important;
  }

  .sticky-cart-bar {
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    padding: 10px 12px;
  }
}

@media (max-width: 360px) {
  .brand-logo > img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-title {
    font-size: 0.92rem !important;
  }

  .brand-sub {
    display: none;
  }

  .btn-header-install {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 0.76rem;
  }

  .btn-header-install img {
    display: none;
  }

  .store-name-tag {
    font-size: 1.05rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cart-subtext {
    display: none;
  }

  .btn-view-cart {
    padding: 8px 11px;
    font-size: 0.82rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .modal-overlay {
    justify-content: center;
  }

  .modal-container {
    max-height: 96dvh;
  }

  #location-picker-map {
    height: 48dvh;
    min-height: 190px;
  }
}

/* =================================================================
   Social Share Bar & Buttons
   ================================================================= */
.social-share-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.share-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: #F8FAFC;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-share:hover, .btn-share:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.btn-share-line {
  background: #E8F9EE;
  border-color: #A3E6B4;
  color: #00B900;
}
.btn-share-line:hover {
  background: #00C300;
  color: #FFFFFF;
}

.btn-share-fb {
  background: #EBF3FE;
  border-color: #B9D5FF;
  color: #1877F2;
}
.btn-share-fb:hover {
  background: #1877F2;
  color: #FFFFFF;
}

.btn-share-x {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}
.btn-share-x:hover {
  background: #0F172A;
  color: #FFFFFF;
}

.btn-share-copy {
  background: #FFF7ED;
  border-color: #FFEDD5;
  color: #EA580C;
}
.btn-share-copy:hover {
  background: #FF5722;
  color: #FFFFFF;
}

/* Toast alert for copy notification */
.share-toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

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