/* ==========================================================================
   Zytal Printer Solution Services Hub Stylesheet
   Designed in the clean, modern GeneratePress-inspired aesthetic of
   https://globalpro.co.in/services/ featuring:
   - Header: rgba(41, 112, 191, 0.97) / #2970bf
   - Accent / Buttons: #117ad7
   - Typography: #222222 primary text, #575760 secondary text
   - Backgrounds: #f7f8f9 page canvas, #ffffff content cards, #e9e9e9 widgets
   - Pill-shaped action buttons (border-radius: 9999px)
   - 2-Column responsive layout (Main article + Right sidebar)
   ========================================================================== */

:root {
  --gp-header-bg: rgba(41, 112, 191, 0.97);
  --gp-header-solid: #2970bf;
  --gp-accent: #117ad7;
  --gp-accent-hover: #0c61ad;
  --gp-contrast: #222222;
  --gp-contrast-2: #575760;
  --gp-contrast-3: #b2b2be;
  --gp-base: #f0f0f0;
  --gp-base-2: #f7f8f9;
  --gp-base-3: #ffffff;
  --gp-widget-bg: #e9e9e9;
  --gp-card-bg: #ffffff;
  --gp-border: #e1e0e0;
  --gp-max-width: 1220px;
}

/* ── Global Top Disclaimer Strip ── */
.gp-disclaimer-banner {
  background-color: #0b1f3a;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.775rem;
  line-height: 1.5;
  padding: 8px 0;
  text-align: center;
}

.gp-disclaimer-banner p {
  margin: 0;
}

.gp-disclaimer-banner strong {
  color: #ffffff;
  font-weight: 600;
}

/* ── Iconic Vibrant Blue Header (#2970bf) ── */
.gp-site-header {
  background-color: var(--gp-header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
  flex-wrap: nowrap;
}

.gp-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gp-brand-logo .logo-icon-gp {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.gp-brand-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.gp-brand-logo span.highlight {
  color: #e0f2fe;
}

.gp-services-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.gp-nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.gp-nav-menu li {
  margin: 0;
  padding: 0;
}

.gp-nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-block;
}

.gp-nav-menu li a:hover,
.gp-nav-menu li a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.gp-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.gp-header-setup-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--gp-accent) !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 7px 16px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gp-header-setup-btn:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.gp-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.gp-cart-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ── Main 2-Column Layout ── */
.gp-page-wrapper {
  background-color: var(--gp-base-2);
  color: var(--gp-contrast);
  min-height: 100vh;
  padding: 32px 0 60px;
}

.gp-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* ── Main Content Area (Left Article, 70%) ── */
.gp-content-card {
  background: var(--gp-card-bg);
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  padding: 42px 46px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.gp-page-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gp-contrast);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gp-base);
}

.gp-section-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gp-contrast);
  margin: 28px 0 16px;
}

.gp-service-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gp-contrast);
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-service-item-title .icon-emoji {
  font-size: 1.35rem;
}

/* Lists and paragraphs */
.gp-list {
  list-style: disc;
  margin: 0 0 20px 24px;
  color: var(--gp-contrast-2);
  line-height: 1.7;
}

.gp-list li {
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.gp-list li strong {
  color: var(--gp-contrast);
  font-weight: 700;
}

.gp-checklist {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  color: var(--gp-contrast-2);
  line-height: 1.7;
}

.gp-checklist li {
  margin-bottom: 10px;
  font-size: 0.96rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gp-checklist li .chk {
  color: #16a34a;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.gp-checklist li strong {
  color: var(--gp-contrast);
  font-weight: 700;
}

/* Dividers matching wp-block-separator */
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--gp-border);
  margin: 32px 0;
}

/* Contact List Block */
.gp-contact-channel-list {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  line-height: 1.8;
  font-size: 0.96rem;
  color: var(--gp-contrast-2);
}

.gp-contact-channel-list li {
  margin-bottom: 8px;
}

.gp-contact-channel-list li strong {
  color: var(--gp-contrast);
}

.gp-contact-channel-list a {
  color: var(--gp-accent);
  text-decoration: none;
  font-weight: 600;
}

.gp-contact-channel-list a:hover {
  text-decoration: underline;
}

/* ── Right Sidebar Area (30%) ── */
.gp-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gp-sidebar-widget {
  background: var(--gp-widget-bg);
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 24px 22px;
}

.gp-sidebar-widget.white-card {
  background: #ffffff;
  border: 1px solid var(--gp-border);
}

