/* ==========================================================================
   Brother India CRM - Modern Design System (Vanilla CSS)
   ========================================================================== */

:root {
  --brother-blue: #003399; /* Brother Signature Corporate Blue */
  --brother-blue-light: #1e5de6;
  --brother-blue-dark: #002266;
  --brother-blue-glow: rgba(0, 51, 153, 0.25);
  
  --ink: #0f172a; /* Slate 900 */
  --muted: #64748b; /* Slate 500 */
  --bg-soft: #f8fafc; /* Slate 50 */
  --bg-alt: #f1f5f9; /* Slate 100 */
  --white: #ffffff;
  --line: #e2e8f0; /* Slate 200 */
  
  --success: #16a34a; /* Green 600 */
  --success-light: #f0fdf4;
  --warning: #d97706; /* Amber 600 */
  --warning-light: #fffbeb;
  
  --font-headings: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-premium: 0 25px 50px -12px rgba(0, 51, 153, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Resets & Typography
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--brother-blue);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

input,
select,
textarea,
button {
  min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.badge-premium {
  display: inline-block;
  background-color: var(--bg-soft);
  color: var(--brother-blue);
  border: 1px solid var(--line);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-round);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

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

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 65ch;
  margin: 0 auto;
}

/* ==========================================================================
   Header Top Utility Strip
   ========================================================================== */
.top-strip {
  background-color: var(--brother-dark, #001f5c);
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  flex-wrap: nowrap;
}

.top-strip-left,
.top-strip-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.top-strip-left {
  gap: 0.65rem;
  flex: 1 1 auto;
  overflow: hidden;
}

.top-strip-right {
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.top-strip-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.helpline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.helpline-item i,
.top-email-link i {
  font-size: 0.72rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.helpline-label {
  opacity: 0.85;
}

.helpline-item a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.helpline-item a:hover {
  color: #60a5fa;
}

.helpline-separator {
  width: 1px;
  height: 0.85rem;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.top-email-link {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.top-email-link:hover {
  color: #ffffff;
}

.top-login-trigger {
  color: #ffffff;
  text-decoration: none;
  background-color: var(--brother-blue);
  border: 1px solid rgba(255, 255, 255, 0.22);
  height: 1.7rem;
  padding: 0 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

.top-login-trigger i {
  font-size: 0.72rem;
  line-height: 1;
}

.top-login-trigger:hover {
  background-color: var(--brother-blue-light);
  color: #ffffff;
}

.top-login-trigger--user .top-user-name {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-login-trigger--logout {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.top-login-trigger--logout:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1199.98px) {
  .top-hours-text,
  .helpline-separator--hours {
    display: none;
  }

  .helpline-label {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .top-email-link .email-text,
  .helpline-separator--email {
    display: none;
  }

  .top-email-link {
    width: 1.7rem;
    height: 1.7rem;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
  }

  .top-login-trigger--user .top-user-name {
    max-width: 7.5rem;
  }
}

@media (max-width: 991.98px) and (min-width: 769px) {
  .nav-item-link {
    font-size: 0.78rem;
    padding: 0.4rem 0.4rem;
  }

  .nav-item-link > i:first-child {
    display: none;
  }
}

/* ==========================================================================
   Main Navigation Header
   ========================================================================== */
.main-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand-image {
  height: 44px;
  width: auto;
  display: block;
}

.mobile-nav-toggle {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
  display: none;
  line-height: 1;
  padding: 0.15rem;
}

.mobile-nav-close {
  display: none;
}

/* Desktop Navbar */
.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  margin-left: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
  flex: 0 0 auto;
}

.nav-item-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.2;
  transition: var(--transition-smooth);
}

.nav-item-link i {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.9;
}

.nav-item-link .dropdown-indicator {
  font-size: 0.7rem;
  opacity: 0.65;
  margin-left: 0.05rem;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--brother-blue);
  background: rgba(0, 75, 147, 0.06);
}

button.nav-item-link,
.nav-item-button {
  background: none;
  border: none;
  font: inherit;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--ink);
  text-align: left;
}

button.nav-item-link:hover,
.nav-item-button:hover,
button.nav-item-link:focus-visible,
.nav-item-button:focus-visible {
  color: var(--brother-blue);
}

.nav-login-item {
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.nav-login-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brother-blue);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-login-cta:hover {
  background: var(--brother-blue-light);
  color: var(--white) !important;
}

.nav-login-cta--user {
  background: rgba(0, 51, 153, 0.08);
  color: var(--brother-blue) !important;
  border: 1px solid rgba(0, 51, 153, 0.18);
  max-width: 11rem;
}

.nav-login-cta--user span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-login-cta--user:hover {
  background: rgba(0, 51, 153, 0.14);
  color: var(--brother-blue-dark) !important;
}

.nav-login-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-login-cta--logout {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.nav-login-cta--logout:hover {
  background: #dc2626;
  color: var(--white) !important;
  border-color: #dc2626;
}

/* Submenu Dropdown logic */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  list-style: none;
  transition: var(--transition-smooth);
  z-index: 105;
}

/* Hover bridge for dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: 80%;
  left: 0;
  right: 0;
  height: 25px;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .nav-menu .dropdown:hover > .dropdown-menu,
  .main-header .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
  }

  .nav-menu .dropdown:hover .dropdown-indicator,
  .main-header .dropdown:hover .dropdown-indicator {
    transform: rotate(180deg);
  }
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show,
.nav-item-button[aria-expanded="true"] + .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-button[aria-expanded="true"] .dropdown-indicator {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-soft);
  color: var(--brother-blue);
  padding-left: 1.5rem;
}

.dropdown-indicator {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.dropdown:hover .dropdown-indicator {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-customer {
  background-color: var(--bg-soft);
  color: var(--brother-blue);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-customer:hover {
  background-color: var(--brother-blue);
  color: var(--white);
  border-color: var(--brother-blue);
}

.btn-login-nav {
  background-color: var(--brother-blue);
  color: var(--white);
  border: 1px solid var(--brother-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-login-nav:hover {
  background-color: var(--brother-blue-dark);
  border-color: var(--brother-blue-dark);
}

/* ==========================================================================
   Landing Hero (full-bleed)
   ========================================================================== */
.landing-hero {
  position: relative;
  min-height: min(72vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #003399;
  color: var(--white);
}

.landing-hero-media {
  position: absolute;
  inset: 0;
  background-color: #003399;
  background-image:
    linear-gradient(145deg, rgba(0, 34, 102, 0.65) 0%, rgba(0, 51, 153, 0.25) 48%, rgba(30, 93, 230, 0.35) 100%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 36px);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 720px;
}

.landing-hero-brand {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.landing-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.landing-hero-title .highlight {
  color: #93c5fd;
}

.landing-hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 48ch;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.landing-hero .btn-primary-glow {
  background-color: var(--white);
  color: var(--brother-blue);
  border-color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.landing-hero .btn-primary-glow:hover {
  background-color: #e8eefc;
  color: var(--brother-blue-dark);
  border-color: #e8eefc;
}

.quick-grid--primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.landing-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brother-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.landing-secondary-link:hover {
  text-decoration: underline;
}

.trust-strip-section {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.trust-strip-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.trust-strip-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
}

.trust-strip-list i {
  color: var(--brother-blue);
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.trust-strip-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.trust-strip-list span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ==========================================================================
   Hero Carousel Section
   ========================================================================== */
.hero-carousel-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  color: var(--white);
  max-width: 800px;
  padding-bottom: 2rem;
  animation: slideContentUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-eyebrow {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #93c5fd; /* Soft blue */
  margin-bottom: 1rem;
}

.slide-title {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.slide-title .highlight {
  color: #60a5fa; /* Glow accent */
}

.slide-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.25rem;
  max-width: 65ch;
}

.slide-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-glow {
  background-color: var(--brother-blue);
  color: var(--white);
  border: 1px solid var(--brother-blue);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary-glow:hover {
  background-color: var(--brother-blue-light);
  border-color: var(--brother-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 51, 153, 0.5);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--brother-blue);
  transform: translateY(-2px);
}

/* Carousel Controls */
.carousel-ctrl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.carousel-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.carousel-ctrl-btn.prev {
  left: 1.5rem;
}

.carousel-ctrl-btn.next {
  right: 1.5rem;
}

/* Indicators */
.carousel-indicators-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator.active {
  background-color: var(--white);
  width: 32px;
  border-radius: var(--radius-round);
}

/* ==========================================================================
   Quick Services Grid Section
   ========================================================================== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 51, 153, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--bg-soft);
  color: var(--brother-blue);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
  background-color: var(--brother-blue);
  color: var(--white);
  transform: scale(1.05) rotate(3deg);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-action-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brother-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.service-card:hover .card-action-link {
  color: var(--brother-blue-light);
}

.service-card:hover .card-action-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   Live Stats Counter Dashboard Section
   ========================================================================== */
.stats-dashboard-section {
  background: linear-gradient(135deg, var(--brother-blue-dark) 0%, var(--brother-blue) 100%);
  color: var(--white);
  padding: 4.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #93c5fd; /* Light blue accent */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-desc {
  font-size: 0.85rem;
  opacity: 0.8;
  max-width: 25ch;
  margin: 0 auto;
}

/* ==========================================================================
   Benefits of Brother Care (Visual Connections)
   ========================================================================== */
.benefits-visual-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4.5rem;
  position: relative;
}

.benefit-column {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.benefit-bubble-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.benefit-bubble-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.1);
}

.bubble-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-soft);
  color: var(--brother-blue);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 51, 153, 0.05);
}

.bubble-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.bubble-content p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Center Visual Node */
.benefit-center-graphic {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}

.outer-ring {
  width: 100%;
  height: 100%;
  animation: rotateSpin 60s linear infinite;
}

.middle-ring {
  width: 78%;
  height: 78%;
  border: 1px solid rgba(0, 51, 153, 0.1);
}

.inner-ring {
  width: 54%;
  height: 54%;
  background-color: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.center-logo {
  width: 60%;
  height: auto;
}

.center-node-label {
  position: absolute;
  bottom: 12%;
  background-color: var(--brother-blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-round);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Tabbed Ethos Section
   ========================================================================== */
.ethos-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.ethos-tabs-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ethos-tab-btn {
  background: none;
  border: 1px solid transparent;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;
  transition: var(--transition-smooth);
}

.ethos-tab-btn i {
  font-size: 1.35rem;
  color: var(--muted);
  transition: var(--transition-smooth);
}

.ethos-tab-btn:hover {
  background-color: var(--bg-soft);
  color: var(--brother-blue);
}

.ethos-tab-btn.active {
  background-color: var(--brother-blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 51, 153, 0.25);
}

.ethos-tab-btn.active i {
  color: var(--white);
}

.ethos-content-side {
  background-color: var(--white);
  border: 1px solid var(--line);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ethos-pane {
  display: none;
  animation: modalFadeIn 0.4s ease;
}

.ethos-pane.active {
  display: block;
}

.ethos-pane h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.ethos-pane p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.ethos-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.ethos-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1rem;
}

.ethos-list li i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Floating Action Hub (FAB Support Menu)
   ========================================================================== */
.floating-support-hub {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 95;
}

.support-fab-trigger {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brother-blue) 0%, var(--brother-blue-light) 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 98;
  position: relative;
  transition: var(--transition-smooth);
}

.support-fab-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 51, 153, 0.45);
}

.support-fab-trigger.active {
  background: #f43f5e; /* Rose 500 red */
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.35);
  transform: rotate(90deg);
}

.support-fab-trigger.active i::before {
  content: "\f659"; /* Bootstrap icon X-lg */
  font-family: "bootstrap-icons";
}

.support-fab-menu {
  position: absolute;
  bottom: calc(100% + 15px);
  right: 0;
  width: 320px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: var(--transition-smooth);
}

.support-fab-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.support-fab-menu[hidden],
.custom-modal-backdrop[hidden] {
  display: none !important;
}

.fab-header {
  background: linear-gradient(135deg, var(--brother-blue-dark) 0%, var(--brother-blue) 100%);
  padding: 1.25rem;
  color: var(--white);
}

.fab-header h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.fab-header p {
  font-size: 0.8rem;
  opacity: 0.85;
}

.fab-list {
  padding: 0.75rem;
  background-color: var(--white);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition-smooth);
}

.fab-item:hover {
  background-color: var(--bg-soft);
  transform: translateX(4px);
}

.fab-item i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.fab-item-desc {
  display: flex;
  flex-direction: column;
}

.fab-item-desc strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.fab-item-desc span {
  font-size: 0.75rem;
  color: var(--muted);
}

.text-success-bright {
  color: #22c55e !important;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 2.25rem;
  right: calc(2.25rem + 72px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--line);
  color: var(--brother-blue);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 94;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--brother-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* ==========================================================================
   Premium Footer Section
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, #09122a 0%, #030818 100%) !important;
  color: #94a3b8 !important;
  border-top: 3px solid var(--brother-blue);
  padding: 1.75rem 0 0;
  font-size: 0.8rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brother-blue) 0%, #60a5fa 50%, var(--brother-blue) 100%);
  background-size: 200% 100%;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding-bottom: 1.25rem;
  align-items: start;
}

.brand-col .brand-image,
.footer-brand-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 0;
  display: block;
}

.footer .brand-link {
  display: inline-block;
  background: transparent;
  padding: 0;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  line-height: 1.4;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
  color: #94a3b8;
  max-width: 22ch;
}

.footer-socials {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  background-color: var(--brother-blue);
  border-color: var(--brother-blue);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  font-family: var(--font-headings);
  position: relative;
  padding-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--brother-blue-light);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-links-columns {
  display: block;
  columns: 2;
  column-gap: 1rem;
}

.footer-links-columns li {
  break-inside: avoid;
  margin-bottom: 0.3rem;
}

.footer-links-list li a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.35;
  transition: var(--transition-smooth);
}

.footer-links-list li a:hover {
  color: var(--white);
}

.footer-links-list .external-icon {
  font-size: 0.65rem;
  color: #94a3b8;
}

.footer-links-list li a:hover .external-icon {
  color: var(--white);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.35;
}

.footer-contact-list i {
  color: var(--brother-blue-light);
  font-size: 0.78rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact-list a:hover {
  color: #60a5fa;
}

.footer-contact-list strong {
  color: #cbd5e1;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.65rem 0;
  font-size: 0.74rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.visitor-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
}

.visitor-count strong {
  color: #e2e8f0;
  font-weight: 600;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Interactive Modals Overlays (Official Login / WhatsApp)
   ========================================================================== */
.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 15, 33, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.custom-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal-content {
  background-color: var(--white);
  width: min(480px, calc(100% - 2rem));
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.95);
  transition: var(--transition-smooth);
  border: 1px solid var(--line);
}

.custom-modal-backdrop.show .custom-modal-content {
  transform: scale(1);
}

.modal-header-gradient {
  background: linear-gradient(135deg, var(--brother-blue-dark) 0%, var(--brother-blue) 100%);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-icon-container {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.modal-header-text h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.modal-header-text span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.modal-close-cross {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-smooth);
  line-height: 1;
}

.modal-close-cross:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body-padding {
  padding: 2rem 2.25rem;
}

.serial-guide-modal {
  z-index: 1200;
  padding: 1rem;
}

.serial-guide-modal-content {
  width: min(760px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.serial-guide-body {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 112px);
  padding: .75rem;
  background: var(--bg-soft);
  overflow: hidden;
}

.serial-guide-body img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.serial-guide-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  flex-shrink: 0;
  margin-top: .5rem;
  padding: .5rem .7rem;
  border-radius: var(--radius-md);
  background: #eaf2ff;
  color: #24436f;
  font-size: .82rem;
  line-height: 1.5;
}

.serial-guide-note i {
  color: var(--brother-blue);
  margin-top: .1rem;
}

/* ==========================================================================
   BROTHER-BRANDED SWEETALERT
   ========================================================================== */
.swal2-popup.brother-swal-popup {
  width: min(420px, calc(100vw - 1.5rem)) !important;
  padding: 1.5rem 1.5rem 1.25rem !important;
  border: 1px solid #dce4f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(7, 28, 77, .24) !important;
  font-family: var(--font-body) !important;
}

.brother-swal-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--brother-blue-dark), var(--brother-blue-light));
}

.brother-swal-icon {
  width: 64px !important;
  height: 64px !important;
  margin: .25rem auto .9rem !important;
  border-width: 3px !important;
  font-size: .86rem !important;
}

.brother-swal-title {
  padding: 0 !important;
  color: var(--ink) !important;
  font-family: var(--font-headings) !important;
  font-size: 1.3rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

.brother-swal-message {
  margin: .55rem 0 0 !important;
  padding: 0 .25rem !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
  line-height: 1.6 !important;
}

.brother-swal-actions {
  width: 100% !important;
  margin: 1.25rem 0 0 !important;
  gap: .65rem !important;
}

.brother-swal-confirm,
.brother-swal-cancel {
  min-width: 120px;
  min-height: 42px;
  padding: .65rem 1.2rem;
  border: 0;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.brother-swal-confirm {
  color: #fff;
  background: linear-gradient(135deg, var(--brother-blue-dark), var(--brother-blue-light));
  box-shadow: 0 5px 14px rgba(0, 51, 153, .28);
}

.brother-swal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 51, 153, .36);
}

.brother-swal-cancel {
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #dbe3ee;
}

.brother-swal-cancel:hover {
  color: var(--ink);
  background: #e8eef6;
}

.brother-swal-confirm:focus-visible,
.brother-swal-cancel:focus-visible {
  outline: 3px solid var(--brother-blue-glow);
  outline-offset: 2px;
}

.brother-swal-close {
  top: .55rem !important;
  right: .65rem !important;
  color: #94a3b8 !important;
  font-size: 1.7rem !important;
  transition: color .18s ease, transform .18s ease !important;
}

.brother-swal-close:hover {
  color: var(--brother-blue) !important;
  transform: rotate(90deg);
}

.swal2-popup.brother-swal-toast {
  border: 1px solid #dce4f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(7, 28, 77, .16) !important;
  font-family: var(--font-body) !important;
}

.brother-swal-toast-title {
  color: var(--ink) !important;
  font-size: .84rem !important;
  font-weight: 650 !important;
}

/* Keep SweetAlert2's unused input widgets hidden (Select2 must not restyle them). */
.swal2-popup .swal2-select,
.swal2-popup .select2-container {
  display: none !important;
}

