/* Minification failed. Returning unminified contents.
(218,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(219,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(221,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(222,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(223,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(250,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-title'
(259,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-lead'
(261,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(316,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-callout-heading'
(325,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-body'
(338,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-lead'
(341,15): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(361,22): run-time error CSS1039: Token not allowed after unary operator: '-btn-height'
(373,19): run-time error CSS1039: Token not allowed after unary operator: '-gw-footnote'
 */
/* ============================================
   SUPPORT PAGE - CUSTOM STYLES
   ============================================
   
   Uses MagTek Design System:
   - magtek-heroes.css (Light Hero)
   - magtek-buttons.css (Button System)
   - magtek-cards.css (Card System)
   
   Custom Components for Support:
   - Migration Notice Banner
   - Support Contact Cards
   - Quick Action Cards
   - Product Search Section
   - Developer Documentation Section
   
   ============================================ */

/* ============================================
   MIGRATION NOTICE BANNER (Modern Tech Pattern)
   Inspired by: GitHub, Stripe, Linear, Vercel
   ============================================ */

.migration-notice {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 12px;
  padding: 18px 24px;
  margin: 20px auto 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow:
    0 1px 3px rgba(14, 165, 233, 0.06),
    0 4px 12px rgba(14, 165, 233, 0.08);
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

/* Subtle accent border on left (GitHub/Linear pattern) */
.migration-notice::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0ea5e9 0%, #06b6d4 100%);
  border-radius: 12px 0 0 12px;
}

.migration-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 4px 12px rgba(14, 165, 233, 0.25),
    0 2px 4px rgba(14, 165, 233, 0.15);
  position: relative;
}

/* Subtle shine effect (Stripe pattern) */
.migration-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.migration-icon i {
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.migration-content {
  flex: 1;
  padding-top: 1px;
}

.migration-content h4 {
  margin: 0 0 7px 0;
  color: #0c4a6e;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.migration-content p {
  margin: 0;
  color: #0369a1;
  font-size: 14px;
  line-height: 1.55;
}

.migration-content strong {
  color: #0c4a6e;
  font-weight: 600;
}

/* Modern link styling (Vercel/Stripe pattern) */
.migration-content .scroll-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.3);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 1px;
}

.migration-content .scroll-link:hover {
  color: #0369a1;
  border-bottom-color: #0369a1;
}

.migration-content .scroll-link:focus {
  outline: none;
  color: #0369a1;
  border-bottom-color: #0369a1;
  box-shadow: 0 2px 0 rgba(3, 105, 161, 0.2);
}

/* ============================================
       PAGE GUIDE HELPER (GitHub/Stripe Pattern)
       ============================================ */

.page-guide {
  text-align: center;
  margin: 16px auto 0;
  padding-bottom: 20px;
}

.page-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(100, 116, 139, 0.04);
  border: 1px solid transparent;
}

.page-guide-link:hover {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.06);
  border-color: rgba(2, 132, 199, 0.15);
  text-decoration: none;
  transform: translateY(-1px);
}

.page-guide-link i:first-child {
  font-size: 14px;
  opacity: 0.7;
}

.page-guide-link i:last-child {
  font-size: 12px;
  opacity: 0.6;
  animation: gentleBounce 2s ease-in-out infinite;
}

.page-guide-link:hover i:last-child {
  opacity: 1;
  animation: gentleBounce 1s ease-in-out infinite;
}