.gp-widget-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gp-contrast);
  margin-bottom: 14px;
}

.gp-guide-heading {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gp-contrast);
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gp-ordered-steps {
  list-style: none;
  counter-reset: gp-step-counter;
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--gp-contrast-2);
}

.gp-ordered-steps li {
  counter-increment: gp-step-counter;
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.gp-ordered-steps li::before {
  content: counter(gp-step-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--gp-accent);
}

.gp-ordered-steps li strong {
  color: var(--gp-contrast);
  font-weight: 700;
}

/* ── Iconic Pill Action Buttons (GeneratePress / GlobalPro Style) ── */
.wp-block-button__link,
.gp-button-pill {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: var(--gp-accent);
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(17, 122, 215, 0.25);
  font-family: inherit;
}

.wp-block-button__link:hover,
.gp-button-pill:hover {
  background-color: var(--gp-accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 122, 215, 0.35);
}

/* ── Top Full-Width Hero Section: Printer Setup & Drivers ── */
.gp-top-setup-section {
  background: #ffffff;
  border-bottom: 1px solid var(--gp-border);
  padding: 34px 0 38px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.gp-top-setup-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 28px;
}

.gp-top-setup-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  color: #0284c7;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.gp-top-setup-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gp-contrast);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.gp-top-setup-subtitle {
  font-size: 1.02rem;
  color: var(--gp-contrast-2);
  line-height: 1.6;
  margin: 0;
}

.gp-top-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gp-top-brand-card {
  background: #ffffff;
  border: 1px solid var(--gp-border);
  border-radius: 14px;
  padding: 22px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gp-top-brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--gp-accent);
  box-shadow: 0 12px 28px rgba(17, 122, 215, 0.12);
}

.gp-top-card-img {
  width: 100%;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 6px;
}

.gp-top-card-img img {
  max-width: 95%;
  max-height: 135px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.gp-top-brand-card:hover .gp-top-card-img img {
  transform: scale(1.06);
}

.gp-top-brand-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gp-contrast);
  margin-bottom: 14px;
  white-space: nowrap;
}

.gp-top-brand-card .btn-start-top {
  width: 100%;
  padding: 11px 16px;
  background: var(--gp-accent);
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  display: block;
  text-align: center;
  box-sizing: border-box;
  margin-top: auto;
  box-shadow: 0 2px 6px rgba(17, 122, 215, 0.22);
}

.gp-top-brand-card .btn-start-top:hover {
  background: var(--gp-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(17, 122, 215, 0.35);
}

@media (max-width: 992px) {
  .gp-top-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .gp-top-setup-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 540px) {
  .gp-top-brand-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gp-top-setup-section {
    padding: 24px 0 28px;
  }
  .gp-top-setup-title {
    font-size: 1.55rem;
  }
}

/* ── Simple In-Page Brand Selector Grid (4 Cards Row) ── */
.gp-simple-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}

.gp-simple-brand-card {
  background: #ffffff;
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: all 0.2s ease;
}