.input-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.input-group-custom label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i.bi-person,
.input-with-icon i.bi-key {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.input-with-icon input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.95rem;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.input-with-icon input:focus {
  border-color: var(--brother-blue);
  box-shadow: 0 0 0 3.5px var(--brother-blue-glow);
}

.password-toggle-eye {
  position: absolute;
  right: 1rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.password-toggle-eye:hover {
  color: var(--brother-blue);
}

/* Captcha Layout */
.captcha-flex-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.captcha-render-box {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.25rem;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #1e3a8a;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
  user-select: none;
  min-width: 110px;
  text-align: center;
  background-image: radial-gradient(rgba(0,0,0,0.15) 1px, transparent 0);
  background-size: 8px 8px;
}

.captcha-math-box {
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  min-width: 140px;
  white-space: nowrap;
}

.captcha-refresh-btn {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brother-blue);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.captcha-refresh-btn:hover {
  background-color: var(--line);
  transform: rotate(180deg);
}

.captcha-flex-row input {
  flex-grow: 1;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
  text-align: center;
  font-weight: 700;
}

.captcha-flex-row input:focus {
  border-color: var(--brother-blue);
  box-shadow: 0 0 0 3.5px var(--brother-blue-glow);
}

.field-validation-msg {
  font-size: 0.78rem;
  color: #ef4444; /* red 500 */
  min-height: 18px;
  display: block;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.85rem;
}

.remember-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  color: var(--muted);
}

.remember-checkbox input {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.forgot-link {
  color: var(--brother-blue);
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-login-submit {
  width: 100%;
  background-color: var(--brother-blue);
  color: var(--white);
  border: none;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}

.btn-login-submit:hover {
  background-color: var(--brother-blue-dark);
  box-shadow: 0 6px 16px rgba(0, 51, 153, 0.3);
}

/* WhatsApp Specific modal additions */
.wa-modal-content {
  width: min(500px, calc(100% - 2rem));
}

.wa-header-gradient {
  background: linear-gradient(135deg, #115e59 0%, #14b8a6 100%);
}

.wa-icon-container {
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.wa-intro {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.wa-qr-container {
  margin: 1.5rem auto 1.75rem;
}

.wa-qr-box {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  background-color: #f8fafc;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wa-qr-box--real {
  width: 220px;
  height: 220px;
  padding: 0.75rem;
  background: var(--white);
}

.wa-qr-box--real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Render an abstract dummy QR code grid block */
.qr-code-grid {
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, #1e293b 25%, transparent 25%),
    linear-gradient(-45deg, #1e293b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1e293b 75%),
    linear-gradient(-45deg, transparent 75%, #1e293b 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.18;
}

.qr-overlay-icon {
  position: absolute;
  font-size: 2.5rem;
  color: #0f766e; /* Teal 700 */
  background-color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.qr-subtext {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.wa-steps-list {
  background-color: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.wa-step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.wa-step-item .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #0f766e;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.btn-whatsapp-chat {
  background-color: #0f766e;
  color: var(--white);
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
  transition: var(--transition-smooth);
}

.btn-whatsapp-chat:hover {
  background-color: #115e59;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   CSS Keyframe Animations
   ========================================================================== */
@keyframes slideContentUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  
  .benefits-visual-layout {
    flex-direction: column;
    gap: 3rem;
  }
  
  .benefit-column {
    width: 100%;
    gap: 1.5rem;
  }
  
  .ethos-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.75rem;
  }

  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .top-strip {
    display: none; /* Hide top strip on smaller devices to save vertical space */
  }
  
  .main-header {
    top: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
    order: 3;
    margin-left: 0.35rem;
  }

  .nav-login-item {
    order: 2;
    margin-left: auto;
  }

  .nav-login-cta {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }

  .nav-login-cta span {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  body.mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 9999;
  }
  
  /* Mobile drawer navigation slide-in from right */
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2.25rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 10000;
    margin-left: 0;
  }
  
  .navbar.mobile-active {
    right: 0;
  }
  
  .mobile-nav-close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--ink);
    cursor: pointer;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.25rem;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-item-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.05rem;
  }
  
  /* Render mobile nested dropdowns directly in line */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1.25rem;
    min-width: 0;
    display: none; /* Controlled by toggle if needed, or displayed in line */
  }
  
  .dropdown:hover .dropdown-menu,
  .dropdown-menu.show,
  .nav-item-button[aria-expanded="true"] + .dropdown-menu {
    display: block;
  }
  
  .dropdown:hover .dropdown-indicator,
  .nav-item-button[aria-expanded="true"] .dropdown-indicator {
    transform: rotate(180deg);
  }
  
  .header-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }
  
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero Carousel Mobile Adjustments */
  .hero-carousel-section {
    height: 480px;
  }
  
  .slide-title {
    font-size: 2.25rem;
  }
  
  .slide-lead {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .carousel-ctrl-btn {
    display: none; /* Hide arrow controls on mobile, rely on indicators/swipe */
  }
  
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .quick-grid--primary,
  .trust-strip-list {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .landing-hero-inner {
    padding: 3rem 0 2.75rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
    padding-bottom: 1rem;
  }

  .brand-col {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .contact-col {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-links-columns {
    columns: 1;
  }
  
  .modal-body-padding {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   PAGE HERO STRIP  (shared across all inner pages)
   ========================================================================== */
.page-hero-strip {
  background: linear-gradient(135deg, var(--brother-blue-dark) 0%, var(--brother-blue) 60%, var(--brother-blue-light) 100%);
  padding: .85rem 0 1rem;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.page-hero-strip--compact {
  padding: .65rem 0 .75rem;
}
.page-hero-strip--compact .breadcrumb-trail {
  margin-bottom: .25rem;
  justify-content: flex-start;
  text-align: left;
}
.page-hero-strip--compact .page-hero-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-bottom: .25rem;
  text-align: left;
}
.page-hero-strip--compact .page-hero-lead {
  font-size: .84rem;
  line-height: 1.4;
  max-width: 560px;
  margin-bottom: 0;
  margin-left: 0;
  text-align: left;
}
.page-hero-strip--compact .page-hero-inner {
  gap: .85rem;
  text-align: left;
}
.page-hero-badge--compact {
  gap: .55rem;
  padding: .45rem .8rem;
}
.page-hero-badge--compact .hero-v2-badge-icon,
.page-hero-badge--compact i {
  font-size: 1.05rem;
}
.page-hero-badge--compact strong {
  font-size: .82rem;
  display: block;
  line-height: 1.15;
}
.page-hero-badge--compact small {
  font-size: .68rem;
}
.page-hero-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.page-hero-inner > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .4rem;
}
.breadcrumb-trail a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb-trail a:hover { color: #fff; }
.breadcrumb-trail i { font-size: .7rem; }
.page-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
  line-height: 1.25;
}
.page-hero-lead {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  max-width: 620px;
  line-height: 1.45;
  margin: 0;
}
.page-hero-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: .55rem .9rem;
  color: #fff;
  text-align: left;
  backdrop-filter: blur(6px);
  max-width: 220px;
  width: auto;
  white-space: nowrap;
}
.page-hero-badge .hero-v2-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 34, 102, 0.35);
  border: 1px solid rgba(255,255,255,.18);
  flex-shrink: 0;
}
.page-hero-badge i { font-size: 1.2rem; color: rgba(255,255,255,.95); }
.page-hero-badge span {
  font-size: .82rem;
  line-height: 1.25;
  font-weight: 700;
}
.page-hero-badge small {
  display: block;
  opacity: .75;
  font-size: .68rem;
  font-weight: 500;
  margin-top: .05rem;
}
.page-hero-badge strong {
  display: block;
  font-size: .84rem;
  line-height: 1.15;
  font-weight: 700;
}

/* ==========================================================================
   SHARED FORM COMPONENTS
   ========================================================================== */
.glass-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: var(--transition-smooth);
}
.glass-card:hover { box-shadow: var(--shadow-lg); }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.span-2 { grid-column: 1 / -1; }

.form-field-group { display: flex; flex-direction: column; gap: .4rem; }
.form-field-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.req-star { color: #dc2626; margin-left: 1px; }

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon-wrap > i:first-child {
  position: absolute;
  left: .85rem;
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
  z-index: 2;
}
.input-icon-wrap > .form-input,
.input-icon-wrap > input.form-input,
.input-icon-wrap > select.form-input:not(.select2-hidden-accessible),
.input-icon-wrap > textarea.form-input {
  padding-left: 2.5rem;
}
.input-icon-wrap .select2-container {
  width: 100% !important;
  z-index: 1;
}
.input-icon-wrap .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 2.5rem;
}
.input-icon-wrap .select2-container .select2-selection--single .select2-selection__arrow {
  right: .65rem;
}
.form-input {
  width: 100%;
  padding: .7rem .9rem .7rem 2.5rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: var(--transition-smooth);
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}
.form-input.input-error { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.15); }
.form-input-lg { font-size: 1.05rem; padding: .85rem 1rem .85rem 2.75rem; }
.form-textarea {
  resize: vertical;
  min-height: 90px;
  padding-top: .7rem;
  align-items: flex-start;
}
.input-icon-wrap .form-textarea { padding-left: 2.5rem; }
.form-select { cursor: pointer; }
.form-select option { background: var(--white); }

/* Global compact Select2 controls */
.select2-container {
  width: 100% !important;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: .875rem;
}

.select2-container .select2-selection--single {
  height: 40px;
  min-height: 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  outline: none;
  transition: var(--transition-smooth);
}

.select2-container .select2-selection--single .select2-selection__rendered {
  height: 38px;
  padding: 0 2.25rem 0 .8rem;
  color: var(--ink);
  line-height: 38px;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
  color: var(--muted);
}

.select2-container .select2-selection--single .select2-selection__arrow {
  top: 1px;
  right: .45rem;
  width: 1.75rem;
  height: 38px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background: var(--bg-alt);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: .7;
}

.select2-dropdown {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
  font-family: var(--font-body);
  font-size: .84rem;
  z-index: 10050;
}

.select2-container--open .select2-dropdown--below {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.select2-container--open .select2-dropdown--above {
  margin-top: -4px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.select2-search--dropdown {
  padding: .5rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  height: 34px;
  padding: .35rem .6rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--bg-soft);
  outline: none;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--brother-blue);
  box-shadow: 0 0 0 2px var(--brother-blue-glow);
}

.select2-results__options {
  max-height: 220px !important;
}

.select2-results__option {
  min-height: 32px;
  padding: .45rem .7rem;
  line-height: 1.25;
  color: var(--ink);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  color: var(--white);
  background: var(--brother-blue);
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  color: var(--brother-blue);
  background: rgba(0, 51, 153, .08);
  font-weight: 600;
}

.select2-container--default .select2-results__option--highlighted[aria-selected="true"] {
  color: var(--white);
  background: var(--brother-blue);
}

.select2-container .select2-selection--multiple {
  min-height: 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  color: var(--brother-blue);
  background: rgba(0, 51, 153, .1);
}

/* Keep Select2 compact inside dense report/filter toolbars. */
.report-filters .select2-container .select2-selection--single,
.filter-row .select2-container .select2-selection--single {
  height: 36px;
  min-height: 36px;
}

.report-filters .select2-container .select2-selection__rendered,
.filter-row .select2-container .select2-selection__rendered {
  height: 34px;
  line-height: 34px;
}

.report-filters .select2-container .select2-selection__arrow,
.filter-row .select2-container .select2-selection__arrow {
  height: 34px;
}

.field-hint { font-size: .77rem; color: var(--muted); margin-top: .25rem; }
.field-hint a { color: var(--brother-blue); }
.char-count { font-size: .77rem; color: var(--muted); text-align: right; }
.form-section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brother-blue);
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--bg-alt);
  margin-bottom: .25rem;
}
.mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 1.75rem; }
.mt-5 { margin-bottom: 2.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.text-muted { color: var(--muted) !important; }
.me-1 { margin-right: .25rem; }
.me-2 { margin-right: .5rem; }
.ms-1 { margin-left: .25rem; }
.ms-2 { margin-left: .5rem; }
.ms-3 { margin-left: .75rem; }
.text-primary { color: var(--brother-blue) !important; }

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  background: var(--bg-soft);
}
.file-upload-area:hover, .file-upload-area.dragover {
  border-color: var(--brother-blue);
  background: rgba(0,51,153,.04);
}
.file-upload-area i { font-size: 2rem; color: var(--brother-blue); display: block; margin-bottom: .5rem; }
.file-upload-area p { font-size: .88rem; color: var(--muted); margin: 0; }
.file-upload-area small { font-size: .76rem; color: var(--muted); }
.compact-upload { padding: 1rem 1rem; }
.compact-upload i { font-size: 1.4rem; margin-bottom: .25rem; }
.upload-link { color: var(--brother-blue); cursor: pointer; text-decoration: underline; font-weight: 600; }

/* Invoice upload panel — drop zone + confirm action as one unit */
.invoice-upload-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.invoice-upload-panel .file-upload-area {
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--line);
  margin: 0;
}
.invoice-upload-panel .file-upload-area:hover,
.invoice-upload-panel .file-upload-area.dragover {
  border-bottom-color: var(--brother-blue);
}
.invoice-selected-file {
  display: block;
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brother-blue-dark);
  word-break: break-all;
}
.invoice-selected-file:empty {
  display: none;
}
.invoice-upload-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  background: var(--bg-soft);
}
.btn-upload-invoice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 180px;
  padding: .6rem 1.35rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--brother-blue);
  color: #fff;
  font-size: .87rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-upload-invoice:hover:not(:disabled) {
  background: var(--brother-blue-light);
}
.btn-upload-invoice:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.btn-upload-invoice i {
  font-size: 1rem;
  line-height: 1;
}
.invoice-upload-status {
  margin-top: .55rem;
  font-size: .82rem;
}
.bpsr-workspace--compact .invoice-upload-footer {
  padding: .55rem .75rem;
}
.bpsr-workspace--compact .btn-upload-invoice {
  min-width: 160px;
  padding: .5rem 1.1rem;
  font-size: .82rem;
}

/* BPSR saved-address picker */
.bpsr-address-picker {
  margin: 0 0 .85rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(0, 51, 153, .04), var(--white) 55%);
}
.bpsr-address-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .65rem;
}
.bpsr-address-picker-title {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.bpsr-address-picker-title > i {
  color: var(--brother-blue);
  font-size: 1.1rem;
  margin-top: .15rem;
}
.bpsr-address-picker-title strong {
  display: block;
  font-size: .88rem;
  color: var(--ink);
}
.bpsr-address-picker-title small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  margin-top: .1rem;
}
.bpsr-address-picker-actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.bpsr-addr-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: var(--radius-md);
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
}
.bpsr-addr-btn--ghost {
  background: var(--white);
  border-color: var(--brother-blue);
  color: var(--brother-blue);
}
.bpsr-addr-btn--ghost:hover {
  background: rgba(0, 51, 153, .06);
}
.bpsr-addr-btn--primary {
  background: var(--brother-blue);
  color: #fff;
  border-color: var(--brother-blue);
}
.bpsr-addr-btn--primary:hover:not(:disabled) {
  background: var(--brother-blue-light);
}
.bpsr-addr-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.bpsr-address-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: .55rem;
}
.bpsr-address-card {
  text-align: left;
  width: 100%;
  padding: .65rem .75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  color: inherit;
}
.bpsr-address-card:hover {
  border-color: var(--brother-blue-light);
  background: rgba(0, 51, 153, .03);
}
.bpsr-address-card.is-selected {
  border-color: var(--brother-blue);
  box-shadow: 0 0 0 1px var(--brother-blue);
  background: rgba(0, 51, 153, .05);
}
.bpsr-address-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin-bottom: .35rem;
}
.bpsr-address-card-type {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brother-blue);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.bpsr-address-card-badge {
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: var(--radius-round);
  background: #fef9c3;
  color: #a16207;
}
.bpsr-address-card-name {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .15rem;
}
.bpsr-address-card-lines {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.35;
}
.bpsr-address-empty {
  grid-column: 1 / -1;
  padding: .85rem;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.bpsr-summary-value-with-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
}
.bpsr-summary-change-addr {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem .55rem;
  border: 1px solid var(--brother-blue);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--brother-blue);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
}
.bpsr-summary-change-addr:hover {
  background: var(--brother-blue);
  color: #fff;
}
.modal-sm-560 { width: min(560px, calc(100% - 2rem)); }
.bpsr-addr-modal .modal-body-padding {
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.bpsr-addr-modal-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: .85rem;
}
.bpsr-addr-modal-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.bpsr-addr-modal-item.is-selected {
  border-color: var(--brother-blue);
  background: rgba(0, 51, 153, .05);
}
.bpsr-addr-modal-item-body {
  min-width: 0;
  flex: 1;
}
.bpsr-addr-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
  padding-top: .35rem;
}
.bpsr-addr-manage-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--brother-blue);
  text-decoration: none;
}
.bpsr-addr-manage-link:hover {
  text-decoration: underline;
}
.bpsr-addr-form-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem .7rem;
  margin-bottom: .85rem;
}
.bpsr-addr-form-grid .bpsr-field-full { grid-column: span 6; }
.bpsr-addr-form-grid .bpsr-field-half { grid-column: span 3; }
.bpsr-addr-form-grid .bpsr-field-third { grid-column: span 2; }
.bpsr-addr-default-row {
  margin-top: .15rem;
}
.bpsr-addr-check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
@media (max-width: 640px) {
  .bpsr-addr-form-grid .bpsr-field-half,
  .bpsr-addr-form-grid .bpsr-field-third {
    grid-column: span 6;
  }
  .bpsr-address-picker-actions {
    width: 100%;
  }
  .bpsr-address-picker-actions .bpsr-addr-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Badges */
.badge-active {
  display: inline-flex; align-items: center;
  background: #dcfce7; color: #15803d;
  padding: .2rem .65rem; border-radius: var(--radius-round);
  font-size: .75rem; font-weight: 700;
}
.badge-inprog {
  display: inline-flex; align-items: center;
  background: #fef9c3; color: #a16207;
  padding: .2rem .65rem; border-radius: var(--radius-round);
  font-size: .75rem; font-weight: 700;
}
.badge-closed {
  display: inline-flex; align-items: center;
  background: #dcfce7; color: #15803d;
  padding: .2rem .65rem; border-radius: var(--radius-round);
  font-size: .75rem; font-weight: 700;
}
.badge-pending {
  display: inline-flex; align-items: center;
  background: #ffedd5; color: #c2410c;
  padding: .2rem .65rem; border-radius: var(--radius-round);
  font-size: .75rem; font-weight: 700;
}
.badge-expired {
  display: inline-flex; align-items: center;
  background: #fee2e2; color: #b91c1c;
  padding: .2rem .65rem; border-radius: var(--radius-round);
  font-size: .75rem; font-weight: 700;
}
.badge-premium {
  display: inline-block;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--radius-round);
  margin-bottom: .75rem;
}