.page-guide-link:focus {
  outline: none;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.page-guide-link:active {
  transform: translateY(0);
  background: rgba(2, 132, 199, 0.1);
}

@keyframes gentleBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ============================================
       SUPPORT GATEWAY (hero + primary path + next steps)
       ============================================ */

/* Gateway hero: align with magtek-standardization.css when present; fallbacks keep type correct if that sheet is not loaded (e.g. some layouts). */
.support-gateway--hero {
  --gw-title: clamp(3rem, 5.5vw, var(--font-size-hero, 4.5rem));
  --gw-lead: var(--font-size-large, 1.8rem);
  /* Below page section titles (.section-title); above body copy */
  --gw-callout-heading: clamp(1.45rem, 2.6vw, 1.85rem);
  --gw-body: var(--font-size-body, 1.6rem);
  --gw-footnote: var(--font-size-small, 1.4rem);

  padding: 3rem 0 3rem;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf1;
}

.support-gateway__stack {
  box-sizing: border-box;
  width: 100%;
  max-width: min(100%, 960px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.85rem;
  text-align: center;
}

.support-gateway__intro {
  margin: 0;
  max-width: 46rem;
  text-align: center;
}

.support-gateway__title {
  margin: 0 0 0.75rem;
  font-size: var(--gw-title);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #263c50;
}

.support-gateway__subtitle {
  margin: 0;
  font-size: var(--gw-lead);
  line-height: 1.7;
  color: var(--text-secondary, #4a5568);
  font-weight: 400;
}

/* Green callout: icon + copy (matches support hub announcement) */
.support-gateway__callout {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1.5rem;
  text-align: left;
  background: #e8f8ef;
  border: 1px solid #b8e8cc;
  border-radius: 15px;
}

.support-gateway__callout-inner {
  display: flex;
  align-items: center;
  gap: 1.15rem 1.35rem;
}

.support-gateway__callout-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 12px;
  background: #5cb85c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.support-gateway__callout-icon-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.support-gateway__callout-text {
  flex: 1;
  min-width: 0;
}

.support-gateway__callout-title {
  margin: 0 0 0.6rem;
  font-size: var(--gw-callout-heading);
  font-weight: 700;
  line-height: 1.28;
  color: #14532d;
  letter-spacing: -0.02em;
}

.support-gateway__callout-body {
  margin: 0;
  font-size: var(--gw-body);
  line-height: 1.55;
  color: #166534;
}

.support-gateway__callout-body strong {
  font-weight: 700;
  color: #14532d;
}

.support-gateway__tagline {
  margin: 0;
  max-width: 42rem;
  font-size: var(--gw-lead);
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-secondary, #4a5568);
  text-align: center;
}

.support-gateway__actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* MagTek primary button (.btn-primary); allow wrap on very narrow viewports */
.support-gateway__actions .support-gateway__cta-btn {
  max-width: 100%;
}

@media (max-width: 480px) {
  .support-gateway__actions .support-gateway__cta-btn {
    white-space: normal !important;
    line-height: 1.25 !important;
    height: auto !important;
    min-height: var(--btn-height) !important;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }
}

.support-gateway__footnote {
  box-sizing: border-box;
  width: 100%;
  max-width: 42rem;
  margin: 0;
  padding: 1.1rem 1.25rem;
  font-size: var(--gw-footnote);
  line-height: 1.55;
  color: #64748b;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

@media (max-width: 520px) {
  .support-gateway__callout-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .support-gateway__callout {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .support-gateway--hero {
    padding: 2.5rem 0 2.5rem;
  }

  .support-gateway__stack {
    gap: 1.5rem;
  }

  .support-gateway__callout {
    padding: 1.25rem 1.15rem;
  }

  .support-gateway__callout-icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .support-gateway__callout-icon-glyph {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.2rem;
  }
}

/* Developer docs + product search: removed from layout but kept in DOM for legacy JS (dropdowns, GetGroups) */
.support-supplementary-hidden {
  display: none !important;
}

/* ============================================
       PAGE-WIDE SETTINGS
       ============================================ */

.support-page-wrapper {
  background: white;
}

/* Section headers on this page use magtek-standardization.css (.section-header, .section-title, .section-subtitle). */

/* ============================================
       SECTION SEPARATORS
       ============================================ */

.section-separator {
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* ============================================
       SUPPORT GRID LAYOUT
       ============================================ */

.support-section {
  padding: 2.5rem 0 6rem;
  background: white;
}

.support-section--after-gateway {
  padding-top: 3rem;
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 28%);
}

.support-section.section-separator {
  padding-top: 6rem;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ============================================
       SUPPORT CONTACT CARDS
       ============================================ */

.support-contact-card {
  background: #fafbfc;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef1f6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

.support-contact-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Subtle focus indicator for keyboard navigation */
.support-contact-card:focus-within {
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

/* In-page anchor (#contact-support): visible focus when scrolled into view */
#contact-support:focus {
  outline: 3px solid rgba(14, 165, 233, 0.65);
  outline-offset: 3px;
}

.support-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #263c50;
  margin: 0 0 13px 0;
  padding-bottom: 12px;
  letter-spacing: -0.01em;
  display: block;
  position: relative;
}

.support-card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25%;
  max-width: 140px;
  height: 2px;
  background: linear-gradient(135deg, #d21242, #b01035);
  border-radius: 999px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
  position: relative;
  /* Subtle lift on hover to indicate interactivity */
}

.contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #d21242;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-item:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(210, 18, 66, 0.2);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-item-hardware::before {
  background: linear-gradient(180deg, #d21242, #b01035);
}

.contact-item-services::before {
  background: linear-gradient(180deg, #263c50, #1b2535);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d21242, #b01035);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(210, 18, 66, 0.25);
  transition: all 0.3s ease;
}

.contact-icon i {
  font-size: 19px;
}

.contact-item:hover .contact-icon {
  box-shadow: 0 3px 10px rgba(210, 18, 66, 0.35);
  transform: translateY(-1px);
}

.contact-item-hardware .contact-icon {
  background: linear-gradient(135deg, #d21242, #b01035);
  box-shadow: 0 2px 6px rgba(210, 18, 66, 0.25);
}

.contact-item-hardware:hover .contact-icon {
  box-shadow: 0 3px 10px rgba(210, 18, 66, 0.35);
}

.contact-item-services .contact-icon {
  background: linear-gradient(135deg, #263c50, #1e293b);
  box-shadow: 0 2px 6px rgba(38, 60, 80, 0.25);
}

.contact-item-services:hover .contact-icon {
  box-shadow: 0 3px 10px rgba(38, 60, 80, 0.35);
}

.contact-item-services:focus-within .contact-icon {
  box-shadow: 0 3px 10px rgba(38, 60, 80, 0.35);
}

.contact-item-hardware:hover {
  border-color: rgba(210, 18, 66, 0.35);
  box-shadow: 0 2px 10px rgba(210, 18, 66, 0.2);
}

.contact-item-hardware:focus-within {
  border-color: rgba(210, 18, 66, 0.45);
  box-shadow: 0 0 0 3px rgba(210, 18, 66, 0.2);
}

.contact-item-services:hover {
  border-color: rgba(38, 60, 80, 0.35);
}

.contact-item-services:focus-within {
  border-color: rgba(38, 60, 80, 0.4);
  box-shadow: 0 0 0 3px rgba(38, 60, 80, 0.18);
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-topline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.support-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  line-height: 1;
}

.support-tag-hardware {
  background: rgba(210, 18, 66, 0.16);
  color: #7f132e;
  border: 1px solid rgba(210, 18, 66, 0.3);
}

.support-tag-services {
  background: rgba(38, 60, 80, 0.16);
  color: #1f2b3d;
  border: 1px solid rgba(38, 60, 80, 0.28);
}

.contact-name {
  font-size: 15px;
  font-weight: 700;
  color: #263c50;
  letter-spacing: -0.01em;
}

.contact-hours {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.contact-description {
  margin: 4px 0 6px;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}

.contact-description strong {
  display: inline;
  color: #1e293b;
  font-weight: 700;
  margin-right: 4px;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.contact-links .contact-separator {
  color: #c7d2e0;
}

.contact-links a {
  color: #0e7490;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  border: none;
  background: transparent;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: #0b5064;
  text-decoration: underline;
}

.contact-links a:focus {
  outline: 2px solid rgba(14, 165, 233, 0.4);
  outline-offset: 2px;
  text-decoration: none;
}

.contact-links a:active {
  color: #0b4a5c;
}

/* ============================================
       QUICK ACTIONS CARDS
       ============================================ */

.quick-actions-card {
  background: #fafbfc;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef1f6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

.quick-actions-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

/* Subtle focus indicator for keyboard navigation */
.quick-actions-card:focus-within {
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.08);
}

.action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
  flex: 1;
}

.action-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #263c50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Status Buttons - Bold Border Style with Logos */
.action-button.status-button {
  border: 2px solid #263c50;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  padding: 18px 14px 14px;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(38, 60, 80, 0.08);
}

/* Top accent bar - Navy (same pattern as bottom cards) */
.action-button.status-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #263c50, #1e293b);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Status Logo Container */
.status-logo-container {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  padding: 0 8px;
}

.status-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(0%) opacity(0.9);
  /* Smooth image rendering for quality */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.action-button.status-button:hover .status-logo {
  filter: grayscale(0%) opacity(1);
}

/* QwickCards logo - Scale up to match Magensa logo size */
.status-logo-qwickcards {
  transform: scale(1.15);
  transform-origin: center;
}

.action-button.status-button:hover .status-logo-qwickcards {
  transform: scale(1.15);
}

/* Status Indicator - Icon + Text (Matches .action-text styling) */
.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #263c50;
  letter-spacing: 0.01em;
  line-height: 1.3;
  transition: color 0.3s ease;
  margin-top: 2px;
}

.status-indicator i {
  font-size: 12px;
  color: #263c50;
  transition: color 0.3s ease;
}

.status-text {
  font-weight: 700;
  color: inherit;
}

.action-button.status-button:hover .status-indicator {
  color: #263c50;
}

.action-button.status-button:hover .status-indicator i {
  color: #263c50;
}

/* Status Button Hover - Same pattern as bottom cards, navy color */
.action-button.status-button:hover {
  background: white;
  color: #263c50;
  border-color: #263c50;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(38, 60, 80, 0.12);
}

.action-button.status-button:hover::before {
  transform: scaleX(1);
}

.action-button.status-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(38, 60, 80, 0.1);
}

.action-button.status-button:focus {
  outline: none;
  border-color: #263c50;
  box-shadow:
    0 0 0 3px rgba(38, 60, 80, 0.15),
    0 2px 8px rgba(38, 60, 80, 0.08);
}

/* Internal Action Buttons - Subtle Style */
.action-button:not(.status-button) {
  background: #fafbfc;
  border: 1px solid #f0f0f0;
}

.action-button:not(.status-button)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #d21242, #b01035);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.action-button:not(.status-button):hover {
  background: white;
  border-color: #d21242;
  box-shadow: 0 2px 8px rgba(210, 18, 66, 0.1);
  transform: translateY(-2px);
}

.action-button:not(.status-button):hover::after {
  transform: scaleX(1);
}

.action-button:not(.status-button):active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(210, 18, 66, 0.08);
}

.action-button:not(.status-button):focus {
  outline: none;
  border-color: #d21242;
  box-shadow: 0 0 0 3px rgba(210, 18, 66, 0.15);
}

.action-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #263c50, #1e293b);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.action-button.status-button .action-icon {
  background: #263c50;
}

.action-icon i {
  font-size: 17px;
}

.action-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.action-external {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.action-button.status-button .action-external {
  color: #263c50;
}

.action-button.status-button:hover .action-external {
  color: #263c50;
  opacity: 0.7;
}

/* ============================================
       DEVELOPER SECTION
       ============================================ */

.developer-section {
  background: white;
  padding: 6rem 0;
}

.developer-category {
  margin-bottom: 44px;
}

.developer-category-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #263c50;
  margin: 0 0 2.5rem 0;
  text-align: left;
  letter-spacing: -0.01em;
}

.developer-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Developer Documentation Card - Custom Support Card */
.dev-doc-card {
  background: white;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.dev-doc-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.08),
    0 14px 40px rgba(210, 18, 66, 0.08);
  border-color: #d21242;
}

.dev-doc-card:focus-within {
  border-color: #d21242;
  box-shadow:
    0 0 0 3px rgba(210, 18, 66, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.08);
}

.dev-doc-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #263c50;
  margin: 0 0 12px 0;
  line-height: 1.3;
  min-height: auto;
  text-align: left;
}

.dev-doc-card .description {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.dev-doc-card .documentation-link {
  color: #d21242;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.dev-doc-card:hover .documentation-link {
  color: #b01035;
  gap: 8px;
}

.dev-doc-card .documentation-link:focus {
  outline: none;
  color: #b01035;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.dev-doc-card .payment-logo {
  max-height: 28px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ============================================
       PRODUCT SEARCH SECTION
       ============================================ */

.product-search-section {
  background: white;
  padding: 6rem 0;
}

.product-search-form {
  max-width: 700px;
  margin: 0 auto;
}

.search-dropdown {
  appearance: none;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  color: #263c50;
  font-size: 16px;
  height: 52px;
  padding: 0 48px 0 16px;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.search-dropdown:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-dropdown:focus {
  border-color: #d21242;
  box-shadow:
    0 0 0 3px rgba(210, 18, 66, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.08);
  outline: none;
  background: white;
}

.search-dropdown:disabled {
  background-color: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.search-button-wrapper {
  text-align: center;
}

/* ============================================
       LOADING & SKELETON STATES (Fintech Polish)
       ============================================ */

/* Subtle skeleton state for images while loading */
.status-logo-container img:not([src]) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Smooth fade-in for loaded images */
.status-logo {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}

/* ============================================
       SCROLL ANIMATIONS
       ============================================ */

#product-search:target {
  animation: highlight-pulse 2s ease-in-out;
  border-radius: 12px;
  padding: 20px;
  margin-left: -20px;
  margin-right: -20px;
}

@keyframes highlight-pulse {
  0%,
  100% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(14, 165, 233, 0.08);
  }
}

/* ============================================
       RESPONSIVE DESIGN
       ============================================ */

/* Large Tablet (992px and below) */
@media (max-width: 992px) {
  .migration-notice {
    padding: 16px 20px;
    margin: 18px auto 22px;
    gap: 16px;
  }

  .migration-icon {
    width: 46px;
    height: 46px;
  }

  .migration-icon i {
    font-size: 22px;
  }

  .migration-content h4 {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .migration-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .page-guide {
    margin: 14px auto 0;
    padding-bottom: 18px;
  }

  .page-guide-link {
    font-size: 12px;
    padding: 7px 16px;
  }

  .section-header {
    margin-bottom: 3.5rem;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .section-subtitle {
    font-size: 1.7rem;
  }

  /* Keep 2 columns on large tablets */
  .support-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }

  .support-contact-card,
  .quick-actions-card {
    padding: 18px 16px;
  }

  .support-card-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .contact-item {
    padding: 11px;
  }

  .action-buttons-grid {
    gap: 12px;
  }

  .action-button {
    padding: 12px 10px;
    gap: 7px;
  }

  .action-button.status-button {
    padding: 16px 12px 12px;
    gap: 9px;
  }

  .status-logo-container {
    height: 38px;
    margin-bottom: 4px;
  }

  .status-indicator {
    font-size: 13px;
    gap: 5px;
  }

  .status-indicator i {
    font-size: 14px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
  }

  .action-icon i {
    font-size: 16px;
  }

  .action-text {
    font-size: 11px;
  }

  .action-external {
    font-size: 10px;
    bottom: 6px;
    right: 6px;
  }

  .developer-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablet (768px and below) - Stack to Single Column */
@media (max-width: 768px) {
  .migration-notice {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 20px;
    gap: 14px;
    margin: 18px auto 24px;
  }

  .migration-icon {
    width: 48px;
    height: 48px;
  }

  .migration-icon i {
    font-size: 24px;
  }

  .migration-content {
    padding-top: 0;
  }

  .migration-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .migration-content p {
    font-size: 14px;
  }

  .page-guide {
    margin: 16px auto 0;
    padding-bottom: 20px;
  }

  .page-guide-link {
    font-size: 13px;
    padding: 9px 16px;
  }

  .support-section {
    padding: 2.5rem 0 4rem;
  }

  /* STACK MAIN GRID - Single Column on Tablets */
  .support-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    max-width: 600px;
  }

  .support-contact-card,
  .quick-actions-card {
    padding: 20px 18px;
  }

  .support-card-title {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 9px;
  }

  .contact-item {
    padding: 12px;
    gap: 10px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 17px;
  }

  .contact-name {
    font-size: 15px;
  }

  .contact-hours {
    font-size: 12px;
  }

  .contact-links a {
    font-size: 13px;
    padding: 5px 10px;
  }

  .contact-topline {
    gap: 4px;
  }

  .contact-links {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
  }

  .contact-links a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 7px 12px;
    font-size: 13px;
  }

  .contact-topline {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .contact-separator {
    display: none;
  }

  /* Action buttons - Keep 2 columns but optimize spacing */
  .action-buttons-grid {
    grid-template-columns: 1fr;
  }

  .action-button {
    padding: 12px 10px;
    gap: 6px;
  }

  .action-button.status-button {
    padding: 14px 10px 10px;
    gap: 7px;
  }

  .status-logo-container {
    height: 40px;
    margin-bottom: 5px;
  }

  .status-indicator {
    font-size: 13px;
    gap: 6px;
  }

  .status-indicator i {
    font-size: 14px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
  }

  .action-icon i {
    font-size: 16px;
  }

  .action-text {
    font-size: 12px;
  }

  .action-external {
    font-size: 10px;
    bottom: 7px;
    right: 7px;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .section-subtitle {
    font-size: 1.6rem;
  }

  .support-section {
    padding: 3.5rem 0 4.5rem;
  }

  .developer-section,
  .product-search-section {
    padding: 4.5rem 0;
  }

  .developer-category {
    margin-bottom: 36px;
  }

  .developer-category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .developer-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
  }
}

/* Mobile (480px and below) - Fully Stack Everything */
@media (max-width: 480px) {
  .support-gateway--hero {
    padding: 2.6rem 0 2.25rem;
  }

  .migration-notice {
    padding: 16px 18px;
    gap: 12px;
    margin: 16px auto 20px;
  }

  .migration-icon {
    width: 46px;
    height: 46px;
  }

  .migration-icon i {
    font-size: 22px;
  }

  .migration-content h4 {
    font-size: 16px;
  }

  .migration-content p {
    font-size: 14px;
  }

  .page-guide {
    margin: 14px auto 0;
    padding-bottom: 16px;
  }

  .page-guide-link {
    font-size: 13px;
    padding: 8px 14px;
    gap: 6px;
  }

  .page-guide-link span {
    display: inline; /* Ensure text stays visible on small screens */
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Support grid stays single column (inherited from 768px) */
  .support-grid {
    gap: 1.5rem;
    max-width: 500px;
  }

  .support-contact-card,
  .quick-actions-card {
    padding: 18px 16px;
  }

  .support-card-title {
    font-size: 15px;
  }

  /* Contact items stack vertically on very small screens */
  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .contact-icon i {
    font-size: 19px;
  }

  .contact-name {
    font-size: 15px;
  }

  .contact-hours {
    font-size: 12px;
  }

  .contact-links {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
  }

  .contact-links a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 7px 12px;
    font-size: 13px;
  }

  .contact-separator {
    display: none;
  }

  /* Action buttons - Keep 2 columns but optimize spacing */
  .action-buttons-grid {
    gap: 10px;
  }

  .action-button {
    padding: 12px 10px;
    gap: 6px;
  }

  .action-button.status-button {
    padding: 14px 10px 10px;
    gap: 7px;
  }

  .status-logo-container {
    height: 32px;
    margin-bottom: 4px;
  }

  .status-indicator {
    font-size: 10px;
    gap: 4px;
    margin-top: 1px;
  }

  .status-indicator i {
    font-size: 11px;
  }

  .action-icon {
    width: 32px;
    height: 32px;
  }

  .action-icon i {
    font-size: 14px;
  }

  .action-text {
    font-size: 10px;
    line-height: 1.2;
  }

  .action-external {
    font-size: 9px;
    bottom: 5px;
    right: 5px;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .section-subtitle {
    font-size: 1.5rem;
  }

  .support-section {
    padding: 3rem 0 4rem;
  }

  .developer-section,
  .product-search-section {
    padding: 4rem 0;
  }

  .developer-category-title {
    font-size: 1.8rem;
  }

  .search-dropdown {
    font-size: 14px;
    height: 46px;
  }
}

/* Extra Small Mobile (360px and below) - Stack Action Buttons */
@media (max-width: 360px) {
  .action-buttons-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .action-button {
    padding: 14px 12px;
  }

  .action-button.status-button {
    padding: 16px 12px 12px;
  }

  .status-logo-container {
    height: 36px;
  }

  .status-indicator {
    font-size: 11px;
    gap: 5px;
  }

  .status-indicator i {
    font-size: 12px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
  }

  .action-text {
    font-size: 11px;
  }
}

/* ============================================
       PROFESSIONAL POLISH & FINTECH UX
       ============================================ */

/* Improved text selection for fintech professionalism */
::selection {
  background-color: rgba(210, 18, 66, 0.2);
  color: #263c50;
}

::-moz-selection {
  background-color: rgba(210, 18, 66, 0.2);
  color: #263c50;
}

/* Subtle scroll behavior for smooth UX */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed headers if any */
}

/* Better focus visible for keyboard navigation (WCAG 2.1) */
*:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Subtle shadow for elevated cards on hover (fintech depth) */
.support-contact-card:hover,
.quick-actions-card:hover {
  border-color: rgba(38, 60, 80, 0.15);
}

/* Professional loading cursor for clickable elements */
.action-button,
.contact-links a,
.documentation-link {
  cursor: pointer;
}

.action-button:active,
.contact-links a:active {
  cursor: pointer;
}

/* Better disabled state visibility */
.search-dropdown:disabled,
button:disabled,
input[type="button"]:disabled {
  cursor: not-allowed;
  user-select: none;
}

/* ============================================
       ACCESSIBILITY
       ============================================ */

@media (prefers-reduced-motion: reduce) {
  .migration-notice,
  .page-guide-link,
  .support-gateway__actions .support-gateway__cta-btn,
  .support-contact-card,
  .quick-actions-card,
  .dev-doc-card,
  .contact-item,
  .action-button,
  .contact-icon {
    transition: none !important;
  }

  .support-gateway__actions .support-gateway__cta-btn:hover,
  .support-contact-card:hover,
  .quick-actions-card:hover,
  .dev-doc-card:hover,
  .action-button:hover,
  .page-guide-link:hover,
  .contact-icon:hover {
    transform: none !important;
  }

  .page-guide-link i {
    animation: none !important;
  }

  #product-search:target {
    animation: none !important;
  }
}