.gp-simple-brand-card:hover {
  transform: translateY(-3px);
  border-color: var(--gp-accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.gp-simple-card-img {
  width: 100%;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.gp-simple-card-img img {
  max-width: 95%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gp-simple-brand-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gp-contrast);
  margin-bottom: 12px;
  white-space: nowrap;
}

.gp-simple-brand-card .btn-start-simple {
  width: 100%;
  padding: 9px 12px;
  background: var(--gp-accent);
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap !important;
  display: block;
  text-align: center;
  box-sizing: border-box;
  margin-top: auto;
}

.gp-simple-brand-card .btn-start-simple:hover {
  background: var(--gp-accent-hover);
}

/* ══════════════════════════════════════════════════════════════════════════
   FULL SCREEN PRINTER SETUP POPUP MODAL (MATCHING USER SCREENSHOT)
   ══════════════════════════════════════════════════════════════════════════ */
.setup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 18, 30, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.setup-modal-overlay.active {
  opacity: 1;
}

.setup-modal-content {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  text-align: center;
  padding: 40px 16px;
}

.setup-modal-close {
  display: none !important;
}

.setup-modal-header {
  margin-bottom: 30px;
}

.setup-modal-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.setup-modal-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  font-weight: 500;
}

.setup-modal-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.setup-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 18px 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.setup-modal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.setup-card-img-box {
  width: 100%;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 4px;
}

.setup-card-img-box img {
  max-width: 95%;
  max-height: 155px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  display: block;
  margin: 0 auto;
}

.setup-modal-card:hover .setup-card-img-box img {
  transform: scale(1.05);
}

.setup-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.setup-card-btn {
  width: 100%;
  display: block;
  text-align: center;
  background: #0072b2;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 178, 0.3);
  margin-top: auto;
  white-space: nowrap !important;
  box-sizing: border-box;
}

.setup-card-btn:hover {
  background: #005a8f;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 114, 178, 0.45);
}

@media (max-width: 1024px) {
  .setup-modal-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .setup-modal-title {
    font-size: 2.1rem;
  }
  .gp-simple-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .setup-modal-cards-grid {
    grid-template-columns: 1fr;
  }
  .setup-modal-title {
    font-size: 1.65rem;
  }
  .setup-modal-subtitle {
    font-size: 0.95rem;
  }
  .gp-simple-brand-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Sidebar Brand Cards */
.gp-sidebar-brand-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.gp-sidebar-brand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #ffffff;
  border: 1.5px solid var(--gp-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--gp-contrast);
  transition: all 0.2s ease;
}

.gp-sidebar-brand-item:hover {
  border-color: var(--gp-accent);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.gp-sb-brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gp-sb-badge {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gp-sb-brand-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gp-contrast);
}

.gp-sb-brand-text span {
  font-size: 0.74rem;
  color: #64748b;
}

.gp-sb-arrow {
  color: #94a3b8;
  transition: transform 0.2s;
}

.gp-sidebar-brand-item:hover .gp-sb-arrow {
  color: var(--gp-accent);
  transform: translateX(3px);
}


/* Sidebar Quick Ticket Form */
.gp-sidebar-form .gp-form-field {
  margin-bottom: 12px;
}

.gp-sidebar-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gp-contrast);
  margin-bottom: 4px;
}

.gp-sidebar-form input,
.gp-sidebar-form select,
.gp-sidebar-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--gp-contrast);
  outline: none;
  transition: border-color 0.2s;
}

.gp-sidebar-form input:focus,
.gp-sidebar-form select:focus,
.gp-sidebar-form textarea:focus {
  border-color: var(--gp-accent);
  box-shadow: 0 0 0 2px rgba(17, 122, 215, 0.15);
}

.gp-ticket-result-box {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.gp-ticket-result-box h5 {
  font-size: 1.05rem;
  color: #065f46;
  font-weight: 800;
  margin-bottom: 6px;
}

.gp-ticket-result-box p {
  font-size: 0.84rem;
  color: #047857;
  margin-bottom: 10px;
}

.gp-ticket-code {
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  color: #117ad7;
  background: #ffffff;
  border: 1px dashed #6ee7b7;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

/* ── Clean GeneratePress-Style Footer ── */
.gp-site-footer {
  background: #ffffff;
  border-top: 1px solid var(--gp-border);
  padding: 24px 0;
  font-size: 0.86rem;
  color: var(--gp-contrast-2);
}

.gp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gp-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-footer-links a {
  color: var(--gp-contrast-2);
  text-decoration: none;
  transition: color 0.2s;
}

.gp-footer-links a:hover {
  color: var(--gp-accent);
  text-decoration: underline;
}

/* Legal Non-Affiliation Notice */
.gp-legal-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.775rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 30px;
}

.gp-legal-box strong {
  color: #334155;
}

/* ══════════════════════════════════════════════════════════════════════════
   BACKWARD COMPATIBILITY: Existing Brand Setup Pages (hp, canon, etc.)
   ══════════════════════════════════════════════════════════════════════════ */
.pz-disclaimer-strip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--gp-accent);
  border-radius: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pz-pill-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pz-brand-detail-shell {
  max-width: 920px;
  margin: 30px auto;
  padding: 0 20px;
}

.pz-brand-detail-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid var(--gp-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 36px 40px;
}