/* ==========================================================================
   BPSR WIZARD  (Service Request + Serial Registration)
   ========================================================================== */
.bpsr-section { padding: 1.25rem 0 2rem; background: var(--bg-soft); }
.bpsr-section:has(.bpsr-workspace--compact) {
  padding: .55rem 0 1.15rem;
}
.bpsr-workspace {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  background: var(--white);
  min-height: 0;
}

/* Compact Service Request densifies chrome across sidebar + form */
.bpsr-workspace--compact .bpsr-step-nav {
  padding: .85rem .85rem .75rem;
}
.bpsr-workspace--compact .bpsr-brand-title {
  font-size: .88rem;
  margin-bottom: .55rem;
}
.bpsr-workspace--compact .bpsr-progress-track {
  padding: .4rem .55rem;
  margin-bottom: .65rem;
  border-radius: 8px;
}
.bpsr-workspace--compact .bpsr-steps {
  gap: .3rem;
}
.bpsr-workspace--compact .bpsr-steps::before {
  left: 18px;
  top: 16px;
  bottom: 16px;
}
.bpsr-workspace--compact .bpsr-step {
  padding: .35rem .4rem;
  gap: .55rem;
  border-radius: 8px;
}
.bpsr-workspace--compact .bpsr-step .step-num {
  width: 28px;
  height: 28px;
  font-size: .72rem;
  border-width: 2px;
}
.bpsr-workspace--compact .bpsr-step .step-info strong {
  font-size: .76rem;
}
.bpsr-workspace--compact .bpsr-step .step-info small {
  display: none;
}
.bpsr-workspace--compact .bpsr-helpline-box {
  margin-top: .75rem;
  padding: .5rem .6rem;
  gap: .5rem;
}
.bpsr-workspace--compact .bpsr-helpline-box i { font-size: 1rem; }
.bpsr-workspace--compact .bpsr-helpline-box strong { font-size: .8rem; }
.bpsr-workspace--compact .bpsr-form-area {
  padding: .7rem 1.1rem .85rem;
  justify-content: flex-start;
}
.bpsr-workspace--compact .bpsr-step-header-v2 {
  gap: .5rem;
  margin-bottom: .55rem;
  padding-bottom: .45rem;
}
.bpsr-workspace--compact .step-header-icon {
  width: 28px;
  height: 28px;
  font-size: .85rem;
  box-shadow: 0 2px 6px rgba(0,51,153,.12);
}
.bpsr-workspace--compact .step-header-text h3 {
  font-size: .95rem;
  margin-bottom: 0;
}
.bpsr-workspace--compact .step-header-text p {
  display: none;
}
.bpsr-workspace--compact .step-badge {
  font-size: .58rem;
  padding: .1rem .4rem;
}
.bpsr-workspace--compact .form-section-label-v2 {
  margin-bottom: .55rem;
  padding: .3rem 0 .4rem;
  font-size: .68rem;
}
.bpsr-workspace--compact .bpsr-contact-grid {
  gap: .65rem .85rem;
}
.bpsr-workspace--compact .bpsr-contact-grid .form-label {
  margin-bottom: .22rem;
  font-size: .74rem;
}
.bpsr-workspace--compact .form-input-plain,
.bpsr-workspace--compact .bpsr-contact-grid .form-input {
  padding: .45rem .65rem;
  font-size: .84rem;
}
.bpsr-workspace--compact .bpsr-contact-grid textarea.form-input {
  min-height: 44px;
}
.bpsr-partner-block {
  margin-bottom: .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.bpsr-customer-block {
  margin-top: .1rem;
}
.bpsr-partner-block + .bpsr-customer-block {
  margin-top: .15rem;
}
.bpsr-customer-block .form-section-label-v2 {
  margin-top: .1rem;
}
.bpsr-workspace--compact .step-actions {
  margin-top: .7rem;
  padding-top: .55rem;
}
.bpsr-workspace--compact .bpsr-entry-card {
  padding: .7rem;
}
.bpsr-workspace--compact .bpsr-entry-card-title {
  margin-bottom: .5rem;
  padding-bottom: .4rem;
}
.bpsr-workspace--compact .bpsr-combined-entry-grid {
  gap: .85rem;
  max-width: 680px;
}
.bpsr-workspace--compact .file-upload-area.compact-upload {
  padding: .7rem .85rem;
}
.bpsr-workspace--compact .warranty-hint-bar {
  margin-top: .4rem !important;
  padding: .35rem .55rem;
  font-size: .72rem;
}
.bpsr-invoice-hint {
  font-size: .72rem;
  margin: -.15rem 0 .55rem;
  line-height: 1.35;
}
.bpsr-workspace--compact .bpsr-entry-card {
  height: auto;
  justify-content: flex-start;
}

.page-hero-strip--bpsr {
  padding: .65rem 0 .75rem;
}
.page-hero-strip--bpsr .page-hero-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: .2rem;
}
.page-hero-strip--bpsr .breadcrumb-trail {
  margin-bottom: .2rem;
}
.page-hero-strip--bpsr .page-hero-badge--compact {
  padding: .4rem .7rem;
}

.bpsr-invoice-view-link {
  color: var(--brother-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bpsr-invoice-view-link:hover {
  color: var(--brother-blue-dark);
}
.bpsr-invoice-view-link i {
  margin-right: .25rem;
}

/* Option 2: Modern Left-Sidebar Vertical Stepper Layout */
.bpsr-workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(10, 38, 128, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02);
  background: #ffffff;
  overflow: hidden;
  align-items: start;
  min-height: 0;
}

.bpsr-step-nav {
  width: 100%;
  min-width: 0;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 48%, #93c5fd 100%);
  border-right: 1px solid #bfdbfe;
  padding: 1.5rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  height: auto;
  align-self: stretch;
  justify-content: flex-start;
}

.bpsr-brand-step {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brother-blue);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #93c5fd;
  padding: .22rem .65rem;
  border-radius: 20px;
  margin-bottom: .5rem;
  width: fit-content;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.28);
}

.bpsr-brand-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brother-blue-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.bpsr-brand-title br { display: none; }
.bpsr-brand-desc {
  display: block;
  color: #475569;
  font-size: .78rem;
  line-height: 1.4;
  margin: -.35rem 0 1rem;
}

.bpsr-progress-track {
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: .55rem .7rem;
  margin-bottom: 1.15rem;
  box-shadow: none;
}

.bpsr-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: .35rem;
}

.bpsr-progress-label strong {
  color: var(--brother-blue);
  font-weight: 800;
  font-size: .8rem;
}

.bpsr-progress-bar {
  height: 5px;
  background: #dbeafe;
  border-radius: 3px;
  overflow: hidden;
}

.bpsr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brother-blue-light), #93c5fd);
  border-radius: 3px;
  transition: width .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpsr-steps {
  --step-count: 4;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: .55rem;
  width: 100%;
  padding: .15rem 0;
}

.bpsr-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #93c5fd 0%, #bfdbfe 55%, #dbeafe 100%);
  border-radius: 2px;
  z-index: 0;
}

.bpsr-step {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .8rem;
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
  padding: .55rem .55rem .55rem .45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bpsr-step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  /* stroke ring on numbers */
  border: 2.5px solid #60a5fa;
  color: var(--brother-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  transition: all .25s ease;
}

.bpsr-step .step-num i {
  font-size: 1rem;
  line-height: 1;
}

.bpsr-step .step-info {
  min-width: 0;
  padding: 0;
  background: transparent;
}

.bpsr-step .step-info strong {
  display: block;
  color: #334155;
  font-size: .8rem;
  font-weight: 700;
  transition: color .25s ease;
  white-space: nowrap;
  letter-spacing: -.01em;
}

.bpsr-step .step-info small {
  display: block;
  color: #64748b;
  font-size: .68rem;
  margin-top: .08rem;
  white-space: nowrap;
}

/* Active: filled disc + outer stroke glow */
.bpsr-step.active {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(147, 197, 253, 0.85);
  box-shadow: 0 4px 14px rgba(30, 93, 230, 0.12);
}

.bpsr-step.active .step-num {
  background: #ffffff;
  border-color: var(--brother-blue);
  border-width: 2.5px;
  color: var(--brother-blue-dark);
  box-shadow:
    0 0 0 3px rgba(147, 197, 253, 0.65),
    0 2px 8px rgba(0, 51, 153, 0.18);
}

.bpsr-step.active .step-info strong {
  color: var(--brother-blue-dark);
  font-weight: 800;
}

.bpsr-step.active .step-info small {
  color: var(--brother-blue);
}

/* Completed: green check + soft stroke */
.bpsr-step.completed {
  cursor: pointer;
}

.bpsr-step.completed:hover {
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(2px);
}

.bpsr-step.completed .step-num {
  background: #10b981;
  border-color: #059669;
  border-width: 2.5px;
  color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(16, 185, 129, 0.22),
    0 2px 8px rgba(16, 185, 129, 0.28);
}

.bpsr-step.completed .step-info strong {
  color: var(--brother-blue-dark);
}

.bpsr-step.completed .step-info small {
  color: #64748b;
}

/* Pending (default): hollow stroke look */
.bpsr-step:not(.active):not(.completed) .step-num {
  background: transparent;
  border-color: #60a5fa;
  color: #3b82f6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.bpsr-step:not(.active):not(.completed) .step-info strong {
  color: #475569;
  font-weight: 600;
}

.bpsr-step:not(.active):not(.completed) .step-info small {
  color: #94a3b8;
}

.bpsr-helpline-box {
  margin-top: .85rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: .75rem .85rem;
  box-shadow: none;
}

.bpsr-helpline-box i {
  font-size: 1.2rem;
  color: var(--brother-blue-light);
}

.bpsr-helpline-box small {
  display: block;
  color: #64748b;
  font-size: .68rem;
}

.bpsr-helpline-box strong {
  display: block;
  color: var(--brother-blue-dark);
  font-size: .88rem;
  font-weight: 700;
}

.bpsr-helpline-box strong a {
  color: inherit;
  text-decoration: none;
}

.bpsr-helpline-box strong a:hover {
  text-decoration: underline;
}

/* Compact Service Request keeps vertical wizard; only densifies form chrome */
.bpsr-workspace--compact {
  min-height: 0;
}

.bpsr-workspace--compact .bpsr-brand-desc {
  display: none;
}

/* Form area styling */
.bpsr-form-area {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 2rem 2.25rem 2rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bpsr-form-area > #bpsr-alert:not(.d-none) {
  margin-bottom: .75rem;
  padding: .5rem .7rem;
  font-size: .8rem;
}
.bpsr-step-panel { display: none; animation: fadeSlideIn .35s ease; }
.bpsr-step-panel.active { display: block; width: 100%; min-width: 0; max-width: 100%; }

/* Combined product verification + requester step */
.bpsr-combined-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
  align-items: stretch;
  transition: max-width .25s ease;
}

.bpsr-combined-entry-grid.is-verified {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: none;
  align-items: stretch;
}

.bpsr-entry-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 24px rgba(15, 45, 92, .06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Author `display:flex` would otherwise override the HTML hidden attribute. */
.bpsr-entry-card[hidden],
.bpsr-requester-card[hidden],
#verifiedProductBlock[hidden] {
  display: none !important;
}

.bpsr-requester-card {
  border-color: #bfe3ca;
  background: linear-gradient(145deg, #fbfffc, #f2fbf5);
  animation: fadeSlideIn .3s ease;
}

.bpsr-entry-card-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
}

.bpsr-entry-card-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--brother-blue);
  background: rgba(0, 51, 153, .09);
}

.bpsr-entry-card-title > span.verified {
  color: #15803d;
  background: #dcfce7;
}

.bpsr-entry-card-title strong,
.bpsr-entry-card-title small {
  display: block;
}

.bpsr-entry-card-title strong {
  color: var(--ink);
  font-size: .9rem;
}

.bpsr-entry-card-title small {
  margin-top: .1rem;
  color: var(--muted);
  font-size: .72rem;
}

.bpsr-search-btn,
.bpsr-continue-btn {
  width: 100%;
  justify-content: center;
  margin-top: .85rem;
}

.bpsr-verified-product {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-bottom: .8rem;
}

.bpsr-verified-product > div {
  min-width: 0;
  padding: .55rem .65rem;
  border: 1px solid #d7eadc;
  border-radius: 9px;
  background: rgba(255, 255, 255, .8);
}

.bpsr-verified-product span,
.bpsr-verified-product strong {
  display: block;
}

.bpsr-verified-product span {
  margin-bottom: .12rem;
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bpsr-verified-product strong {
  overflow: hidden;
  color: var(--ink);
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .bpsr-combined-entry-grid.is-verified {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

@media (max-width: 576px) {
  .bpsr-entry-card {
    padding: .8rem;
  }

  .bpsr-verified-product {
    grid-template-columns: 1fr;
  }
}

/* Compact BPSR contact form: six-column grid gives reliable 2/3-column rows
   without depending on Bootstrap's grid utility CSS. */
.bpsr-contact-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem 1rem;
  align-items: start;
}

.bpsr-contact-grid > * {
  min-width: 0;
}

.bpsr-field-full { grid-column: span 6; }
.bpsr-field-half { grid-column: span 3; }
.bpsr-field-third { grid-column: span 2; }

.bpsr-contact-grid .form-label {
  display: block;
  margin-bottom: .3rem;
}

.bpsr-contact-grid textarea.form-input {
  min-height: 64px;
  resize: vertical;
}

@media (max-width: 900px) {
  .bpsr-field-third { grid-column: span 3; }
}

@media (max-width: 576px) {
  .bpsr-contact-grid {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .bpsr-field-full,
  .bpsr-field-half,
  .bpsr-field-third {
    grid-column: 1;
  }
}

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

.bpsr-step-header { margin-bottom: 1.75rem; }
.step-badge {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--brother-blue);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: var(--radius-round);
  margin-bottom: .6rem;
}
.bpsr-step-header h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.bpsr-step-header p { color: var(--muted); font-size: .87rem; }

.step-actions {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
}
.btn-wizard-next, .btn-wizard-submit {
  display: inline-flex; align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; border: none; cursor: pointer;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600;
  font-family: var(--font-body);
  box-shadow: 0 4px 14px rgba(0,51,153,.3);
  transition: var(--transition-smooth);
}
.btn-wizard-next i, .btn-wizard-submit i {
  margin: 0 !important;
  line-height: 1;
}
.btn-wizard-next:hover, .btn-wizard-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,51,153,.4);
}
.btn-wizard-submit { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 4px 14px rgba(22,163,74,.35); }
.btn-wizard-submit:hover { box-shadow: 0 6px 20px rgba(22,163,74,.5); }
.btn-wizard-next:disabled, .btn-wizard-submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
  pointer-events: none;
}
.btn-form-cancel.disabled {
  opacity: .55;
  pointer-events: none;
  cursor: not-allowed;
}
.btn-wizard-back {
  display: inline-flex; align-items: center;
  background: var(--bg-alt); color: var(--ink);
  border: 1.5px solid var(--line); cursor: pointer;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.btn-wizard-back:hover { background: var(--white); border-color: var(--brother-blue); color: var(--brother-blue); }

.step-actions-left {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.btn-form-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .7rem 1.35rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-form-cancel:hover {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fef2f2;
}

.form-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.form-action-row .btn-prodreg-submit {
  width: auto;
  min-width: 220px;
  margin-top: 0;
  flex: 1 1 auto;
}

.account-form-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: .75rem;
  margin-top: .25rem;
}

.account-form-actions .btn-account-submit {
  flex: 1 1 0;
  width: auto;
  margin-top: 0;
}

.account-form-actions .btn-form-cancel {
  flex: 1 1 0;
  width: auto;
}

/* Summary Preview */
.summary-preview-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: .5rem;
}
.summary-card-header {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.25rem;
  background: var(--brother-blue);
  color: #fff;
  font-size: .85rem; font-weight: 700;
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: .6rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: .83rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row span { color: var(--muted); }
.summary-row strong { color: var(--ink); }

/* BPSR compact summary layout (step 4) */
.bpsr-summary-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .25rem;
}
.bpsr-summary-section {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .65rem .8rem .7rem;
}
.bpsr-summary-section--full {
  grid-column: 1 / -1;
}
.bpsr-summary-section-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .5rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--line);
  color: var(--brother-blue);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bpsr-summary-section-title i {
  font-size: .82rem;
}
.bpsr-summary-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem .9rem;
}
.bpsr-summary-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(5.5rem, 38%) minmax(0, 1fr);
  align-items: baseline;
  column-gap: .5rem;
  row-gap: 0;
  padding: .2rem 0;
}
.bpsr-summary-item--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(5.5rem, 12%) minmax(0, 1fr);
}
.bpsr-summary-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.3;
}
.bpsr-summary-value {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}
.bpsr-summary-value .bpsr-invoice-view-link {
  font-size: .82rem;
}
@media (max-width: 900px) {
  .bpsr-summary-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bpsr-summary-item--wide {
    grid-template-columns: minmax(5.5rem, 22%) minmax(0, 1fr);
  }
}
@media (max-width: 720px) {
  .bpsr-summary-layout {
    grid-template-columns: 1fr;
  }
  .bpsr-summary-section--full {
    grid-column: auto;
  }
}
@media (max-width: 576px) {
  .bpsr-summary-items {
    grid-template-columns: 1fr;
  }
  .bpsr-summary-item,
  .bpsr-summary-item--wide {
    grid-template-columns: minmax(5.25rem, 36%) minmax(0, 1fr);
  }
}

/* Success State */
.success-confirmation { text-align: center; padding: 3rem 2rem; }
.success-icon-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.success-ring {
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(22,163,74,.25);
  animation: ringPulse 2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.15); opacity: .15; }
}
.success-icon-wrap i { font-size: 4.5rem; color: #16a34a; position: relative; z-index: 1; }
.success-confirmation h2 { font-size: 1.7rem; margin-bottom: .75rem; }
.success-confirmation p { color: var(--muted); max-width: 440px; margin: 0 auto 1.5rem; font-size: .92rem; line-height: 1.65; }
.ticket-number-display {
  display: inline-flex; flex-direction: column; align-items: center;
  background: linear-gradient(135deg, var(--brother-blue-dark), var(--brother-blue));
  color: #fff; border-radius: var(--radius-md);
  padding: 1rem 2.5rem; margin: 0 auto 2rem;
}
.ticket-number-display span { font-size: .78rem; opacity: .8; margin-bottom: .25rem; }
.ticket-number-display strong { font-size: 1.4rem; font-weight: 800; letter-spacing: .05em; font-family: var(--font-headings); }

.confirmation-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; max-width: 440px; margin: 0 auto 2rem;
}
.ci-item {
  display: flex; align-items: center; gap: .6rem;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: .75rem;
  font-size: .82rem; color: var(--ink); text-align: left;
}
.ci-item i { color: var(--brother-blue); font-size: 1.1rem; flex-shrink: 0; }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-track-request, .btn-go-home {
  display: inline-flex; align-items: center;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: var(--transition-smooth);
}
.btn-track-request { background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light)); color: #fff; box-shadow: 0 4px 14px rgba(0,51,153,.3); }
.btn-track-request:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,51,153,.4); }
.btn-go-home { background: var(--bg-alt); color: var(--ink); border: 1.5px solid var(--line); }
.btn-go-home:hover { background: var(--white); border-color: var(--brother-blue); color: var(--brother-blue); }

/* ==========================================================================
   PRODUCT REGISTRATION
   ========================================================================== */
.prodreg-section { padding: 2.25rem 0 4rem; background: var(--bg-soft); }
.prodreg-section .container { max-width: 1320px; }
.prodreg-layout { display: grid; grid-template-columns: 380px 1fr; gap: 1.75rem; align-items: start; }
.prodreg-layout--verify-only {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}
.prodreg-layout--verify-only.prodreg-layout--existing {
  grid-template-columns: minmax(0, 980px);
}
.prodreg-layout--form-only {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  width: 100%;
}
.prodreg-layout--verify-only .prodreg-right,
.prodreg-layout--form-only .prodreg-left {
  display: none !important;
}
.prodreg-form-header-text { flex: 1; min-width: 0; }
.prodreg-card-header--form {
  align-items: center;
  margin-bottom: 1.15rem;
}