.pz-brand-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gp-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.pz-back-link {
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pz-back-link:hover {
  color: var(--gp-contrast);
}

.brand-monogram-badge {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.rating-badge-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rating-badge-pill .gold-stars {
  color: #f59e0b;
}

.pz-wizard-nav {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
  margin-bottom: 24px;
}

.pz-wizard-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pz-wizard-tab.active {
  background: #ffffff;
  color: var(--gp-contrast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pz-tab-content {
  display: none;
}

.pz-tab-content.active {
  display: block;
}

.pz-step-box {
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #ffffff;
}

.pz-step-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--gp-contrast);
  font-size: 0.96rem;
  cursor: pointer;
}

.pz-step-counter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.pz-step-box-body {
  margin-top: 10px;
  padding-left: 38px;
  color: var(--gp-contrast-2);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pz-driver-safety-box {
  background: #f0fdf4;
  border: 1.5px dashed #86efac;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  margin: 20px 0;
}

.pz-driver-safety-box h3 {
  font-size: 1.15rem;
  color: #166534;
  margin-bottom: 6px;
}

.pz-driver-safety-box p {
  font-size: 0.88rem;
  color: #15803d;
  max-width: 500px;
  margin: 0 auto 16px;
}

.pz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pz-btn-primary {
  background: var(--gp-accent);
  color: #ffffff;
}

.card-theme-hp .brand-monogram-badge { background: linear-gradient(135deg, #0284c7, #0369a1); }
.card-theme-canon .brand-monogram-badge { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.card-theme-epson .brand-monogram-badge { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.card-theme-brother .brand-monogram-badge { background: linear-gradient(135deg, #1e40af, #0f172a); }

/* ── Responsive Behavior ── */
@media (max-width: 1080px) {
  .gp-header-inner {
    height: 64px;
    gap: 10px;
  }
  .gp-brand-logo {
    font-size: 1.15rem;
  }
  .gp-nav-menu {
    gap: 4px;
  }
  .gp-nav-menu li a {
    font-size: 0.84rem;
    padding: 5px 8px;
  }
  .gp-header-setup-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 860px) {
  .gp-main-grid {
    grid-template-columns: 1fr;
  }
  .gp-content-card {
    padding: 30px 24px;
  }
  .gp-header-inner {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
  }
  .gp-nav-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 6px;
    padding: 6px 0 2px;
    scrollbar-width: none;
  }
  .gp-nav-menu::-webkit-scrollbar {
    display: none;
  }
  .gp-page-title {
    font-size: 1.85rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   FAQ SECTION (GENERATEPRESS ACCORDION STYLING)
   ══════════════════════════════════════════════════════════════════════════ */
.gp-faq-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gp-faq-item {
  background: #ffffff;
  border: 1.5px solid var(--gp-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.gp-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gp-faq-question {
  width: 100%;
  padding: 16px 20px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  gap: 14px;
}

.gp-faq-question:hover {
  background: #f8fafc;
  color: var(--gp-accent);
}

.gp-faq-question.active {
  color: var(--gp-accent);
  background: #f0f7ff;
}

.gp-faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gp-accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.gp-faq-question.active .gp-faq-icon {
  transform: rotate(45deg);
}

.gp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #ffffff;
}

.gp-faq-answer.open {
  max-height: 500px;
  padding: 14px 20px 20px;
  border-top: 1px solid #f1f5f9;
}

.gp-faq-answer p {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   OFFICIAL HP PRINTER SETUP & DRIVER PORTAL STYLING (HP SCREENSHOT REPLICA)
   ========================================================================== */

/* Outer Shell Card */
.hp-official-shell {
  background: #f8fafc;
  padding: 30px 0 60px;
}

.hp-official-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 32px 40px 40px;
  position: relative;
  overflow: hidden;
}

/* ── Top Bar: Welcome + Product Type Icons ── */
.hp-portal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
}

.hp-portal-main-heading {
  font-size: 1.55rem;
  font-weight: 700;
  color: #007a3d; /* Authentic HP Green */
  margin: 0;
  letter-spacing: -0.01em;
}

.hp-product-type-selector {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hp-type-label {
  font-size: 0.92rem;
  color: #475569;
  font-weight: 500;
}

.hp-type-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-type-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #007dba;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hp-type-btn:hover {
  border-color: #007dba;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.hp-type-btn.active {
  background: #007dba;
  border-color: #007dba;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 125, 186, 0.3);
}

.hp-sub-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 0 0 32px;
}

/* ── 2-Column Split Layout ── */
.hp-split-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── LEFT COLUMN: The Driver Form ── */
.hp-split-left {
  border-right: 1px solid #e2e8f0;
  padding-right: 44px;
}

.hp-split-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.hp-split-subtitle {
  font-size: 1.02rem;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.55;
}

.hp-driver-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hp-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-form-row label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
}

.hp-input-search-box {
  position: relative;
  width: 100%;
}

.hp-input-search-box input {
  width: 100%;
  padding: 13px 44px 13px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px; /* Pill shape matching HP screenshot */
  font-size: 0.98rem;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  background: #ffffff;
}

.hp-input-search-box input:focus {
  border-color: #007dba;
  box-shadow: 0 0 0 3px rgba(0, 125, 186, 0.15);
}

.hp-input-search-box .search-lens {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.hp-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp-form-grid-2 input,
.hp-form-grid-2 select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  background: #ffffff;
}

.hp-form-grid-2 input:focus,
.hp-form-grid-2 select:focus {
  border-color: #007dba;
  box-shadow: 0 0 0 3px rgba(0, 125, 186, 0.15);
}

.btn-download-driver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #007dba; /* Authentic HP Blue */
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.08rem;
  padding: 14px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 125, 186, 0.35);
  margin-top: 6px;
  width: 100%;
}

.btn-download-driver:hover {
  background: #005a8f;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 125, 186, 0.45);
}

.hp-form-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 4px;
}

/* Ready Download Confirmation Card */
.hp-driver-ready-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.hp-ready-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.hp-ready-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #166534;
  margin: 0 0 6px;
}

.hp-ready-desc {
  font-size: 0.9rem;
  color: #15803d;
  margin: 0 0 18px;
  line-height: 1.5;
}

.hp-download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-btn-download-main {
  background: #16a34a;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
  transition: background 0.2s;
}

.hp-btn-download-main:hover {
  background: #15803d;
}

.hp-btn-download-sec {
  background: #ffffff;
  color: #007dba !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #bae6fd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.hp-btn-download-sec:hover {
  background: #f0f9ff;
}

/* ── RIGHT COLUMN: Where to find product name ── */
.hp-split-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hp-finder-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-finder-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: -10px 0 16px 0;
}

.hp-finder-carousel {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
}

.hp-finder-slide-track {
  width: 100%;
}

.hp-finder-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInSlide 0.3s ease;
  width: 100%;
}

.hp-finder-slide.active {
  display: flex;
}

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

.hp-finder-visual {
  position: relative;
  width: 100%;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 14px;
}

.hp-finder-base-img {
  max-width: 90%;
  max-height: 185px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.hp-finder-visual:hover .hp-finder-base-img {
  transform: scale(1.04);
}

.hp-slide-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #007dba;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hp-slide-badge.canon {
  background: #cc0000;
}

.hp-slide-badge.epson {
  background: #003399;
}

.hp-slide-badge.brother {
  background: #19469d;
}

.hp-slide-model-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.hp-slide-model-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 14px;
  max-width: 380px;
}

.hp-btn-select-model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hp-btn-select-model:hover {
  background: #007dba;
  color: #ffffff;
  border-color: #007dba;
}

.hp-btn-select-model.canon:hover {
  background: #cc0000;
  border-color: #cc0000;
}

.hp-btn-select-model.epson:hover {
  background: #003399;
  border-color: #003399;
}

.hp-btn-select-model.brother:hover {
  background: #19469d;
  border-color: #19469d;
}

.hp-caro-arrow {
  position: absolute;
  top: 120px;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.hp-caro-arrow:hover {
  background: #f8fafc;
  color: #0f172a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hp-caro-arrow.prev {
  left: 10px;
}

.hp-caro-arrow.next {
  right: 10px;
}

.hp-slide-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.hp-slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hp-slide-dots .dot.active {
  background: #007dba;
  width: 24px;
  border-radius: 10px;
}

.hp-slide-dots.canon .dot.active {
  background: #cc0000;
}

.hp-slide-dots.epson .dot.active {
  background: #003399;
}

.hp-slide-dots.brother .dot.active {
  background: #19469d;
}

/* Vertical Connect with Expert Tab (Right edge) */
.hp-side-feedback-tab {
  position: fixed;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  background: #007dba;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 14px 7px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: -2px 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 999;
  text-decoration: none;
  transition: background 0.2s, padding 0.2s;
  letter-spacing: 0.6px;
}

.hp-side-feedback-tab:hover {
  background: #005a8f;
  padding-right: 10px;
}

/* ── Responsive Behavior ── */
@media (max-width: 980px) {
  .hp-split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hp-split-left {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 32px;
  }
  .hp-portal-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hp-product-type-selector {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hp-official-card {
    padding: 24px 18px;
  }
  .hp-split-title {
    font-size: 1.75rem;
  }
  .hp-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .hp-finder-visual {
    height: 180px;
  }
  .hp-finder-base-img {
    max-height: 145px;
  }
}

/* ==========================================================================
   POPUP DRIVER WIZARD MODAL (QUICK DOWNLOAD FREE DRIVERS)
   ========================================================================== */
.wizard-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.wizard-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wizard-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
}

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

.wizard-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.wizard-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.01em;
}

.wizard-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.wizard-modal-close:hover {
  color: #111827;
  background: #f3f4f6;
}

.wizard-modal-body {
  padding: 24px 28px 28px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Step 1 Styles */
.wizard-step-1 {
  text-align: center;
}

.btn-wizard-blue {
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
  transition: background 0.15s, transform 0.1s;
}

.btn-wizard-blue:hover {
  background: #0052cc;
}

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

.wizard-step1-subtitle {
  margin: 12px 0 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1f2937;
}

/* Step 2 Styles */
.wizard-step-prompt {
  font-size: 1.02rem;
  color: #4b5563;
  margin: 0 0 12px;
  text-align: left;
  font-weight: 500;
}

.wizard-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 18px;
}

.wizard-connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.wizard-conn-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wizard-conn-thumb {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}

.wizard-conn-label {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.35;
}

.wizard-conn-label strong {
  color: #111827;
  font-weight: 700;
}

/* Step 3 & 4 (Wait / Error) Styles */
.wizard-center-content {
  text-align: center;
  padding: 10px 0;
}

.wizard-wait-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #4b5563;
  margin: 0 0 14px;
}