/* Verified product bar + Change serial */
.prodreg-verified-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 55%, #f8fafc 100%);
  border: 1px solid #bbf7d0;
}
.prodreg-verified-bar-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  min-width: 0;
}
.prodreg-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.prodreg-verified-pill i { font-size: 0.9rem; }
.prodreg-verified-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 0;
  color: #065f46;
  font-size: 0.95rem;
}
.prodreg-verified-meta strong {
  font-weight: 750;
  color: #064e3b;
}
.prodreg-verified-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}
.prodreg-verified-meta code {
  font-size: 0.86rem;
  font-weight: 650;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
}
.prodreg-change-serial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 650;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.prodreg-change-serial i { font-size: 0.95rem; color: var(--brother-blue, #003399); }
.prodreg-change-serial:hover {
  background: #f8fafc;
  border-color: var(--brother-blue, #003399);
  color: var(--brother-blue, #003399);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.1);
}
.prodreg-change-serial:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brother-blue, #003399) 45%, #fff);
  outline-offset: 2px;
}

/* Multi-column form grids */
.prodreg-form-grid {
  display: grid;
  gap: 1rem 1.15rem;
}
.prodreg-form-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.prodreg-form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.prodreg-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.prodreg-span-2 { grid-column: span 2; }
.prodreg-span-3 { grid-column: span 3; }
.prodreg-span-4 { grid-column: span 4; }

.prodreg-form-grid .form-input-plain[readonly] {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
  cursor: default;
  border-color: #e2e8f0;
}

.prodreg-wiz-panel[hidden] { display: none !important; }
.prodreg-verified-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.88rem;
}
.prodreg-verified-chip i { color: #059669; font-size: 1.1rem; }
.prodreg-verified-chip code {
  font-size: 0.82rem;
  color: #0f766e;
}
.prodreg-wiz-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e2e8f0;
}
.prodreg-wiz-nav-spacer { flex: 1; }
.prodreg-wiz-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--line, #e2e8f0);
  border-radius: var(--radius-md, 10px);
  background: #fff;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 650;
  font-family: var(--font-body, inherit);
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.prodreg-wiz-back i {
  font-size: 1rem;
  color: var(--brother-blue, #003399);
}
.prodreg-wiz-back:hover {
  border-color: var(--brother-blue, #003399);
  color: var(--brother-blue, #003399);
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.1);
}
.prodreg-wiz-back:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brother-blue, #003399) 45%, #fff);
  outline-offset: 2px;
}
.prodreg-wiz-next {
  width: auto !important;
  min-width: 10rem;
  margin-top: 0 !important;
  padding-inline: 1.25rem !important;
}
.prodreg-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.prodreg-summary-block {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 0.85rem 1rem;
}
.prodreg-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.prodreg-summary-head strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
}
.prodreg-summary-edit {
  border: 0;
  background: transparent;
  color: var(--brother-blue, #003399);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.prodreg-summary-edit:hover { text-decoration: underline; }
.prodreg-summary-block dl {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.prodreg-summary-block dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem;
  align-items: start;
}
.prodreg-summary-block dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.prodreg-summary-block dd {
  margin: 0;
  font-size: 0.9rem;
  color: #0f172a;
  font-weight: 600;
  word-break: break-word;
}
.prodreg-progress .hero-strip-item.is-done {
  opacity: 0.95;
}
.prodreg-progress .hero-strip-item.is-active {
  font-weight: 700;
}
.prodreg-card { padding: 1.75rem; }
.prodreg-card-header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.prodreg-card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; flex-shrink: 0;
}
.prodreg-card-icon--green { background: linear-gradient(135deg, #16a34a, #15803d); }
.prodreg-card-icon--amber { background: linear-gradient(135deg, #d97706, #b45309); }
.prodreg-card-icon--purple { background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-dark)); }
.prodreg-card-header h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.prodreg-card-header p { font-size: .82rem; color: var(--muted); }

.btn-prodreg-action {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: .75rem;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(0,51,153,.25);
  transition: var(--transition-smooth); margin-top: 1rem;
}
.btn-prodreg-action:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,51,153,.38); }
.btn-prodreg-green { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.btn-prodreg-green:hover { box-shadow: 0 6px 18px rgba(22,163,74,.45); }
.btn-prodreg-amber { background: linear-gradient(135deg, #d97706, #b45309); box-shadow: 0 4px 12px rgba(217,119,6,.3); }
.btn-prodreg-submit {
  display: flex; align-items: center; justify-content: center;
  width: auto;
  min-width: 12rem;
  padding: .75rem 1.25rem;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 700; font-family: var(--font-body);
  box-shadow: 0 4px 14px rgba(0,51,153,.3);
  transition: var(--transition-smooth); margin-top: 0;
}
.btn-prodreg-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,51,153,.42); }
.prodreg-wiz-nav [hidden],
.btn-prodreg-submit[hidden],
.btn-prodreg-action[hidden],
.prodreg-wiz-back[hidden],
#btnWizBack[hidden],
#btnWizNext[hidden],
#btnOpenSubmitModal[hidden],
#btnWizCancel[hidden] {
  display: none !important;
}
.prodreg-otp-row { display: flex; gap: .75rem; align-items: flex-end; margin-top: 1rem; }
.btn-prodreg-otp {
  padding: .7rem 1.1rem; border-radius: var(--radius-md);
  background: var(--brother-blue); color: #fff; border: none;
  font-size: .83rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); transition: var(--transition-smooth);
}
.btn-prodreg-otp:hover { background: var(--brother-blue-dark); }
.forgot-custid-link { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.forgot-custid-link a { color: var(--brother-blue); font-weight: 600; }

.registered-products-header {
  font-size: .83rem; font-weight: 700;
  color: var(--brother-blue);
  padding: .75rem 0 .5rem;
  border-top: 1.5px solid var(--line);
  margin-top: 1.25rem;
}
.prodreg-register-new {
  margin-top: .25rem;
}
.prodreg-register-new-lead {
  margin: 0 0 .85rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}
.prodreg-register-new .btn-prodreg-action {
  width: 100%;
}
.product-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
.product-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.product-table thead tr { background: var(--brother-blue); color: #fff; }
.product-table th { padding: .65rem .85rem; text-align: left; font-weight: 700; font-size: .78rem; }
.product-table td { padding: .6rem .85rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.product-table tr:last-child td { border-bottom: none; }
.product-table tbody tr:hover { background: var(--bg-soft); }
.table-empty { text-align: center; color: var(--muted); padding: 1.5rem; }

.prodreg-terms-row {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .8rem; color: var(--muted); margin-top: 1.25rem;
}
.prodreg-terms-row a { color: var(--brother-blue); }
.prodreg-terms-row input { margin-top: 2px; }
.prodreg-form-card {
  padding: 1.65rem 1.85rem 1.85rem;
  width: 100%;
}

/* Invoice date — shared Brother picker styles live in brother-date-picker.css */
.prodreg-date-wrap + .field-hint {
  display: block;
  margin-top: 0.35rem;
}

/* Register a call modal */
.prodreg-call-modal {
  position: relative;
  width: min(440px, calc(100% - 2rem));
  max-width: 440px;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
  background: #fff;
}
.prodreg-call-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.prodreg-call-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.prodreg-call-hero {
  padding: 1.85rem 1.5rem 1.45rem;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(145deg, #1e3a5f 0%, #2a4a73 55%, #355a88 100%);
  color: #fff;
  text-align: center;
}
.prodreg-call-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.45rem;
}
.prodreg-call-hero h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #fff;
}
.prodreg-call-hero p {
  margin: 0.45rem auto 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}
.prodreg-call-body {
  padding: 1.25rem 1.25rem 1.35rem;
}
.prodreg-call-choices {
  display: grid;
  gap: 0.7rem;
}
.prodreg-call-choice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.9rem 1rem;
  text-align: left;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.prodreg-call-choice:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}
.prodreg-call-choice-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  font-size: 1.15rem;
}
.prodreg-call-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.prodreg-call-choice-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.prodreg-call-choice-copy small {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.3;
}
.prodreg-call-choice--skip .prodreg-call-choice-ico {
  background: #ecfdf5;
  color: #059669;
}
.prodreg-call-choice--skip:hover {
  border-color: #6ee7b7;
  background: #f0fdf4;
}
.prodreg-call-choice--yes .prodreg-call-choice-ico {
  background: #eef3fb;
  color: var(--brother-blue, #003399);
}
.prodreg-call-choice--yes:hover {
  border-color: color-mix(in srgb, var(--brother-blue, #003399) 40%, #e2e8f0);
  background: #f5f8ff;
}
.prodreg-call-remarks label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #0f172a;
}
.prodreg-call-remarks textarea {
  width: 100%;
  min-height: 6.5rem;
  resize: vertical;
}
.prodreg-call-remarks-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.95rem;
}
.prodreg-call-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.15rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}
.prodreg-call-link:hover {
  color: var(--brother-blue, #003399);
}
.prodreg-call-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  margin-left: auto;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brother-blue, #003399), #1d4ed8);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 51, 153, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prodreg-call-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 51, 153, 0.3);
}
.prodreg-call-save:disabled,
.prodreg-call-choice:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.prodreg-btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: prodreg-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.prodreg-call-busy .prodreg-btn-spinner,
.btn-upload-invoice.is-loading .prodreg-btn-spinner {
  border-color: rgba(0, 51, 153, 0.2);
  border-top-color: var(--brother-blue, #003399);
}
@keyframes prodreg-spin {
  to { transform: rotate(360deg); }
}

.btn-prodreg-action.is-loading,
.btn-prodreg-submit.is-loading,
.prodreg-call-save.is-loading,
.btn-upload-invoice.is-loading {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0.9;
}
.prodreg-call-choice.is-loading {
  display: flex !important;
  pointer-events: none;
  opacity: 0.85;
}
.prodreg-call-choice.is-loading .prodreg-btn-spinner {
  margin-right: 0.15rem;
  border-color: rgba(0, 51, 153, 0.2);
  border-top-color: var(--brother-blue, #003399);
}

.prodreg-call-busy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding: 1.15rem 1rem;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 650;
}
.prodreg-call-busy.d-none {
  display: none !important;
}
.prodreg-call-modal.is-busy .prodreg-call-close {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .prodreg-form-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prodreg-span-2,
  .prodreg-span-3,
  .prodreg-span-4 { grid-column: span 2; }
  .prodreg-summary { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .prodreg-form-grid--4,
  .prodreg-form-grid--3,
  .prodreg-form-grid--2 { grid-template-columns: 1fr; }
  .prodreg-span-2,
  .prodreg-span-3,
  .prodreg-span-4 { grid-column: 1; }
  .prodreg-verified-bar { align-items: stretch; }
  .prodreg-change-serial { width: 100%; }
}

/* ==========================================================================
   WARRANTY CHECK
   ========================================================================== */
.warranty-section { padding: 3rem 0 5rem; background: var(--bg-soft); }
.warranty-layout { display: flex; flex-direction: column; gap: 2rem; }
.warranty-search-card { padding: 2.25rem; }
.search-card-icon-row { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.75rem; }
.big-icon-wrap {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.75rem; flex-shrink: 0;
}
.search-card-icon-row h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.search-card-icon-row p { font-size: .87rem; color: var(--muted); }
.search-card-icon-row code { background: var(--bg-alt); padding: .1rem .4rem; border-radius: 4px; font-size: .82rem; }

.warranty-tab-selector { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.wtab {
  display: flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: var(--radius-round);
  border: 1.5px solid var(--line); background: var(--bg-soft);
  color: var(--muted); font-size: .83rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.wtab.active, .wtab:hover { background: var(--brother-blue); color: #fff; border-color: var(--brother-blue); }

.warranty-search-row { display: flex; gap: .75rem; align-items: center; }
.btn-warranty-search {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .72rem 1.5rem;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(0,51,153,.28);
  transition: var(--transition-smooth);
}
.btn-warranty-search:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,51,153,.4); }

.warranty-hint-bar { display: flex; align-items: flex-start; gap: .4rem; font-size: .8rem; color: var(--muted); margin-top: .85rem; }
.warranty-hint-bar a { color: var(--brother-blue); }

.bulk-upload-info { font-size: .85rem; color: var(--muted); background: rgba(0,51,153,.05); border-radius: var(--radius-md); padding: .85rem 1rem; margin-bottom: 1rem; }
.bulk-action-row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

.bulk-upload-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bulk-dropzone {
  position: relative;
  border: 2px dashed #c5d0e0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 150px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.bulk-dropzone:hover,
.bulk-dropzone:focus-visible {
  border-color: var(--brother-blue);
  background: rgba(0, 51, 153, 0.04);
  outline: none;
}

.bulk-dropzone.is-dragover {
  border-color: var(--brother-blue);
  background: rgba(0, 51, 153, 0.08);
  box-shadow: inset 0 0 0 2px rgba(0, 51, 153, 0.12);
}

.bulk-dropzone.has-file {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
}

.bulk-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.bulk-dropzone-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  pointer-events: none;
}

.bulk-dropzone-inner i {
  font-size: 2rem;
  color: var(--brother-blue);
  margin-bottom: .15rem;
}

.bulk-dropzone-inner strong {
  font-size: 1rem;
  color: var(--ink);
}

.bulk-dropzone-inner span {
  font-size: .82rem;
  color: var(--muted);
}

.bulk-dropzone-inner em {
  font-style: normal;
  color: var(--brother-blue);
  font-weight: 700;
}

.bulk-file-name {
  display: none;
  margin-top: .45rem;
  padding: .35rem .7rem;
  border-radius: var(--radius-round);
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  font-size: .8rem;
  font-weight: 600;
}

.bulk-file-name.is-visible {
  display: inline-flex;
}

.bulk-upload-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.bulk-sample-link {
  display: inline-flex;
  align-items: center;
  color: var(--brother-blue);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}

.bulk-sample-link:hover {
  text-decoration: underline;
}

.btn-secondary-action {
  display: inline-flex; align-items: center;
  padding: .65rem 1.25rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--brother-blue); color: var(--brother-blue);
  background: var(--white); font-size: .87rem; font-weight: 600;
  text-decoration: none; cursor: pointer; font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.btn-secondary-action:hover { background: var(--brother-blue); color: #fff; }

/* Warranty Result */
.warranty-result-area { animation: fadeSlideIn .35s ease; }
.warranty-result-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Bulk warranty results */
.bulk-results-card {
  margin-top: 1.5rem;
}

.bulk-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #f8faff, #eef4ff);
  border-bottom: 1px solid var(--line);
}

.bulk-results-heading {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
}

.bulk-results-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(0, 51, 153, .2);
}

.bulk-results-heading h3 {
  margin: 0 0 .15rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.bulk-results-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.bulk-results-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: flex-end;
}

.bulk-export-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-round);
  background: var(--white);
}

.bulk-export-label {
  padding: 0 .55rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.bulk-export-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .7rem;
  border-radius: var(--radius-round);
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.bulk-export-btn:hover {
  background: var(--brother-blue);
  color: #fff;
}

.bulk-results-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.bulk-summary-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.bulk-summary-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: .95rem;
}

.bulk-summary-item span:last-child {
  min-width: 0;
}

.bulk-summary-item strong,
.bulk-summary-item small {
  display: block;
}

.bulk-summary-item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}

.bulk-summary-item small {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}

.bulk-summary-total .bulk-summary-icon { color: #1d4ed8; background: #dbeafe; }
.bulk-summary-active .bulk-summary-icon { color: #15803d; background: #dcfce7; }
.bulk-summary-expired .bulk-summary-icon { color: #b91c1c; background: #fee2e2; }
.bulk-summary-attention .bulk-summary-icon { color: #c2410c; background: #ffedd5; }

.bulk-results-table-wrap {
  max-height: min(62vh, 620px);
  overflow: auto;
  background: var(--white);
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.bulk-results-table {
  width: 100%;
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .84rem;
}

.bulk-results-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.bulk-results-table th {
  padding: .8rem 1rem;
  background: #0b2a68;
  color: var(--white);
  border-bottom: 1px solid #061d4e;
  text-align: left;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bulk-results-table td {
  padding: .72rem 1rem;
  color: #334155;
  border-bottom: 1px solid #edf1f7;
  vertical-align: middle;
  white-space: nowrap;
}

.bulk-results-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.bulk-results-table tbody tr {
  transition: background-color .2s ease;
}

.bulk-results-table tbody tr:hover {
  background: #eef4ff;
}

.bulk-results-table tbody tr:last-child td {
  border-bottom: 0;
}

.bulk-row-number {
  width: 54px;
  text-align: center !important;
  color: var(--muted) !important;
}

.bulk-results-table th.bulk-row-number {
  color: rgba(255, 255, 255, .75) !important;
}

.bulk-model-cell {
  color: var(--ink) !important;
  font-weight: 700;
}

.bulk-serial-value {
  display: inline-block;
  padding: .22rem .45rem;
  border-radius: 6px;
  background: #eef2f7;
  color: #1e3a5f;
  font-family: Consolas, "Courier New", monospace;
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.bulk-date-cell {
  font-variant-numeric: tabular-nums;
}

.bulk-remaining-cell {
  white-space: nowrap;
}

.bulk-remaining-badge {
  display: inline-flex;
  align-items: center;
  padding: .22rem .55rem;
  border-radius: var(--radius-round);
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bulk-remaining-empty {
  color: var(--muted);
}

.bulk-status-badge {
  gap: .4rem;
  white-space: nowrap;
}

.bulk-status-badge i {
  font-size: .42rem;
}

.bulk-registration-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.bulk-registration-link:hover {
  color: #9a3412;
  filter: saturate(1.1);
  box-shadow: 0 3px 10px rgba(194, 65, 12, .15);
  transform: translateY(-1px);
}

.bulk-registration-link .bi-arrow-up-right {
  font-size: .72rem;
}

.bulk-results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.5rem;
  border-top: 1px solid var(--line);
  background: #fbfcff;
  color: var(--muted);
  font-size: .76rem;
}

@media (max-width: 768px) {
  .bulk-results-header,
  .bulk-results-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .bulk-results-actions {
    width: 100%;
    justify-content: stretch;
  }

  .bulk-export-group,
  .bulk-results-header .btn-result-secondary,
  .bulk-results-footer .btn-result-secondary {
    width: 100%;
    justify-content: center;
  }

  .bulk-results-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .bulk-results-summary {
    grid-template-columns: 1fr;
  }
}

.result-status-banner {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 2rem;
}
.banner-active { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; }
.banner-expired { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.banner-register { background: linear-gradient(135deg, #c2410c, #ea580c); color: #fff; }
.banner-unknown { background: linear-gradient(135deg, #0a2680, #1a4fd6); color: #fff; }
.result-status-icon { font-size: 2.25rem; }
.result-status-label { display: block; font-size: 1.3rem; font-weight: 800; font-family: var(--font-headings); }
.result-status-sub { font-size: .85rem; opacity: .88; margin-top: .2rem; }
.result-detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 0;
}
.result-detail-item {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.result-detail-item:nth-child(3n) { border-right: none; }
.detail-label { font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.detail-value { font-size: .95rem; font-weight: 700; color: var(--ink); }
.highlight-blue { color: var(--brother-blue) !important; }
.result-action-row { display: flex; gap: 1rem; padding: 1.5rem 2rem; background: var(--bg-soft); }
.btn-result-service {
  display: inline-flex; align-items: center;
  padding: .7rem 1.5rem; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,51,153,.25); transition: var(--transition-smooth);
}
.btn-result-service:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,51,153,.38); }
.btn-result-secondary {
  display: inline-flex; align-items: center;
  padding: .68rem 1.25rem; border-radius: var(--radius-md);
  background: var(--bg-alt); color: var(--ink); border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 600; cursor: pointer; font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.btn-result-secondary:hover { background: var(--white); border-color: var(--brother-blue); color: var(--brother-blue); }

.no-result-card { text-align: center; padding: 3rem 2rem; }
.no-result-icon { font-size: 3.5rem; color: var(--muted); margin-bottom: 1rem; }
.no-result-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.no-result-card p { color: var(--muted); font-size: .9rem; max-width: 440px; margin: 0 auto 1.5rem; line-height: 1.65; }
.no-result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.no-result-contact { font-size: .8rem; color: var(--muted); }
.no-result-contact a { color: var(--brother-blue); }

/* Warranty Info Grid */
.warranty-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.winfo-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 1.5rem 1.25rem;
  text-align: center; transition: var(--transition-smooth);
}
.winfo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.winfo-icon { font-size: 2rem; color: var(--brother-blue); margin-bottom: .75rem; }
.winfo-card h4 { font-size: .9rem; margin-bottom: .4rem; }
.winfo-card p { font-size: .8rem; color: var(--muted); line-height: 1.55; }
.winfo-card-link { color: inherit; text-decoration: none; }
.winfo-action {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  color: var(--brother-blue);
  font-size: .76rem;
  font-weight: 700;
}
.winfo-card-link:hover .winfo-action i { transform: translateX(3px); }
.winfo-action i { transition: transform .2s ease; }

/* ==========================================================================
   TRACKING / CALL STATUS
   ========================================================================== */
.tracking-section { padding: 2rem 0 3rem; background: var(--bg-soft); }
.tracking-search-card { padding: 1.75rem; }
.tracking-search-header { margin-bottom: 1rem; }
.tracking-search-header h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.tracking-search-header p { font-size: .87rem; color: var(--muted); }

.tracking-method-pills { display: flex; gap: .5rem; margin-bottom: .9rem; flex-wrap: wrap; }
.method-pill {
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem 1.1rem; border-radius: var(--radius-round);
  border: 1.5px solid var(--line); background: var(--bg-soft);
  color: var(--muted); font-size: .83rem; font-weight: 600; cursor: pointer;
  transition: var(--transition-smooth);
}
.method-pill input { display: none; }
.method-pill.active, .method-pill:hover { background: var(--brother-blue); color: #fff; border-color: var(--brother-blue); }

.tracking-search-row { display: flex; gap: .75rem; }
.btn-track-search {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: .72rem 1.5rem;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; font-family: var(--font-body);
  box-shadow: 0 4px 12px rgba(0,51,153,.28);
  transition: var(--transition-smooth);
}
.btn-track-search:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,51,153,.4); }
.tracking-hint-examples { font-size: .8rem; color: var(--muted); margin-top: .85rem; }
.tracking-hint-examples code { background: var(--bg-alt); padding: .1rem .4rem; border-radius: 4px; font-size: .8rem; }
.tracking-hint-examples a { color: var(--brother-blue); }

/* Loader */
.track-loader {
  display: flex; flex-direction: column; align-items: center;
  gap: 1rem; padding: 3rem 0;
}
.loader-spinner {
  width: 48px; height: 48px; border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--brother-blue);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.track-loader p { color: var(--muted); font-size: .9rem; }

/* Status Banner */
.tracking-result-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  animation: fadeSlideIn .35s ease;
}

.track-results-split {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
}

.track-results-split .track-detail-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.track-results-split .track-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.track-results-single {
  display: block;
}

.track-results-split .track-request-grid {
  grid-template-columns: 1fr;
  max-height: 360px;
  overflow-y: auto;
  padding-right: .15rem;
}

.track-results-split .track-request-tile {
  min-height: 64px;
}

.track-multi-card {
  padding: 1rem 1.25rem;
}

.track-multi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .7rem;
}

.track-multi-count {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
}

.track-multi-count i {
  color: var(--brother-blue);
  font-size: 1.05rem;
}

.track-multi-count strong {
  font-size: .9rem;
}

.track-multi-header > span:last-child {
  font-size: .74rem;
  color: var(--muted);
}

.track-request-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
}

.track-request-tile {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: .55rem .7rem;
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.track-request-tile:hover,
.track-request-tile:focus-visible {
  border-color: var(--brother-blue);
  background: var(--white);
  outline: none;
}

.track-request-tile.is-active {
  border-color: var(--brother-blue);
  background: rgba(0, 51, 153, .07);
  box-shadow: inset 0 0 0 1px rgba(0, 51, 153, .12);
}

.track-request-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
}

.track-request-tile-top small {
  color: var(--muted);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.track-request-tile-top [class^="badge-"],
.track-request-tile-top [class*=" badge-"] {
  padding: .15rem .4rem;
  font-size: .62rem;
}

.track-request-tile > strong {
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.track-request-model {
  overflow: hidden;
  color: var(--muted);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-status-banner {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, #0a2680, #1a4fd6);
  color: #fff; border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-lg);
}
.track-status-banner--closed {
  background: linear-gradient(135deg, #14532d, #16a34a);
}
.track-status-banner--pending {
  background: linear-gradient(135deg, #9a3412, #ea580c);
}
.track-status-banner--inprog {
  background: linear-gradient(135deg, #0a2680, #1a4fd6);
}
.track-details-card--single {
  width: 100%;
  max-width: none;
  margin: 0;
}
.track-status-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}
.track-status-text { flex: 1; }
.track-status-text strong { display: block; font-size: 1.25rem; font-family: var(--font-headings); margin-bottom: .25rem; }
.track-status-text span { font-size: .85rem; opacity: .82; }
.track-ticket-display {
  text-align: right; flex-shrink: 0;
  display: flex; flex-direction: column; gap: .2rem;
}
.track-ticket-display span { font-size: .73rem; opacity: .7; }
.track-ticket-display strong { font-size: 1.05rem; font-family: var(--font-headings); letter-spacing: .03em; }

/* Timeline */
.track-timeline-card { padding: 1.75rem; }
.timeline-title { font-size: 1rem; margin-bottom: 1.5rem; color: var(--ink); }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 1rem; top: .5rem; bottom: .5rem;
  width: 2px; background: var(--line);
}
.timeline-item {
  position: relative; padding: 0 0 1.5rem 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.5rem; top: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  border: 2px solid var(--line); background: var(--white); color: var(--muted);
  z-index: 1;
}
.timeline-item.completed .tl-dot { background: #16a34a; border-color: #16a34a; color: #fff; }
.timeline-item.active .tl-dot { background: var(--brother-blue); border-color: var(--brother-blue); color: #fff; }
.tl-content strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.tl-content span { font-size: .82rem; color: var(--muted); display: block; margin-bottom: .25rem; }
.tl-content time { font-size: .76rem; color: var(--brother-blue); font-weight: 600; }
.timeline-item.pending .tl-content strong, .timeline-item.pending .tl-content span { color: var(--muted); opacity: .6; }
@keyframes spinAnim { to { transform: rotate(360deg); } }
.spin-icon { display: inline-block; animation: spinAnim 1.2s linear infinite; }

/* Details Grid */
.track-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.track-details-card { padding: 1.25rem; }
.track-details-card h4 { font-size: .95rem; margin-bottom: .8rem; }
.track-detail-rows { display: flex; flex-direction: column; gap: .1rem; }
.tdr {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .83rem;
}
.tdr:last-child { border-bottom: none; }
.tdr span { color: var(--muted); flex-shrink: 0; margin-right: 1rem; }
.tdr strong { color: var(--ink); text-align: right; }

.track-details-card--single .track-detail-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.track-details-card--single .tdr {
  min-width: 0;
  min-height: 64px;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  flex-direction: column;
  justify-content: center;
  gap: .3rem;
}

.track-details-card--single .tdr > span {
  margin: 0;
  font-size: .74rem;
}

.track-details-card--single .tdr > strong {
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}

.engineer-profile { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.engineer-avatar { font-size: 2.75rem; color: var(--brother-blue); }
.engineer-info strong { display: block; font-size: 1rem; color: var(--ink); }
.engineer-info span { font-size: .78rem; color: var(--muted); }

.track-reset-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding: .5rem 0 1rem; }

/* No Result */
.tracking-no-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.15fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.5rem;
  animation: fadeSlideIn .35s ease;
}
.no-result-summary { display: flex; align-items: center; gap: 1rem; }
.tracking-no-result .no-result-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem; color: var(--brother-blue);
  background: rgba(0, 51, 153, .08);
}
.tracking-no-result h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.no-result-summary p { color: var(--muted); font-size: .84rem; margin: 0; line-height: 1.5; }
.no-result-help { display: flex; flex-direction: column; gap: .65rem; }
.no-result-hint-boxes { margin: 0; }
.hint-box {
  display: flex; align-items: center; gap: .55rem;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: .55rem .75rem;
}
.hint-box i { font-size: 1rem; color: var(--brother-blue); }
.hint-box span { font-size: .76rem; color: var(--muted); }
.hint-box code { font-size: .76rem; background: var(--bg-alt); padding: .1rem .35rem; border-radius: 4px; }
.tracking-no-result .no-result-actions {
  justify-content: flex-start;
  gap: .65rem;
  margin: 0;
}
.tracking-no-result .no-result-contact {
  margin: 0;
  font-size: .75rem;
  color: var(--muted);
}

/* ==========================================================================
   SERIAL REGISTRATION
   ========================================================================== */
.serial-workspace { }
.serial-info-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.sif-item {
  display: flex; align-items: flex-start; gap: .85rem;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
}
.sif-item i { font-size: 1.25rem; color: rgba(255,255,255,.9); margin-top: 2px; flex-shrink: 0; }
.sif-item strong { display: block; color: #fff; font-size: .85rem; margin-bottom: .15rem; }
.sif-item small { color: rgba(255,255,255,.6); font-size: .76rem; }

.serial-verify-area { margin-bottom: 1.5rem; }
.serial-verify-input-group { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.serial-lookup-field { min-width: 0; }
.serial-lookup-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 42px;
  flex-shrink: 0;
}

.device-info-reveal {
  background: linear-gradient(135deg, rgba(0,51,153,.05), rgba(30,93,230,.04));
  border: 1.5px solid rgba(0,51,153,.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: fadeSlideIn .3s ease;
}
.device-info-header {
  display: flex; align-items: center; gap: .6rem;
  background: var(--brother-blue); color: #fff;
  padding: .75rem 1.25rem; font-size: .85rem; font-weight: 700;
}
.device-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 0;
}
.di-item {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,51,153,.1);
  border-right: 1px solid rgba(0,51,153,.1);
}
.di-item:nth-child(3n) { border-right: none; }
.di-item span { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.di-item strong { font-size: .9rem; color: var(--ink); }

/* ==========================================================================
   CUSTOMER ENQUIRY
   ========================================================================== */
/* ==========================================================================
   CUSTOMER ENQUIRY (Redesigned Premium Layout)
   ========================================================================== */
.enquiry-section {
  padding: 2.25rem 0 4rem;
  background: var(--bg-soft);
}

.enquiry-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1.5rem;
  align-items: start;
}

.enquiry-form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 51, 153, 0.05);
  overflow: hidden;
}

.enquiry-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00194d 0%, #003399 50%, #06b6d4 100%);
}

.prodreg-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.prodreg-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.prodreg-card-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.15rem;
}

.prodreg-card-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Enquiry captcha + actions */
.enquiry-captcha {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 51, 153, 0.04), rgba(6, 182, 212, 0.05)),
    #f8fafc;
}

.enquiry-captcha__head {
  margin-bottom: 0.85rem;
}

.enquiry-captcha__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.enquiry-captcha__title i {
  color: var(--brother-blue, #003399);
  font-size: 1rem;
}

.enquiry-captcha__hint {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
}

.enquiry-captcha__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.enquiry-captcha__challenge {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
  min-width: 0;
}

.enquiry-captcha__equation {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px dashed #b7c7e4;
  background: #fff;
  background-image: radial-gradient(rgba(0, 51, 153, 0.08) 1px, transparent 0);
  background-size: 10px 10px;
  font-family: var(--font-headings, "Source Sans 3", sans-serif);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #003399;
  user-select: none;
  white-space: nowrap;
}

.enquiry-captcha__refresh {
  width: 48px;
  height: auto;
  min-height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #d0dceb;
  background: #fff;
  color: var(--brother-blue, #003399);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.enquiry-captcha__refresh:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: rotate(180deg);
}

.enquiry-captcha__answer {
  min-width: 0;
  height: 100%;
}

.enquiry-captcha__answer .form-input {
  height: 100%;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.enquiry-form-actions {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.7fr) minmax(0, 1.6fr);
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #e2e8f0);
}

.btn-enquiry-cancel,
.btn-enquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-body, "Source Sans 3", sans-serif);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-enquiry-cancel {
  border: 1.5px solid #d7dee9;
  background: #fff;
  color: #475569;
}

.btn-enquiry-cancel:hover {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fef2f2;
}

.btn-enquiry-submit {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #001f5c 0%, #003399 55%, #2563eb 100%);
  box-shadow: 0 8px 20px rgba(0, 51, 153, 0.28);
}

.btn-enquiry-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 51, 153, 0.36);
  color: #fff;
}

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

/* Sidebar Contact Cards */
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.contact-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 51, 153, 0.08);
  color: #003399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-icon--green {
  background: rgba(22, 163, 74, 0.1) !important;
  color: #16a34a !important;
}

.contact-icon--amber {
  background: rgba(217, 119, 6, 0.1) !important;
  color: #d97706 !important;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.1rem;
}

.contact-item a {
  display: block;
  color: #003399;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.contact-address {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.map-embed {
  width: 100%;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.support-hours-table { display: flex; flex-direction: column; gap: .1rem; }
.sh-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .83rem; }
.sh-row:last-child { border-bottom: none; }
.sh-row span { color: var(--muted); }
.sh-row strong { color: var(--ink); }
.sh-row.holiday strong { color: #dc2626; }

/* FAQ Accordion */
.faq-card { }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  border: 1.5px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition-smooth);
}
.faq-item[open] { border-color: var(--brother-blue); }
.faq-item summary {
  padding: .85rem 1rem;
  font-size: .85rem; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white);
  transition: var(--transition-smooth);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f282'; font-family: 'Bootstrap-Icons';
  font-size: .8rem; color: var(--muted);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); color: var(--brother-blue); }
.faq-item[open] summary { color: var(--brother-blue); background: rgba(0,51,153,.04); }
.faq-item p { padding: 0 1rem .9rem; font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 0; }
.faq-item a { color: var(--brother-blue); }

/* ==========================================================================
   Account / Login / Forgot / Reset
   ========================================================================== */
.account-section,
.account-shell-page {
  background:
    radial-gradient(ellipse at top right, rgba(0, 51, 153, 0.07), transparent 45%),
    radial-gradient(ellipse at bottom left, rgba(30, 93, 230, 0.05), transparent 40%),
    linear-gradient(180deg, #f0f4ff 0%, #f8faff 40%, #fff 100%);
  min-height: calc(100vh - 125px);
  padding: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Unified side-by-side grid for ALL account pages */
.account-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Keep old selectors working as fallback */
.account-shell,
.login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

/* ---- Account Card (left panel) ---- */
.account-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.account-card-top-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--brother-blue-dark), var(--brother-blue-light));
}