.wizard-status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.98rem;
  font-weight: 500;
}

.wizard-searching-text {
  color: #4b5563;
}

.wizard-error-text {
  color: #ef4444;
  font-weight: 600;
}

/* Spinning Arc Loader */
@keyframes wizardSpinAnimation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wizard-spinner-arc {
  width: 24px;
  height: 24px;
  border: 3px solid #e5e7eb;
  border-top-color: #00b4d8;
  border-right-color: #00b4d8;
  border-radius: 50%;
  animation: wizardSpinAnimation 0.85s linear infinite;
}

.wizard-error-dots {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #fca5a5;
  border-top-color: #ef4444;
  display: inline-block;
}

/* Step 5 (Manual Form) Styles */
.wizard-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 26px 24px;
  text-align: left;
}

.wizard-form-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
}

.wizard-form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.wizard-input-control {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  background: #ffffff;
  color: #1e293b;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wizard-input-control:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.btn-wizard-download-pill {
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.28);
  transition: background 0.15s, transform 0.1s;
}

.btn-wizard-download-pill:hover {
  background: #0052cc;
}

.btn-wizard-download-pill:active {
  transform: scale(0.98);
}

/* Authentic System Diagnostic Error Panel (Realistic Utility UI) */
.wizard-real-error-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 20px 18px;
  text-align: left;
}