.account-card-body {
  padding: 1.75rem 2rem;
}

.account-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-brand-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brother-blue-dark), var(--brother-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,51,153,.25);
}

.account-card-title {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--brother-blue-dark);
  margin: 0 0 .1rem;
  line-height: 1.2;
}

.account-card-lead {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.eyebrow {
  display: inline-block;
  color: var(--brother-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* ---- Account Form ---- */
.account-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.account-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}

/* Keep legacy .field selector */
.account-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.account-form .field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.account-form .field input {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  background: var(--bg-soft);
  width: 100%;
}
.account-form .field input:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

/* Input with icon wrapper */
.account-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.account-input-wrap > i:first-child {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* Must beat the later .account-form input[type=...] padding rule */
.account-form .account-input-wrap input,
.account-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: var(--transition-smooth);
  outline: none;
}

/* Extra right space when password eye toggle is present */
.account-form .account-input-wrap:has(.account-eye-toggle) input,
.account-input-wrap:has(.account-eye-toggle) input {
  padding-right: 2.85rem;
}

.account-form .account-input-wrap input:focus,
.account-input-wrap input:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

.account-eye-toggle {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: transparent;
  transition: var(--transition-smooth);
  z-index: 1;
}
.account-eye-toggle:hover { color: var(--brother-blue); }

.account-captcha-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.account-captcha-row .captcha-math-box {
  min-width: 7.5rem;
  text-align: center;
}

.account-captcha-input {
  flex: 1;
  min-width: 0;
}

.account-captcha-field .required-star {
  color: #ef4444;
  font-weight: 700;
}

.account-form .input-error {
  border-color: #ef4444 !important;
  background: #fef2f2;
}

/* Legacy / plain inputs (no icon wrap) — only direct field children */
.account-form > .account-field > input[type="text"],
.account-form > .account-field > input[type="email"],
.account-form > .account-field > input[type="password"],
.account-form .field > input[type="text"],
.account-form .field > input[type="email"],
.account-form .field > input[type="password"] {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
  background: var(--bg-soft);
  width: 100%;
}
.account-form > .account-field > input[type="text"]:focus,
.account-form > .account-field > input[type="email"]:focus,
.account-form > .account-field > input[type="password"]:focus,
.account-form .field > input:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

/* Icon + text spacing (wins over any plain input padding) */
.account-form .account-input-wrap > input[type="text"],
.account-form .account-input-wrap > input[type="email"],
.account-form .account-input-wrap > input[type="password"],
.account-form .account-input-wrap > input {
  padding: 0.75rem 1rem 0.75rem 2.85rem;
}
.account-form .account-input-wrap:has(.account-eye-toggle) > input[type="text"],
.account-form .account-input-wrap:has(.account-eye-toggle) > input[type="email"],
.account-form .account-input-wrap:has(.account-eye-toggle) > input[type="password"],
.account-form .account-input-wrap:has(.account-eye-toggle) > input {
  padding-right: 2.85rem;
}

/* Remember me + forgot password row */
.account-login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: .1rem 0 .25rem;
}
.account-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
}
/* Legacy */
.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0.25rem 0 0.5rem;
}
.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Submit Button */
.btn-account-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .875rem 1.5rem;
  background: linear-gradient(135deg, var(--brother-blue-dark) 0%, var(--brother-blue) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,51,153,.3);
  transition: var(--transition-smooth);
  margin-top: .25rem;
}
.btn-account-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,51,153,.4);
}

/* Global double-submit lock */
form.is-submitting button[type="submit"],
form.is-submitting button:not([type]),
form.is-submitting input[type="submit"],
button.is-submit-locked,
input.is-submit-locked {
  opacity: .72;
  cursor: wait !important;
  pointer-events: none;
}

/* Legacy submit button */
.account-submit,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brother-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}
.account-submit:hover, .btn-primary:hover { background: var(--brother-blue-dark); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--brother-blue);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-weight: 700; text-decoration: none;
}

/* Policy box */
.account-policy-box {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.apb-header {
  background: linear-gradient(90deg, var(--brother-blue-dark), var(--brother-blue));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .6rem 1rem;
}
.account-policy-box ul {
  margin: 0;
  padding: .75rem 1rem .75rem 1.75rem;
  color: var(--muted);
  font-size: .84rem;
  display: grid;
  gap: .3rem;
}
.account-policy-list {
  list-style: none !important;
  padding: .75rem 1rem !important;
  margin: 0;
  display: grid;
  gap: .45rem;
}
.account-policy-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.35;
  transition: color .15s ease;
}
.account-policy-icon {
  margin-top: .12rem;
  font-size: .85rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.account-policy-item.is-met {
  color: #15803d;
  font-weight: 600;
}
.account-policy-item.is-met .account-policy-icon {
  color: #16a34a;
}
.account-policy-item.is-info {
  color: #64748b;
}
.account-policy-item.is-info .account-policy-icon {
  color: #64748b;
}
/* Legacy */
.policy-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
}
.policy-box h2 { font-size: 0.95rem; margin-bottom: 0.55rem; color: var(--brother-blue-dark); }
.policy-box ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.88rem; display: grid; gap: 0.3rem; }

/* Alerts */
.account-alert {
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .88rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  flex-wrap: wrap;
}
.account-alert:empty { display: none; }
.account-alert.validation-summary-valid { display: none; }
.account-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.account-alert-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.account-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.field-error, .field-validation-error { color: #ef4444; font-size: 0.78rem; min-height: 1rem; }
.form-field-group [aria-invalid="true"],
.form-input[aria-invalid="true"],
.form-select[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.account-followup {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.link { color: var(--brother-blue); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---- Right Info Panel ---- */
.account-info-panel,
.login-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.account-layout-grid > .account-card,
.account-layout-grid > .account-info-panel {
  height: 100%;
}

.aip-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, var(--brother-blue-dark), var(--brother-blue));
  padding: 1.5rem;
  color: #fff;
}
.aip-header-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.aip-header h2 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .15rem; }
.aip-header p  { font-size: .78rem; color: rgba(255,255,255,.75); margin: 0; }

/* Action list (Login right panel) */
.aip-action-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: .85rem;
  gap: .65rem;
}
.aip-action-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .8rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition-smooth);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.aip-action-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.aip-action-item:hover {
  background: var(--white);
  border-color: rgba(0, 51, 153, .25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.aip-action-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.aip-action-text { flex: 1; min-width: 0; }
.aip-action-text strong { display: block; font-size: .87rem; margin-bottom: .1rem; color: var(--ink); }
.aip-action-text small  { display: block; font-size: .75rem; color: var(--muted); }
.aip-chevron { color: var(--line); font-size: .85rem; transition: var(--transition-smooth); }
.aip-action-item:hover .aip-chevron { color: var(--brother-blue); }

@media (max-width: 560px) {
  .aip-action-list {
    grid-template-columns: 1fr;
  }

  .aip-action-item:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* Tips list (Forgot/Reset/Change right panel) */
.aip-tips-list {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  gap: 1.1rem;
}
.aip-tip-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.aip-tip-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(0,51,153,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--brother-blue);
  font-size: .95rem; flex-shrink: 0;
}
.aip-tip-item > div strong { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .15rem; }
.aip-tip-item > div p     { font-size: .78rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Legacy login aside */
.login-aside { padding: 0; }
.login-aside h2 { font-size: 1.2rem; margin-bottom: 1rem; padding: 1.5rem 1.5rem 0; }
.login-aside ul { list-style: none; display: grid; gap: 0.65rem; margin-bottom: 1.25rem; padding: 0 1.5rem; }
.login-aside a { color: var(--brother-blue); text-decoration: none; font-weight: 600; }
.login-aside p { padding: 0 1.5rem; color: var(--muted); }

/* Divider + help row */
.aip-divider {
  height: 1px;
  background: var(--line);
  margin: 0 1.5rem;
}
.aip-help-row {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.aip-help-row p { font-size: .82rem; color: var(--muted); margin: 0; }
.btn-aip-secondary {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.25rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-aip-secondary:hover {
  background: var(--white);
  border-color: var(--brother-blue);
  color: var(--brother-blue);
}

/* ==========================================================================
   PAGE REDESIGN ENHANCEMENTS  (Hero Strip, Product/Service Pages)
   ========================================================================== */

/* Hero strip features bar */
.hero-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-round);
  padding: .28rem .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: .85rem;
}

.hero-v2-badge-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .4rem;
}

.hero-v2-strip-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: .5rem 0 .1rem;
  position: relative; z-index: 1;
  margin-top: .35rem;
}
.page-hero-strip--compact .hero-v2-strip-bar {
  padding: .4rem 0 0;
  margin-top: .4rem;
}
.hero-v2-strip-items {
  display: flex;
  align-items: center;
  gap: .55rem .85rem;
  flex-wrap: wrap;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  color: rgba(255,255,255,.72);
}
.hero-strip-item i { color: rgba(147,197,253,.9); font-size: .85rem; }
.hero-strip-divider { width: 1px; height: 12px; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* Tab selector for Registration left panel */
.reg-tab-selector {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.reg-tab-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: .45rem;
  padding: .65rem 1rem;
  background: var(--bg-soft);
  border: none;
  border-right: 1.5px solid var(--line);
  cursor: pointer;
  font-size: .82rem; font-weight: 600;
  color: var(--muted);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}
.reg-tab-btn:last-child { border-right: none; }
.reg-tab-btn.active { background: var(--brother-blue); color: #fff; }
.reg-tab-panel { display: none; }
.reg-tab-panel.active { display: block; }
.prodreg-existing-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.prodreg-existing-columns .prodreg-card {
  height: 100%;
  margin: 0;
}
.prodreg-existing-results {
  margin-top: 1.25rem;
}
.registered-products-header--flush {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
@media (max-width: 900px) {
  .prodreg-existing-columns { grid-template-columns: 1fr; }
  .prodreg-layout--verify-only.prodreg-layout--existing {
    grid-template-columns: minmax(0, 560px);
  }
}

/* BPSR Sidebar Progress */
.bpsr-progress-track {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  margin-bottom: 1.5rem;
}
.bpsr-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .55rem;
}
.bpsr-progress-label span { font-size: .68rem; color: #64748b; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.bpsr-progress-label strong { font-size: .78rem; color: var(--brother-blue); }
.bpsr-progress-bar {
  height: 4px;
  background: #dbeafe;
  border-radius: var(--radius-round);
  overflow: hidden;
}
.bpsr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brother-blue-light), #93c5fd);
  border-radius: var(--radius-round);
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* BPSR Features Box */
.bpsr-step-divider { height: 1px; background: #bfdbfe; margin: 1.1rem 0; }
.bpsr-features-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  margin-bottom: 1.25rem;
}
.bpsr-features-box h4 { font-size: .68rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .65rem; }
.bpsr-feature-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .3rem 0;
  font-size: .78rem;
  color: #475569;
}
.bpsr-feature-item i { color: var(--brother-blue); font-size: .82rem; flex-shrink: 0; }

/* Enhanced Step Header v2 */
.bpsr-step-header-v2 {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.step-header-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0;
  box-shadow: 0 3px 9px rgba(0,51,153,.18);
}
.step-header-text .step-badge { margin-bottom: .15rem; padding: .15rem .55rem; font-size: .62rem; }
.step-header-text h3 { font-size: 1.1rem; margin-bottom: .1rem; }
.step-header-text p  { color: var(--muted); font-size: .78rem; margin: 0; }

/* Form section label v2 with icon */
.form-section-label-v2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--brother-blue);
  padding: .5rem 0;
  border-bottom: 2px solid var(--bg-alt);
  margin-bottom: 1rem;
}
.form-section-label-v2 .bpsr-summary-heading {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.form-section-label-v2 .btn-bpsr-print {
  margin-left: auto;
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: .4rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.form-section-label-v2 .btn-bpsr-print:hover {
  border-color: var(--brother-blue);
  color: var(--brother-blue);
  background: rgba(0, 51, 153, .04);
}
.form-section-label-v2 .btn-bpsr-print i {
  width: auto;
  height: auto;
  background: transparent;
  font-size: .95rem;
}
.form-section-label-v2 i {
  width: 22px; height: 22px;
  background: rgba(0,51,153,.08);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; flex-shrink: 0;
}

/* Form input without icon padding */
.form-input-plain {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: var(--transition-smooth);
  outline: none;
  appearance: none;
}
.form-input-plain:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}
.form-input-plain[readonly] { background: var(--bg-alt); color: var(--muted); cursor: not-allowed; }

/* Serial registration OTP step */
.serial-contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 1rem;
  padding: .8rem 1rem;
  margin-bottom: .85rem;
  border: 1px solid #dbe5f4;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f7faff, #f2f6fc);
}
.serial-contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 4px 12px rgba(109,40,217,.22);
}
.serial-contact-item { min-width: 0; }
.serial-contact-item span {
  display: block;
  margin-bottom: .15rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.serial-contact-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: .86rem;
}
.serial-otp-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.05);
}
.serial-otp-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.serial-otp-heading h4 { margin: 0 0 .1rem; font-size: .96rem; }
.serial-otp-heading p { margin: 0; color: var(--muted); font-size: .75rem; }
.serial-otp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .75rem;
}
.serial-otp-input {
  max-width: 280px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .35em;
}
.btn-serial-otp-primary,
.btn-serial-otp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .65rem 1.15rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-serial-otp-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-light));
  box-shadow: 0 4px 12px rgba(0,51,153,.24);
}
.btn-serial-otp-secondary {
  min-height: 38px;
  border: 1px solid rgba(0,51,153,.22);
  color: var(--brother-blue);
  background: #f4f7ff;
}
.btn-serial-otp-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,51,153,.3); }
.btn-serial-otp-secondary:hover { border-color: var(--brother-blue); background: #eaf0ff; }
.btn-serial-otp-primary:disabled,
.btn-serial-otp-secondary:disabled { cursor: not-allowed; opacity: .65; transform: none; }

/* Terms box improvement */
.prodreg-terms-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}

/* ==========================================================================
   RESPONSIVE — ACCOUNT & INNER PAGES
   ========================================================================== */
@media (max-width: 1024px) {
  .prodreg-layout,
  .prodreg-layout--verify-only,
  .prodreg-layout--form-only { grid-template-columns: 1fr; }
  .prodreg-card-header { flex-wrap: wrap; }
  .warranty-info-grid { grid-template-columns: repeat(2, 1fr); }
  .track-details-grid { grid-template-columns: 1fr; }
  .enquiry-form-layout { grid-template-columns: 1fr; }
  .enquiry-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .result-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .account-layout-grid,
  .login-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .bpsr-workspace {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .bpsr-step-nav {
    padding: 1rem;
    height: auto;
    border-radius: 16px 16px 0 0;
  }
  .bpsr-progress-track {
    margin-bottom: .75rem;
  }
  .bpsr-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
  .bpsr-steps::before { display: none; }
  .bpsr-step {
    min-width: 0;
    padding: .5rem .55rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #bfdbfe;
  }
  .bpsr-step.active {
    background: #ffffff;
    border-color: #93c5fd;
    box-shadow: 0 2px 10px rgba(30, 93, 230, 0.1);
  }
  .bpsr-step .step-num {
    width: 30px;
    height: 30px;
    font-size: .74rem;
  }
  .bpsr-helpline-box { display: none; }
  .bpsr-combined-entry-grid.is-verified {
    grid-template-columns: 1fr;
  }
  .bpsr-step .step-info { padding: 0; }
  .bpsr-step .step-info strong,
  .bpsr-step .step-info small { white-space: normal; line-height: 1.25; }
  .bpsr-form-area { padding: 1rem; }
  .serial-contact-card { grid-template-columns: auto minmax(0, 1fr); }
  .serial-contact-icon { grid-row: span 2; }
  .serial-otp-heading { align-items: flex-start; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1; }
  .page-hero-inner {
    flex-direction: row;
    align-items: center;
    gap: .75rem;
  }
  .page-hero-badge {
    display: inline-flex;
    max-width: 160px;
    padding: .4rem .65rem;
    gap: .45rem;
  }
  .page-hero-badge .hero-v2-badge-icon {
    width: 28px;
    height: 28px;
  }
  .page-hero-lead {
    font-size: .8rem;
  }
  .warranty-info-grid { grid-template-columns: 1fr 1fr; }
  .enquiry-quick-grid { grid-template-columns: 1fr; }
  .result-detail-grid { grid-template-columns: 1fr; }
  .result-detail-item { border-right: none; }
  .device-info-grid { grid-template-columns: 1fr 1fr; }
  .di-item:nth-child(2n) { border-right: none; }
  .confirmation-info-grid { grid-template-columns: 1fr; }
  .track-status-banner { flex-direction: column; text-align: center; gap: 1rem; }
  .track-ticket-display { text-align: center; }
  .track-details-card--single .track-detail-rows { grid-template-columns: 1fr; }
  .track-results-split { grid-template-columns: 1fr; }
  .track-results-split .track-request-grid,
  .track-request-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-multi-header { align-items: flex-start; flex-direction: column; gap: .1rem; }
  .tracking-no-result { grid-template-columns: 1fr; gap: 1rem; padding: 1.25rem; }
  .tracking-search-card,
  .track-details-card { padding: 1.25rem; }
  .serial-verify-input-group { flex-direction: column; align-items: stretch; }
  .warranty-search-row { flex-direction: column; }
  .tracking-search-row { flex-direction: column; }
  .bulk-action-row { flex-direction: column; align-items: stretch; }
  .bulk-upload-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .bulk-upload-actions .btn-warranty-search {
    width: 100%;
    justify-content: center;
  }
  .hero-v2-strip-items { gap: .65rem 1rem; }
  .hero-strip-divider { display: none; }

  .serial-lookup-submit {
    width: 100%;
  }

  .account-login-row,
  .login-row {
    flex-wrap: wrap;
    gap: .5rem .75rem;
  }

  .account-form-actions {
    flex-direction: column;
  }
  .account-form-actions .btn-account-submit,
  .account-form-actions .btn-form-cancel {
    width: 100%;
    flex: 1 1 auto;
  }

  .form-action-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .form-action-row .btn-prodreg-submit,
  .form-action-row .btn-form-cancel {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .prodreg-otp-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-prodreg-otp {
    width: 100%;
    justify-content: center;
  }

  .result-action-row {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .result-action-row > * {
    width: 100%;
    justify-content: center;
  }

  .warranty-search-row > .input-icon-wrap,
  .warranty-search-row > input,
  .tracking-search-row > .input-icon-wrap,
  .tracking-search-row > input {
    width: 100%;
    min-width: 0;
  }
  .warranty-search-row .btn-warranty-search,
  .tracking-search-row .btn-track-search {
    width: 100%;
    justify-content: center;
  }

  .account-card-body {
    padding: 1.35rem 1.2rem;
  }

  .account-captcha-row {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   REPORTS PORTAL STYLING
   ========================================================================== */
.reports-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.reports-sidebar {
  position: sticky;
  top: 90px;
}

.reports-sidebar-card {
  padding: 1.5rem;
}

.reports-sidebar-title {
  font-family: var(--font-header);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.reports-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.category-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.category-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.category-link.active {
  background: var(--brother-blue-glow);
  color: var(--brother-blue);
  font-weight: 600;
}

.reports-help-card {
  padding: 1.5rem;
  text-align: center;
}

.help-card-icon {
  font-size: 2.25rem;
  color: var(--brother-blue);
  margin-bottom: .75rem;
}

.reports-help-card h5 {
  font-family: var(--font-header);
  font-weight: 700;
  margin-bottom: .5rem;
}

.reports-help-card p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.4;
}

.reports-search-bar {
  display: flex;
  align-items: center;
  padding: .5rem 1.25rem;
}

.reports-search-bar .search-icon {
  font-size: 1.2rem;
  color: var(--muted);
  margin-right: .75rem;
}

.reports-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: .6rem 0;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

.clear-search-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: .25rem;
  transition: var(--transition-smooth);
}

.clear-search-btn:hover {
  color: var(--ink);
}

.report-category-group {
  margin-bottom: 2.5rem;
}

.category-group-header {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .5rem;
}

.reports-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.report-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}

.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.report-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.icon-blue { background: var(--brother-blue-glow); color: var(--brother-blue); }
.icon-green { background: rgba(22,163,74,0.1); color: #16a34a; }
.icon-amber { background: rgba(217,119,6,0.1); color: #d97706; }
.icon-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }
.icon-default { background: var(--bg-soft); color: var(--muted); }

.report-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.report-card-cat {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .25rem;
}

.report-card-title {
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.report-card-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.report-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: .75rem;
  margin-top: auto;
}

.report-code {
  font-size: .75rem;
  color: var(--muted);
  font-family: monospace;
}

.run-report-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brother-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: var(--transition-smooth);
}

.run-report-link:hover {
  color: #1d4ed8;
}

.no-reports-alert {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* === REPORT VIEWER SPLIT LAYOUT === */
.reports-viewer-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: start;
}

.reports-filter-card {
  padding: 1.75rem;
  position: sticky;
  top: 90px;
}

.filter-controls-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.filter-field-group label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: .5rem;
  display: block;
}

.btn-back-dashboard {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.btn-back-dashboard:hover {
  color: var(--ink);
}

.reports-results-card {
  padding: 1.5rem;
}

.reports-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-header-left {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
}

.grid-filter-search {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .5rem .75rem;
  font-size: .85rem;
  background: var(--bg-soft);
  color: var(--ink);
  outline: none;
  width: 240px;
  transition: var(--transition-smooth);
}

.grid-filter-search:focus {
  border-color: var(--brother-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

.results-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 3.5rem;
  color: var(--line);
  margin-bottom: 1.25rem;
}

.results-empty-state h4 {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}

.results-empty-state p {
  font-size: .9rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- Skeleton Loader --- */
.skeleton-loader-container {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
}

.skeleton-row {
  height: 24px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--line) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: loadingSkeleton 1.5s infinite;
  border-radius: 4px;
}

.skeleton-header {
  height: 38px;
  background: var(--bg-alt);
  margin-bottom: .5rem;
}

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

/* --- Responsive Table Grid --- */
.reports-grid-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  max-height: 550px;
}

.reports-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
  text-align: left;
}

.reports-data-table th {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 600;
  padding: .9rem 1rem;
  border-bottom: 2px solid var(--line);
  user-select: none;
}

.reports-data-table th i {
  font-size: .8rem;
  margin-left: .25rem;
}

.sort-disabled-icon {
  color: var(--muted);
  opacity: .4;
}

.reports-data-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
}

.reports-data-table tr:hover td {
  background: var(--bg-soft);
}

.table-empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem !important;
}