.wizard-real-error-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.wizard-real-error-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.wizard-real-error-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.wizard-real-error-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

.wizard-diag-table {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 14px;
  margin: 14px 0 10px;
}

.wizard-diag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

.wizard-diag-row:last-child {
  border-bottom: none;
}

.wizard-diag-col-label {
  color: #64748b;
  font-weight: 500;
}

.wizard-diag-col-val {
  color: #1e293b;
  font-weight: 600;
}

.wizard-diag-col-val.code-val {
  color: #dc2626;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.wizard-real-error-instruction {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  margin: 10px 0 16px;
}

.btn-wizard-chat-expert {
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 102, 255, 0.25);
  transition: background 0.15s, transform 0.1s;
}

.btn-wizard-chat-expert:hover {
  background: #0052cc;
}

.btn-wizard-chat-expert:active {
  transform: scale(0.99);
}


/* Floating Live Chat Widget */
.live-chat-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  z-index: 1000000;
  overflow: hidden;
  display: none;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  animation: slideUpChat 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

.live-chat-header {
  background: #0066ff;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-agent-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-agent-name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-agent-status {
  font-size: 0.74rem;
  color: #e0f2fe;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  opacity: 0.85;
}

.chat-close-btn:hover {
  opacity: 1;
}

.live-chat-body {
  padding: 16px;
  height: 250px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg.agent {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: #0066ff;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-typing-indicator {
  font-size: 0.78rem;
  color: #64748b;
  display: none;
  align-items: center;
  gap: 6px;
  font-style: italic;
}

.live-chat-footer {
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  gap: 8px;
}

.chat-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.88rem;
  outline: none;
}

.chat-input:focus {
  border-color: #0066ff;
}

.chat-send-btn {
  background: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: #0052cc;
}