/* --- Pagination controls --- */
.reports-pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-info {
  font-size: .85rem;
  color: var(--muted);
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.btn-pag {
  background: var(--white);
  border: 1px solid var(--line);
  padding: .4rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-pag:hover:not(:disabled) {
  background: var(--bg-soft);
}

.btn-pag:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.pagination-page-nums {
  display: flex;
  gap: .25rem;
}

.btn-pag-num {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-pag-num:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn-pag-num.active {
  background: var(--brother-blue);
  color: var(--white);
  font-weight: 600;
}

/* --- Chart Segment --- */
.reports-chart-card {
  padding: 1.5rem;
}

.chart-canvas-wrapper {
  position: relative;
  height: 320px;
  width: 100%;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  padding: 1rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .reports-layout {
    grid-template-columns: 1fr;
  }
  .reports-sidebar {
    position: static;
  }
  .reports-viewer-layout {
    grid-template-columns: 1fr;
  }
  .reports-filter-card {
    position: static;
  }
}

/* ==========================================================================
   GLOBAL SMALL-SCREEN HARDENING
   ========================================================================== */
@media (max-width: 576px) {
  .container {
    padding-left: .85rem;
    padding-right: .85rem;
  }

  .section {
    padding: 2rem 0;
  }

  .page-hero-strip {
    padding: .75rem 0 .85rem;
  }

  .page-hero-strip--compact {
    padding: .55rem 0 .65rem;
  }

  .page-hero-title {
    font-size: 1.25rem;
  }

  .page-hero-lead {
    font-size: .8rem;
    line-height: 1.4;
  }

  .breadcrumb-trail {
    margin-bottom: .3rem;
    font-size: .72rem;
  }

  .glass-card {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .bpsr-section {
    padding: .85rem 0 1.5rem;
  }

  .bpsr-workspace {
    padding: 0;
  }

  .bpsr-step-nav {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .bpsr-brand-title {
    font-size: .92rem;
  }

  .bpsr-form-area {
    padding: .85rem;
  }

  .serial-contact-card {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .serial-contact-icon { display: none; }
  .serial-otp-heading { flex-direction: column; }
  .btn-serial-otp-secondary { width: 100%; }
  .serial-otp-grid { grid-template-columns: 1fr; }
  .serial-otp-input { max-width: 100%; }
  .btn-serial-otp-primary { width: 100%; }

  .bpsr-form-area .row,
  .bpsr-form-area [class*="col-"],
  .bpsr-form-area .input-icon-wrap,
  .bpsr-form-area .form-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .bpsr-step-header-v2 {
    align-items: center;
  }

  .step-header-icon {
    width: 34px;
    height: 34px;
    font-size: .95rem;
  }

  .step-header-text h3 {
    font-size: 1rem;
  }

  .step-actions {
    gap: .55rem;
    flex-wrap: wrap;
  }

  .step-actions-left {
    gap: .45rem;
  }

  .btn-wizard-back,
  .btn-wizard-next,
  .btn-wizard-submit,
  .btn-form-cancel {
    padding: .62rem .85rem;
    font-size: .8rem;
  }

  .form-action-row .btn-prodreg-submit {
    min-width: 0;
  }

  .warranty-info-grid,
  .device-info-grid,
  .confirmation-info-grid,
  .track-request-grid,
  .track-results-split .track-request-grid {
    grid-template-columns: 1fr;
  }

  .di-item {
    border-right: none;
  }

  .tracking-search-card,
  .track-details-card,
  .track-multi-card,
  .tracking-no-result {
    padding: 1rem;
  }

  .track-status-banner {
    padding: 1rem;
  }

  .tracking-no-result {
    min-width: 0;
  }

  .tracking-no-result .no-result-actions,
  .no-result-actions,
  .track-reset-row,
  .success-actions {
    width: 100%;
  }

  .tracking-no-result .no-result-actions > *,
  .track-reset-row > *,
  .success-actions > * {
    flex: 1 1 100%;
    justify-content: center;
  }

  .enquiry-captcha__body {
    grid-template-columns: 1fr;
  }

  .enquiry-captcha__challenge {
    width: 100%;
  }

  .enquiry-form-actions {
    grid-template-columns: 1fr;
  }

  .btn-enquiry-cancel,
  .btn-enquiry-submit {
    width: 100%;
  }

  .enquiry-captcha-row {
    flex-wrap: wrap;
  }

  .enquiry-captcha-row .input-icon-wrap {
    flex: 1 1 150px !important;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .brand-col,
  .contact-col {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .navbar {
    width: min(320px, 100vw);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .modal-header-gradient {
    padding: 1rem;
  }

  .modal-header-text span {
    display: none;
  }

  .serial-guide-modal-content {
    width: calc(100vw - 1rem);
  }

  .reports-layout,
  .reports-viewer-layout {
    gap: 1rem;
  }

  .reports-subgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .reports-sidebar-card,
  .reports-filter-card,
  .reports-results-card,
  .reports-chart-card {
    padding: 1rem;
  }

  .reports-results-header {
    align-items: stretch;
  }

  .grid-filter-search {
    width: 100%;
  }

  .reports-pagination-container {
    flex-direction: column;
    align-items: stretch;
  }

  .pagination-buttons {
    max-width: 100%;
    overflow-x: auto;
  }

  .results-empty-state {
    padding: 2rem 1rem;
  }

  .swal2-popup.brother-swal-popup {
    padding: 1.25rem 1rem 1rem !important;
  }

  .brother-swal-actions {
    flex-direction: column !important;
  }

  .brother-swal-confirm,
  .brother-swal-cancel {
    width: 100%;
    margin: 0 !important;
  }

  .account-section {
    padding: 1rem 0 1.5rem;
    align-items: flex-start;
  }

  .account-layout-grid,
  .login-grid,
  .account-shell {
    gap: 1rem;
    padding: 0 .15rem;
  }

  .account-card-title {
    font-size: 1.35rem;
  }

  .account-card-lead {
    font-size: .84rem;
    margin-bottom: 1.15rem;
  }

  .account-captcha-row .captcha-math-box {
    min-width: 0;
    flex: 1 1 7rem;
  }

  .account-login-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-power-section {
    padding: .85rem .65rem;
    min-height: auto;
  }

  .login-card-workspace {
    padding: 1.35rem 1.1rem;
  }

  .page-hero-lead {
    overflow-wrap: anywhere;
  }
}

/* ==========================================================================
   Enterprise CRM Admin Panel - Extended Design Tokens & Theme Engine
   ========================================================================== */
[data-accent="navy"], [data-accent="blue"] {
  --admin-accent: #2563eb;
  --admin-accent-hover: #1d4ed8;
  --admin-accent-glow: rgba(37, 99, 235, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
[data-accent="emerald"], [data-accent="green"] {
  --admin-accent: #059669;
  --admin-accent-hover: #047857;
  --admin-accent-glow: rgba(5, 150, 105, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #10b981, #047857);
}
[data-accent="purple"] {
  --admin-accent: #7c3aed;
  --admin-accent-hover: #6d28d9;
  --admin-accent-glow: rgba(124, 58, 237, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
[data-accent="pink"] {
  --admin-accent: #db2777;
  --admin-accent-hover: #be185d;
  --admin-accent-glow: rgba(219, 39, 119, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #ec4899, #be185d);
}
[data-accent="orange"] {
  --admin-accent: #ea580c;
  --admin-accent-hover: #c2410c;
  --admin-accent-glow: rgba(234, 88, 12, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #f97316, #c2410c);
}
[data-accent="amber"] {
  --admin-accent: #d97706;
  --admin-accent-hover: #b45309;
  --admin-accent-glow: rgba(217, 119, 6, 0.18);
  --admin-accent-gradient: linear-gradient(135deg, #f59e0b, #b45309);
}

/* Header Action Buttons */
.header-action-btn {
  background: var(--admin-bg-page);
  border: 1px solid var(--admin-border);
  color: var(--admin-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.header-action-btn:hover {
  background: var(--admin-accent-glow);
  border-color: var(--admin-accent);
  color: var(--admin-accent);
  transform: translateY(-1px);
}
.header-action-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--admin-bg-card);
}

/* Command Search Trigger Button */
.command-palette-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--admin-bg-page);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: var(--admin-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.command-palette-trigger:hover {
  border-color: var(--admin-accent);
  background: var(--admin-accent-glow);
  color: var(--admin-text-main);
}
.command-shortcut-kbd {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.7rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--admin-text-muted);
}

/* Theme Picker Modal / Popover */
.theme-picker-modal {
  position: absolute;
  top: 65px;
  right: 2rem;
  width: 280px;
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.25);
  padding: 1.25rem;
  z-index: 1000;
  display: none;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-picker-modal.show {
  display: block;
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.theme-swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.theme-swatch-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin: 0 auto;
}
.theme-swatch-btn:hover {
  transform: scale(1.12);
}
.theme-swatch-btn.active {
  border-color: var(--admin-text-main);
  box-shadow: 0 0 0 4px var(--admin-accent-glow);
}
.theme-swatch-btn.active::after {
  content: '\f26e';
  font-family: 'Bootstrap-Icons';
  color: #ffffff;
  font-size: 1.1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.theme-swatch-btn.swatch-navy { background: linear-gradient(135deg, #1e293b, #2563eb); }
.theme-swatch-btn.swatch-emerald { background: linear-gradient(135deg, #064e3b, #10b981); }
.theme-swatch-btn.swatch-purple { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.theme-swatch-btn.swatch-pink { background: linear-gradient(135deg, #831843, #ec4899); }
.theme-swatch-btn.swatch-orange { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.theme-swatch-btn.swatch-amber { background: linear-gradient(135deg, #78350f, #d97706); }

/* Command Palette Overlay */
.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cmd-palette-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.cmd-palette-card {
  width: min(640px, 92vw);
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translateY(-20px) scale(0.98);
  transition: transform 0.2s ease;
}
.cmd-palette-backdrop.show .cmd-palette-card {
  transform: translateY(0) scale(1);
}

.cmd-palette-input-wrap {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--admin-border);
  gap: 0.75rem;
}
.cmd-palette-input-wrap i {
  font-size: 1.25rem;
  color: var(--admin-accent);
}
.cmd-palette-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--admin-text-main);
  font-family: var(--admin-font-sans);
}

.cmd-palette-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.5rem;
}
.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--admin-text-main);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cmd-item:hover, .cmd-item.selected {
  background: var(--admin-accent-glow);
  color: var(--admin-accent);
}
.cmd-item-title {
  font-weight: 500;
  font-size: 0.95rem;
}
.cmd-item-category {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Powerful Enterprise Split-Screen Login Architecture
   ========================================================================== */
.login-power-section {
  min-height: calc(100vh - 125px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: radial-gradient(circle at 10% 20%, rgba(0, 75, 147, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 118, 230, 0.06) 0%, transparent 40%),
              linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  box-sizing: border-box;
}

.login-power-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  max-width: 1080px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 43, 85, 0.22);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.login-hero-banner {
  background: linear-gradient(135deg, #001f3f 0%, #003366 50%, #004b93 100%);
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.login-hero-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.login-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #93c5fd;
  width: fit-content;
}

.login-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0.85rem 0 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.login-hero-lead {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.login-feature-chips {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.login-chip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.login-chip-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
}

.login-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0076e6, #00d2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.login-chip-text strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
}

.login-chip-text small {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.75);
}

.login-hero-quote {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.login-card-workspace {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

@media (max-width: 900px) {
  .login-power-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .login-hero-banner {
    display: none;
  }
}






/* Home hero carousel slide backgrounds (local Brother blue — no remote images) */
.carousel-slide--support {
  background: linear-gradient(135deg, #002266 0%, #003399 55%, #1e5de6 100%);
}

.carousel-slide--business {
  background: linear-gradient(145deg, #001a4d 0%, #003399 50%, #0b4fd1 100%);
}

.carousel-slide--tracking {
  background: linear-gradient(160deg, #001433 0%, #002266 45%, #003399 100%);
}

/* ==========================================================================
   Utility classes (inline-style replacements)
   ========================================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

.input-icon-wrap--flex { flex: 1; }
.hero-title-accent { color: rgba(147, 197, 253, 1); }
.u-mt-0 { margin-top: 0; }
.u-mb-1 { margin-bottom: 1rem; }
.u-my-1 { margin: 1rem auto; }
.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}
.top-login-trigger--spaced { /* legacy no-op kept for safety */ }
.step-header-icon--purple { background: linear-gradient(135deg, var(--brother-blue), var(--brother-blue-dark)); }
.step-header-icon--green { background: linear-gradient(135deg, #16a34a, #15803d); }
.step-header-icon--amber { background: linear-gradient(135deg, #d97706, #b45309); }
.bpsr-steps--3 { --step-count: 3; }
.bpsr-steps--4 { --step-count: 4; }
.bpsr-progress-fill--step1 { width: 25%; }
.bpsr-progress-fill--serial-step1 { width: 25%; }
.modal-sm-480 { max-width: 480px; }
.modal-success-header { background: linear-gradient(135deg, #16a34a, #14532d); }
.modal-header-center { margin: 0 auto; }
.ticket-display-spaced { margin: 1.5rem 0; }
.btn-inline-home {
  text-decoration: none;
  display: inline-block;
  width: auto;
  padding: 0.75rem 2rem;
}
.btn-inline-save {
  width: auto;
  padding: 0.75rem 1.5rem;
}
.customer-mask-info { font-size: 0.85rem; }
.prodreg-terms-row--tight { margin-top: 0; }
.modal-content-center {
  max-width: 480px;
  text-align: center;
}

/* ==========================================================================
   Brother India CRM - Modern Landing Page Redesign (v2)
   ========================================================================== */

.landing-hero-v2 {
  position: relative;
  background: linear-gradient(135deg, #00194d 0%, #003399 50%, #001233 100%);
  color: #ffffff;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

.landing-hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(30, 93, 230, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(96, 165, 250, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

.landing-hero-container {
  position: relative;
  z-index: 2;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3.5rem;
  align-items: center;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-brand-logo {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.landing-hero-heading {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.highlight-blue {
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-highlight-item i {
  color: #60a5fa;
  font-size: 1.05rem;
}

.landing-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #1e5de6, #003399);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 51, 153, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(30, 93, 230, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.btn-outline-light-glow {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-light-glow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Hero Quick Action Widget */
.landing-hero-widget-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
}

.widget-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.widget-nav-tabs {
  display: flex;
  background: var(--bg-alt);
  padding: 0.3rem;
  border-radius: 12px;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.widget-tab-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.widget-tab-btn i {
  font-size: 0.95rem;
}

.widget-tab-btn.active {
  background: #ffffff;
  color: var(--brother-blue);
  box-shadow: var(--shadow-sm);
}

.widget-pane {
  display: none;
}

.widget-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out forwards;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.input-group-styled {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.3rem 0.3rem 0.3rem 0.85rem;
  transition: var(--transition-smooth);
}

.input-group-styled:focus-within {
  border-color: var(--brother-blue);
  box-shadow: 0 0 0 3px var(--brother-blue-glow);
}

.input-icon {
  color: var(--muted);
  font-size: 1.1rem;
  margin-right: 0.6rem;
  display: flex;
  align-items: center;
}

.form-control-styled {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  width: 100%;
}

.btn-input-action {
  background: var(--brother-blue);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-input-action:hover {
  background: var(--brother-blue-light);
}

.form-help-text {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.form-link-subtle {
  font-size: 0.82rem;
  color: var(--brother-blue);
  text-decoration: none;
  font-weight: 600;
}

.form-link-subtle:hover {
  text-decoration: underline;
}

.book-shortcut-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shortcut-choice-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg-soft);
  transition: var(--transition-smooth);
}

.shortcut-choice-card:hover {
  background: #ffffff;
  border-color: var(--brother-blue);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

.choice-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brother-blue-glow);
  color: var(--brother-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.choice-text {
  display: flex;
  flex-direction: column;
}

.choice-text strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.choice-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.widget-footer {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.widget-footer-item {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.link-highlight {
  color: var(--brother-blue);
  font-weight: 700;
  text-decoration: none;
}

.link-highlight:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Core Services Grid (v2)
   ========================================================================== */

.quick-grid--six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.85rem 1.5rem 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.3);
}

.card-badge-top {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--bg-alt);
  color: var(--muted);
}

.card-badge-primary {
  background: rgba(0, 51, 153, 0.1);
  color: var(--brother-blue);
}

.card-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card-v2:hover .card-icon-wrapper {
  transform: scale(1.08);
}

.icon-bg-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); }
.icon-bg-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.icon-bg-teal { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.icon-bg-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
.icon-bg-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; }
.icon-bg-purple { background: rgba(147, 51, 234, 0.1); color: #9333ea; }

.card-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brother-blue);
  padding-top: 0.85rem;
  border-top: 1px solid var(--bg-alt);
}

.icon-arrow {
  transition: transform 0.3s ease;
}

.service-card-v2:hover .icon-arrow {
  transform: translateX(4px);
}

/* Section Subtitles */
.section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brother-blue);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   Product Ecosystem Grid
   ========================================================================== */

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.product-cat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.product-cat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brother-blue-glow);
}

.product-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--brother-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.product-cat-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.cat-description {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.cat-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}

.cat-link-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brother-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.cat-link-item:hover {
  color: var(--brother-blue-light);
  transform: translateX(2px);
}

/* ==========================================================================
   Stats & Trust Section
   ========================================================================== */

.stats-trust-section {
  background: linear-gradient(135deg, #00194d 0%, #002b80 100%);
  color: #ffffff;
  padding: 3.5rem 0;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  font-size: 1.75rem;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  max-width: 200px;
}

/* Link utilities */
.link-bold {
  font-weight: 700;
  color: var(--brother-blue);
  text-decoration: none;
}

.link-bold:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .landing-hero-content {
    text-align: center;
  }

  .hero-brand-mark,
  .hero-highlights-row,
  .landing-hero-cta-group {
    justify-content: center;
  }

  .landing-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .quick-grid--six,
  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .landing-hero-v2 {
    padding: 3rem 0;
  }

  .landing-hero-heading {
    font-size: 2rem;
  }

  .quick-grid--six,
  .product-category-grid,
  .stats-counter-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Redesigned Benefits Section (v2)
   ========================================================================== */

.benefits-section-v2 {
  padding: 4.5rem 0;
  background: var(--bg-soft);
}

.benefits-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.benefit-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.65rem 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.benefit-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brother-blue);
  transition: height 0.3s ease;
}

.card-border-blue::before { background: linear-gradient(90deg, #003399, #1e5de6); }
.card-border-indigo::before { background: linear-gradient(90deg, #4f46e5, #6366f1); }
.card-border-amber::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.card-border-emerald::before { background: linear-gradient(90deg, #059669, #10b981); }

.benefit-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.25);
}

.benefit-card-v2:hover::before {
  height: 6px;
}

.benefit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.benefit-icon-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); }
.benefit-icon-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.benefit-icon-amber { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.benefit-icon-emerald { background: rgba(5, 150, 105, 0.1); color: #059669; }

.benefit-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.benefit-card-v2 h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.benefit-card-v2 p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.benefit-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}

.benefit-perks-list li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.benefit-perks-list li i {
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Bottom Callout Banner — light trust CTA */
.benefit-trust-banner,
.trust-cta-banner {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(30, 93, 230, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.benefit-trust-banner::before,
.trust-cta-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brother-blue) 0%, var(--brother-blue-light) 100%);
  border-radius: 20px 0 0 20px;
}

.trust-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.trust-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 51, 153, 0.08);
  border: 1px solid rgba(0, 51, 153, 0.12);
  color: var(--brother-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.trust-banner-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brother-blue-dark);
  margin-bottom: 0.25rem;
}

.trust-banner-text p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.trust-banner-actions {
  display: flex;
  gap: 0.85rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trust-cta-btn-primary {
  box-shadow: 0 8px 18px rgba(0, 51, 153, 0.22), 0 0 0 1px rgba(0, 51, 153, 0.08);
}

.trust-cta-btn-outline {
  background: #ffffff;
  color: var(--brother-blue) !important;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 51, 153, 0.28);
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.trust-cta-btn-outline:hover {
  background: rgba(0, 51, 153, 0.05);
  border-color: var(--brother-blue);
  color: var(--brother-blue-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
  .benefits-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-trust-banner,
  .trust-cta-banner {
    flex-direction: column;
    text-align: left;
    align-items: stretch;
    gap: 1.5rem;
  }

  .trust-banner-content {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .trust-banner-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .benefits-grid-v2 {
    grid-template-columns: 1fr;
  }

  .benefit-trust-banner,
  .trust-cta-banner {
    padding: 1.5rem 1.25rem 1.5rem 1.4rem;
  }

  .trust-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .trust-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Redesigned Support Channels Section
   ========================================================================== */

.support-channels-section {
  padding: 4.5rem 0;
  background: var(--bg-alt);
}

.channels-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.channel-card-v2 {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.25);
}

.channel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.channel-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.channel-icon-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); }
.channel-icon-whatsapp { background: rgba(37, 211, 102, 0.12); color: #16a34a; }
.channel-icon-red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }

.channel-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.channel-badge-success {
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
}

.channel-card-v2 h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.channel-card-v2 p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.channel-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.channel-features-list li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.helpline-number-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.helpline-phone-link {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brother-blue);
  text-decoration: none;
}

.helpline-phone-link:hover {
  color: var(--brother-blue-light);
}

.helpline-alt-text {
  font-size: 0.78rem;
  color: var(--muted);
}

.channel-card-footer {
  margin-top: auto;
}

/* Corporate Fleet Card */
.corporate-fleet-card {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.corporate-card-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.corporate-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.corporate-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.corporate-text p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
}

.btn-light-glow {
  background: #ffffff;
  color: var(--ink) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
}

.btn-light-glow:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  .channels-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .corporate-fleet-card {
    flex-direction: column;
    text-align: center;
  }

  .corporate-card-left {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .channels-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Redesigned Product Category Grid & Stats Counter Section (v2)
   ========================================================================== */

.product-category-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.product-cat-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.65rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.product-cat-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brother-blue);
  transition: height 0.3s ease;
}

.card-border-cyan::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.card-border-rose::before { background: linear-gradient(90deg, #e11d48, #f43f5e); }
.card-border-amber::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.card-border-emerald::before { background: linear-gradient(90deg, #059669, #10b981); }
.card-border-indigo::before { background: linear-gradient(90deg, #4f46e5, #6366f1); }

.product-cat-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.25);
}

.product-cat-card-v2:hover::before {
  height: 6px;
}

.product-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.cat-icon-v2 {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.icon-bg-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); }
.icon-bg-cyan { background: rgba(8, 145, 178, 0.1); color: #0891b2; }
.icon-bg-rose { background: rgba(225, 29, 72, 0.1); color: #e11d48; }
.icon-bg-amber { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.icon-bg-emerald { background: rgba(5, 150, 105, 0.1); color: #059669; }
.icon-bg-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; }

.cat-pill-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.product-cat-card-v2 h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cat-models-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brother-blue);
  background: rgba(0, 51, 153, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.cat-desc-v2 {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.cat-action-pills {
  display: flex;
  gap: 0.6rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
}

.cat-pill-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brother-blue);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.cat-pill-link:hover {
  background: var(--brother-blue);
  color: #ffffff;
  border-color: var(--brother-blue);
  transform: translateY(-1px);
}

/* Redesigned Stats & Trust Counter Strip (v3 - Light, floating divided strip) */
.stats-trust-section-v2 {
  position: relative;
  background: transparent;
  padding: 3rem 0;
}

.stats-trust-container {
  position: relative;
}

/* Single unified white strip card (soft shadow) replaces the old dark full-bleed band */
.stats-strip-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 0.25rem 0;
}

.stats-counter-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card-v2 {
  background: transparent;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  transition: var(--transition-smooth);
  box-shadow: none;
}

.stat-card-v2:last-child {
  border-right: none;
}

.stat-card-v2:hover {
  background: var(--bg-soft);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.stat-card-v2:hover .stat-card-icon {
  transform: scale(1.08);
}

.stat-icon-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); }
.stat-icon-green { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.stat-icon-purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.stat-icon-amber { background: rgba(217, 119, 6, 0.1); color: #d97706; }

.stat-card-body {
  display: flex;
  flex-direction: column;
}

.stat-number-v2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.stat-label-v2 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .product-category-grid-v2,
  .stats-counter-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-counter-grid-v2 .stat-card-v2 {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stats-counter-grid-v2 .stat-card-v2:nth-child(2n) {
    border-right: none;
  }

  .stats-counter-grid-v2 .stat-card-v2:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .product-category-grid-v2,
  .stats-counter-grid-v2 {
    grid-template-columns: 1fr;
  }

  .stats-counter-grid-v2 .stat-card-v2 {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stats-counter-grid-v2 .stat-card-v2:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   Redesigned Core Services Grid (v3)
   ========================================================================== */

.quick-services-section-v3 {
  padding: 4.5rem 0;
  background: var(--white);
}

.quick-services-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
}

.service-card-v3 {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.85rem 1.6rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.service-card-v3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brother-blue);
  transition: height 0.3s ease;
}

.card-accent-blue::before { background: linear-gradient(90deg, #003399, #1e5de6); }
.card-accent-indigo::before { background: linear-gradient(90deg, #4f46e5, #6366f1); }
.card-accent-teal::before { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.card-accent-cyan::before { background: linear-gradient(90deg, #0891b2, #06b6d4); }
.card-accent-emerald::before { background: linear-gradient(90deg, #059669, #10b981); }
.card-accent-purple::before { background: linear-gradient(90deg, #9333ea, #a855f7); }

.service-card-v3:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 51, 153, 0.12);
  border-color: rgba(0, 51, 153, 0.25);
}

.service-card-v3:hover::before {
  height: 6px;
}

.card-v3-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.icon-box-3d {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card-v3:hover .icon-box-3d {
  transform: scale(1.1);
}

.icon-3d-blue { background: rgba(0, 51, 153, 0.1); color: var(--brother-blue); box-shadow: 0 8px 16px rgba(0, 51, 153, 0.12); }
.icon-3d-indigo { background: rgba(79, 70, 229, 0.1); color: #4f46e5; box-shadow: 0 8px 16px rgba(79, 70, 229, 0.12); }
.icon-3d-teal { background: rgba(13, 148, 136, 0.1); color: #0d9488; box-shadow: 0 8px 16px rgba(13, 148, 136, 0.12); }
.icon-3d-cyan { background: rgba(6, 182, 212, 0.1); color: #0891b2; box-shadow: 0 8px 16px rgba(6, 182, 212, 0.12); }
.icon-3d-emerald { background: rgba(16, 185, 129, 0.1); color: #059669; box-shadow: 0 8px 16px rgba(16, 185, 129, 0.12); }
.icon-3d-purple { background: rgba(147, 51, 234, 0.1); color: #9333ea; box-shadow: 0 8px 16px rgba(147, 51, 234, 0.12); }

.card-v3-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.service-card-v3 h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.service-card-v3 p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-v3-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-alt);
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brother-blue);
  background: var(--bg-soft);
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  transition: var(--transition-smooth);
}

.service-card-v3:hover .btn-card-action {
  background: var(--brother-blue);
  color: #ffffff;
  border-color: var(--brother-blue);
}

.service-card-v3:hover .icon-arrow {
  transform: translateX(4px);
}

/* Floating Quick Action Strip */
.quick-action-strip {
  margin-top: 3rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.action-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

.action-strip-item:hover {
  background: #ffffff;
  color: var(--brother-blue);
  box-shadow: var(--shadow-sm);
}

.action-strip-whatsapp {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

.action-strip-whatsapp:hover {
  background: #16a34a;
  color: #ffffff;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
}

@media (max-width: 1024px) {
  .quick-services-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .quick-services-grid-v3 {
    grid-template-columns: 1fr;
  }

  .quick-action-strip {
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .action-strip-item {
    justify-content: center;
  }
}

/* Custom Channel Action Buttons */
.btn-channel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-channel-portal {
  background: var(--brother-blue);
  color: #ffffff !important;
}

.btn-channel-portal:hover {
  background: #002266;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 51, 153, 0.3);
}

.btn-channel-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-channel-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-channel-helpline {
  background: #0f172a;
  color: #ffffff !important;
}

.btn-channel-helpline:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

/* ==========================================================================
   COMPACT & TIGHT LANDING PAGE SPACING OVERRIDES
   ========================================================================== */

/* Section Padding */
.landing-hero-v2,
.quick-services-section-v3,
.product-ecosystem-section,
.stats-trust-section-v2,
.benefits-section-v2,
.support-channels-section {
  padding: 2.25rem 0 !important;
}

/* Section Header Margins */
.section-header {
  margin-bottom: 1.25rem !important;
}

.section-subtitle {
  margin-bottom: 0.15rem !important;
}

.section-title {
  margin-bottom: 0.25rem !important;
}

.section-lead {
  margin-bottom: 0.35rem !important;
}

/* Grids & Gaps */
.quick-services-grid-v3,
.product-category-grid-v2,
.benefits-grid-v2,
.channels-grid-v2 {
  margin-top: 1.25rem !important;
  gap: 1.15rem !important;
}

.stats-counter-grid-v2 {
  gap: 0 !important;
}

/* Card Padding & Paragraph Margins */
.service-card-v3,
.product-cat-card-v2,
.benefit-card-v2,
.channel-card-v2 {
  padding: 1.25rem 1.25rem !important;
}

.service-card-v3 p,
.cat-desc-v2,
.benefit-card-v2 p,
.channel-card-v2 p {
  margin-bottom: 0.85rem !important;
}

.card-v3-header,
.product-cat-top,
.benefit-card-header,
.channel-card-top {
  margin-bottom: 0.85rem !important;
}

.stat-card-v2 {
  padding: 1.5rem 1.25rem !important;
}

/* Callout Banners & Action Strips */
.quick-action-strip {
  margin-top: 1.5rem !important;
  padding: 0.45rem 0.85rem !important;
}

.benefit-trust-banner {
  margin-top: 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
}

.corporate-fleet-card {
  margin-top: 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
}

/* ==========================================================================
   Redesigned Warranty Info Grid Cards (v2)
   ========================================================================== */

.warranty-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.winfo-card-v2 {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.winfo-card-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brother-blue);
  transition: height 0.3s ease;
}

.winfo-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 51, 153, 0.25);
}

.winfo-card-v2:hover::before {
  height: 6px;
}

.winfo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.winfo-icon-v2 {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.icon-bg-blue {
  background: rgba(0, 51, 153, 0.12) !important;
  color: #003399 !important;
}

.icon-bg-emerald {
  background: rgba(22, 163, 74, 0.12) !important;
  color: #16a34a !important;
}

.icon-bg-indigo {
  background: rgba(79, 70, 229, 0.12) !important;
  color: #4f46e5 !important;
}

.icon-bg-amber {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #d97706 !important;
}

.big-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00194d 0%, #003399 100%) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}

/* ==========================================================================
   Tracking Info Grid & Ticket Journey SLA Strip
   ========================================================================== */

.tracking-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.ticket-journey-strip {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 51, 153, 0.05);
}

.tjs-header {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brother-blue);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
}

.tjs-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tjs-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.tjs-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 51, 153, 0.08);
  border: 1.5px solid rgba(0, 51, 153, 0.2);
  color: var(--brother-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.tjs-text {
  display: flex;
  flex-direction: column;
}

.tjs-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.tjs-text small {
  font-size: 0.76rem;
  color: var(--muted);
}

.tjs-step-divider {
  color: #cbd5e1;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .tracking-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tjs-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .tjs-step-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .tracking-info-grid {
    grid-template-columns: 1fr;
  }
}


.winfo-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.winfo-card-v2 h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.winfo-card-v2 p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex: 1;
}

.winfo-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}

.winfo-action {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brother-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.winfo-link {
  transition: transform 0.25s ease, color 0.25s ease;
}

.winfo-card-v2:hover .winfo-link {
  color: #002266;
}

.winfo-card-v2:hover .icon-arrow {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .warranty-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .warranty-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Top Strip Country Badge & Quick Links */
.top-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.74rem;
  color: #ffffff;
}

.flag-icon {
  border-radius: 2px;
  vertical-align: middle;
}

.top-quick-links {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.top-quick-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.top-quick-link:hover {
  color: #ffffff;
  text-decoration: underline;
}








