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

:root {
  --navy: #102B54;
  --medium-blue: #166CB3;
  --accent: #FC8F22;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border-color: rgba(16, 43, 84, 0.15);
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  background-color: var(--navy);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}

p {
  line-height: 1.8;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-premium {
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 800;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-premium:hover {
  background: var(--navy);
}

.btn-navy {
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 800;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-navy:hover {
  background: var(--accent);
}

/* Navbar styling */
.custom-navbar {
  background: var(--navy) !important;
  border-bottom: 2px solid var(--medium-blue) !important;
  padding: 0.3rem 0;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-toggler {
  border: 1.5px solid var(--medium-blue) !important;
  padding: 0.4rem 0.6rem !important;
  background-color: transparent !important;
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none !important;
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FC8F22' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.custom-navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white) !important;
  font-size: 1.4rem;
}

.custom-navbar .navbar-brand span {
  color: var(--accent);
}

.custom-navbar .nav-link {
  font-weight: 700;
  color: var(--white) !important;
  padding: 0.2rem 1.2rem !important;
  transition: all 0.3s;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

/* Hero Brochure-Mockup Section */
.hero-section {
  padding: 160px 0 100px 0;
  background: var(--white);
  border-bottom: 2px solid var(--medium-blue);
}

.hero-intro h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  letter-spacing: -2px;
  color: var(--navy);
}

.hero-intro h1 span {
  color: var(--accent);
}

.hero-intro p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  color: rgba(16, 43, 84, 0.8);
}

/* Tri-fold Brochure Container */
.brochure-trifold {
  border: 4px solid var(--medium-blue);
  border-radius: 8px;
  background: var(--navy);
  overflow: hidden;
  box-shadow: none;
}

.brochure-panel {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Panel 1: About Us (Orange) */
.panel-orange {
  background-color: var(--accent);
  color: var(--white);
}

.panel-orange h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--white);
  padding-bottom: 10px;
}

.panel-orange p {
  color: var(--white);
  font-size: 0.95rem;
  opacity: 0.95;
}

.panel-orange-bottom {
  background: var(--navy);
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--accent);
}

.panel-orange-bottom p {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
}

/* Panel 2: Our Client (Medium Blue) */
.panel-light {
  background-color: var(--medium-blue);
  color: var(--white);
  border-left: 2px dashed rgba(255, 255, 255, 0.25);
  border-right: 2px dashed rgba(255, 255, 255, 0.25);
}

.panel-light h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.panel-light p {
  color: var(--white);
  font-size: 0.95rem;
}

.client-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.client-icon-card {
  text-align: center;
}

.client-icon-card i {
  font-size: 1.8rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
}

.client-icon-card span {
  font-size: 0.75rem;
  font-weight: 700;
  display: block;
}

/* Panel 3: Corporate Brochure (Navy) */
.panel-navy {
  background-color: var(--navy);
  color: var(--white);
}

.panel-navy h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.panel-navy-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brochure-mockup-screen {
  border: 2px solid var(--white);
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.panel-navy-bottom {
  background: var(--accent);
  padding: 1.2rem;
  border-radius: 4px;
  text-align: center;
}

.panel-navy-bottom h5 {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

/* Services Section */
#services {
  background: linear-gradient(135deg, var(--navy) 15%, var(--medium-blue) 15% 35%, var(--white) 35% 70%, var(--accent) 70%) !important;
  color: var(--white);
  padding: 90px 0;
}

#services h2 {
  color: var(--white) !important;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(16, 43, 84, 0.85);
}

#services h2 span {
  color: var(--accent) !important;
  text-shadow: 0 2px 10px rgba(16, 43, 84, 0.85);
}

#services .tag-badge {
  background: var(--accent);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  font-weight: 800;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
}

#services .feature-card {
  background: var(--navy) !important;
  border: 1.5px solid var(--medium-blue) !important;
  border-radius: 4px !important;
  padding: 2.2rem 1.8rem !important;
  height: 100%;
  transition: all 0.3s ease;
}

#services .feature-card:hover {
  border-color: var(--accent) !important;
  transform: translateY(-5px);
}

#services .feature-icon-container {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
  width: 60px !important;
  height: 60px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem !important;
}

#services .feature-card h4 {
  color: var(--accent) !important;
  font-weight: 800 !important;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

#services .feature-card p {
  color: var(--white) !important;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Us (Testimonial Block) */
#about {
  padding: 90px 0;
  background-color: #f4f5f7;
}

/* Chevron Split Brochure Container */
.chevron-brochure-container {
  border: 3px solid var(--medium-blue);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  background: var(--navy);
}

.chevron-left-panel {
  position: relative;
  background: var(--navy);
  padding: 4rem 3.5rem;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.chevron-right-panel {
  background: var(--accent);
  padding: 4rem 3.5rem;
  color: var(--navy);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .chevron-left-panel::after {
    content: '';
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 100%;
    background: var(--navy);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 3;
  }
}

.chevron-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.chevron-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.chevron-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
}

.chevron-left-panel h2 {
  color: var(--white) !important;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.chevron-right-panel h2 {
  color: var(--navy) !important;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.chevron-right-panel p {
  color: var(--navy) !important;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Vision / Mission block next to team */
.vision-mission-card {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  height: 100%;
  border: 3px solid var(--medium-blue);
}

.vision-mission-card h3 {
  color: var(--white);
  border-bottom: 2px solid var(--medium-blue);
  padding-bottom: 8px;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.vision-mission-card p {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.vision-mission-card p:last-child {
  margin-bottom: 0;
}

/* Team Section: Solid Orange background with Navy text */
#team {
  padding: 90px 0;
  background-color: var(--accent);
}

#team h2 {
  color: var(--navy);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.team-list {
  list-style: none;
  padding: 0;
}

.team-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.team-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 900;
}

.team-grid img {
  border: 3px solid var(--navy);
  border-radius: 4px;
  width: 100%;
  height: auto;
}

/* Contact Section: Light Gray Background */
#contact {
  padding: 90px 0;
  background: #f4f5f7;
}

.contact-overlay-card {
  border: 3px solid var(--medium-blue);
  background: var(--navy);
  border-radius: 4px;
  padding: 3rem;
}

.contact-overlay-card h3 {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.contact-info-list {
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-info-item i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.contact-info-item span {
  color: var(--white);
}

.form-control, .form-select {
  background-color: var(--white) !important;
  border: 2px solid var(--medium-blue) !important;
  border-radius: 4px !important;
  padding: 0.9rem 1.2rem !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
}

.form-control::placeholder {
  color: rgba(16, 43, 84, 0.5) !important;
  opacity: 1; /* Firefox override */
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.25rem rgba(252, 143, 34, 0.25) !important;
  outline: none !important;
}

.text-navy {
  color: var(--navy) !important;
}

.text-orange {
  color: var(--accent) !important;
}

/* Footer styles */
.footer-section {
  background-color: var(--navy);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 2px solid var(--medium-blue);
}

.footer-section h5 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.footer-section a:hover {
  color: var(--accent);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 0.5rem;
  color: var(--white);
  font-size: 1.1rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
}

/* Responsive Mockup Slide Cards (Bootstrap Carousel) */
.mockup-slide-card {
  width: 100%;
  max-width: 420px;
  height: 280px;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

/* Auto Shimmer / Gliter Swipe Animation */
@keyframes autoShine {
  0% { left: -150%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.mockup-slide-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: autoShine 5s infinite ease-in-out;
  z-index: 5;
}

/* Specific Card Styling */
.card-primary {
  background: var(--navy);
  border: 3px solid var(--medium-blue);
}

.card-secondary {
  background: var(--accent);
  color: var(--navy);
}

.card-tertiary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--medium-blue) 100%);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

/* Mockup Elements for Receipt/POS mock */
.receipt-mock-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 0.8rem;
  width: 90%;
}
.receipt-mock-line:nth-child(2) {
  width: 70%;
}

/* Custom Carousel Indicators styling */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--medium-blue);
  opacity: 0.5;
  transition: all 0.3s ease;
  border: none;
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: var(--accent);
  opacity: 1;
  transform: scale(1.2);
}

/* Mockup inner content elements */
.mockup-header-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.mockup-dot.active {
  background: var(--accent);
}

.mockup-line-long {
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  margin-bottom: 0.8rem;
  width: 85%;
}

.mockup-line-short {
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin-bottom: 0.8rem;
  width: 55%;
}

.mockup-chart-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 70px;
  margin-top: 1.5rem;
  border-bottom: 2px solid var(--medium-blue);
  padding-bottom: 4px;
}

.mockup-chart-bar {
  flex-grow: 1;
  background: var(--medium-blue);
  border-radius: 3px 3px 0 0;
  height: 20px;
}

.mockup-chart-bar.highlight {
  background: var(--accent);
  height: 50px;
}

.mockup-card-secondary h4 {
  color: var(--navy) !important;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.mockup-card-secondary p {
  color: var(--navy) !important;
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

.mockup-btn-flat {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  align-self: flex-start;
}

/* Preloader Overlay */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--navy);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
  position: relative;
}

.loader-logo {
  height: 120px;
  width: auto;
  animation: pulseLogo 1.8s infinite ease-in-out;
}

.loader-spinner {
  width: 180px;
  height: 180px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinLoader 1.2s linear infinite;
}

@keyframes spinLoader {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* Hide preloader */
#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Glossy Shimmer Reflection Swipe Effect */
.feature-card, 
.product-premium-card, 
.portfolio-card, 
.vision-mission-card,
.chevron-brochure-container,
.mockup-slide-card,
.btn-premium, 
.btn-navy {
  position: relative;
  overflow: hidden;
}

.feature-card::after, 
.product-premium-card::after, 
.portfolio-card::after, 
.vision-mission-card::after,
.chevron-brochure-container::after,
.mockup-slide-card::after,
.btn-premium::after, 
.btn-navy::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 5;
}

.feature-card:hover::after, 
.product-premium-card:hover::after, 
.portfolio-card:hover::after, 
.vision-mission-card:hover::after,
.chevron-brochure-container:hover::after,
.mockup-slide-card:hover::after,
.btn-premium:hover::after, 
.btn-navy:hover::after {
  left: 150%;
}

html {
  overflow-x: hidden;
  width: 100%;
}

/* Prevent navbar overflow on small mobile devices */
@media (max-width: 576px) {
  .custom-navbar .navbar-brand img {
    height: 42px !important;
  }
  .custom-navbar .navbar-brand {
    font-size: 1.15rem !important;
  }
  .custom-navbar .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .custom-navbar .navbar-toggler {
    padding: 0.25rem 0.4rem !important;
  }
  
  /* Reduce Hero height and font sizing */
  .hero-section {
    padding: 100px 0 50px 0 !important;
  }
  .hero-intro h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .hero-intro p {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Reduce global section paddings and heading sizes */
  #services, #team, #contact, .products-hero, .portfolio-hero {
    padding: 50px 0 !important;
  }
  
  #services h2, #team h2, #contact h2, .products-hero h1, .portfolio-hero h1 {
    font-size: 2.0rem !important;
  }

  .chevron-left-panel, .chevron-right-panel {
    padding: 2.5rem 1.5rem !important;
  }
  .chevron-left-panel h2, .chevron-right-panel h2 {
    font-size: 1.8rem !important;
  }
}

/* ==========================================
   Floating WhatsApp Button
   ========================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float i {
  transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
  transform: rotate(10deg);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}

/* ==========================================
   Dropdown Navigation Menu
   ========================================== */
.custom-navbar .dropdown-menu {
  background-color: var(--navy) !important;
  border: 1.5px solid var(--medium-blue) !important;
  border-radius: 4px !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  padding: 0.5rem 0 !important;
}

.custom-navbar .dropdown-item {
  color: var(--white) !important;
  font-weight: 700;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.custom-navbar .dropdown-item:hover {
  background-color: var(--medium-blue) !important;
  color: var(--accent) !important;
}

/* ==========================================
   GST Calculator Page Styles
   ========================================== */
.gst-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, var(--navy) 60%, var(--medium-blue) 60%);
  border-bottom: 2px solid var(--medium-blue);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.gst-calculator-section {
  background-color: #f4f5f7;
  padding: 60px 0 80px 0;
  color: #333333;
}

.gst-card {
  background: #ffffff;
  border: 2px solid var(--medium-blue);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(16, 43, 84, 0.05);
}

.gst-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.gst-info-text {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Tax Type Toggle Switch Group */
.tax-toggle-container {
  background: #f1f3f5;
  border-radius: 8px;
  padding: 0.35rem;
  display: flex;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tax-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #495057;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.tax-toggle-btn.active {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Amount Input Box */
.gst-amount-input-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.gst-amount-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1.5px solid rgba(16, 43, 84, 0.15);
  border-radius: 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s;
}

.gst-amount-input:focus {
  border-color: var(--medium-blue);
  box-shadow: 0 0 0 3px rgba(22, 108, 179, 0.15);
  outline: none;
}

/* GST Rate Selectors */
.gst-rates-grid {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.gst-rate-btn {
  flex: 1;
  min-width: 70px;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1.5px solid rgba(16, 43, 84, 0.15);
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.gst-rate-btn:hover {
  border-color: var(--medium-blue);
  color: var(--medium-blue);
}

.gst-rate-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(252, 143, 34, 0.25);
}

/* Calculation Result Dashboard */
.gst-result-panel {
  background-color: rgba(16, 43, 84, 0.02);
  border: 1.5px solid var(--medium-blue);
  border-radius: 8px;
  padding: 2rem;
}

.gst-result-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--medium-blue);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid rgba(22, 108, 179, 0.15);
  padding-bottom: 0.5rem;
}

.result-main-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.result-flow-item {
  text-align: left;
}

.result-flow-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 0.25rem;
  letter-spacing: 0.5px;
}

.result-flow-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0;
}

.result-flow-val.gst-amt-highlight {
  color: var(--accent);
}

.result-flow-val.total-amt-highlight {
  color: #198754;
}

.result-operator {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
}

/* Split-up Cards Grid */
.gst-split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gst-split-card {
  background: #ffffff;
  border: 1.5px solid rgba(16, 43, 84, 0.12);
  border-radius: 6px;
  padding: 1.25rem;
  transition: all 0.3s;
}

.gst-split-card:hover {
  border-color: var(--medium-blue);
  box-shadow: 0 4px 12px rgba(16, 43, 84, 0.04);
}

.split-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.split-card-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.split-card-desc {
  font-size: 0.75rem;
  color: #868e96;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .gst-split-grid {
    grid-template-columns: 1fr;
  }
  .result-main-flow {
    flex-direction: column;
    align-items: flex-start;
  }
  .result-operator {
    align-self: center;
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }
}

@media (max-width: 576px) {
  .gst-card {
    padding: 2rem 1.5rem;
  }
  .gst-rate-btn {
    min-width: 60px;
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}

/* ==========================================
   Invoice Generator Page Styles
   ========================================== */
.invoice-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, var(--navy) 60%, var(--medium-blue) 60%);
  border-bottom: 2px solid var(--medium-blue);
  color: var(--white);
}

.invoice-generator-section {
  background-color: #f4f5f7;
  padding: 60px 0 80px 0;
  color: #333333;
}

.invoice-form-card {
  background: #ffffff;
  border: 2px solid var(--medium-blue);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(16, 43, 84, 0.05);
}

.invoice-preview-container {
  position: sticky;
  top: 100px;
}

.invoice-preview-card {
  background: #ffffff;
  border: 1.5px solid rgba(16, 43, 84, 0.15);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 35px rgba(16, 43, 84, 0.08);
}

.invoice-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(16, 43, 84, 0.08);
  padding-bottom: 0.5rem;
}

/* Theme Color Selector */
.theme-selector-list {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.theme-color-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.theme-color-bubble:hover {
  transform: scale(1.15);
}

.theme-color-bubble.active {
  border-color: #102B54;
  box-shadow: 0 0 0 2px rgba(16, 43, 84, 0.2);
}

/* Form Styles */
.invoice-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #495057;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}

.invoice-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(16, 43, 84, 0.15);
  border-radius: 4px;
  font-size: 0.95rem;
  color: #333333;
  transition: all 0.2s;
}

.invoice-input:focus {
  border-color: var(--medium-blue);
  box-shadow: 0 0 0 3px rgba(22, 108, 179, 0.12);
  outline: none;
}

/* File Upload Dotted Area */
.logo-upload-area {
  border: 2px dashed rgba(16, 43, 84, 0.2);
  border-radius: 6px;
  background: #f8f9fa;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.logo-upload-area:hover {
  border-color: var(--medium-blue);
  background: #f1f3f5;
}

.logo-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.logo-upload-preview {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-top: 0.5rem;
}

/* Items Table Inputs */
.items-table-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1.5px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}

.item-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.item-col-sn { width: 35px; text-align: center; font-weight: 700; color: #6c757d; }
.item-col-desc { flex: 2.5; }
.item-col-qty { flex: 1; }
.item-col-unit { flex: 1.2; }
.item-col-rate { flex: 1.2; }
.item-col-amt { flex: 1.5; font-weight: 700; color: var(--navy); text-align: right; padding-right: 0.5rem; }
.item-col-del { width: 35px; text-align: center; }

/* Mobile Responsive Item Rows */
@media (max-width: 768px) {
  .items-table-header {
    display: none !important;
  }

  .item-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
    background: #ffffff;
    border: 1.5px solid rgba(16, 43, 84, 0.12);
    border-radius: 8px;
    padding: 1rem 1rem 0.8rem 1rem;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .item-col-sn {
    display: inline-block;
    width: auto;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.2rem;
  }

  .item-col-sn::before {
    content: "Item #";
  }

  .item-col-desc,
  .item-col-qty,
  .item-col-unit,
  .item-col-rate,
  .item-col-amt {
    width: 100%;
    flex: none;
  }

  .item-col-desc::before {
    content: "Item Description";
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .item-col-qty::before {
    content: "Quantity";
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .item-col-unit::before {
    content: "Unit";
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .item-col-rate::before {
    content: "Rate";
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
  }

  .item-col-amt {
    text-align: left;
    padding-right: 0;
    font-size: 1.05rem;
    margin-top: 0.3rem;
  }

  .item-col-amt::before {
    content: "Total Amount: ";
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
  }

  .item-col-del {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: auto;
  }

  .btn-delete-row {
    font-size: 1.3rem;
  }
}

.btn-delete-row {
  border: none;
  background: transparent;
  color: #dc3545;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
}

.btn-delete-row:hover {
  color: #bd2130;
}

.btn-add-item {
  width: 100%;
  background: var(--accent);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.btn-add-item:hover {
  background: #e07b19;
}

/* Preview Sheet */
.invoice-preview-sheet {
  --invoice-theme-color: #dc3545; /* Default dynamic theme color */
  border: 1px solid rgba(0,0,0,0.08);
  padding: 2rem;
  background-color: #ffffff;
  color: #333333;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  min-height: 500px;
  line-height: 1.5;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.preview-logo-placeholder {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
}

.preview-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--invoice-theme-color);
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.preview-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.preview-meta-table td {
  padding: 0.25rem 0.5rem;
  border: 1px solid #dee2e6;
}

.preview-meta-title-cell {
  background-color: var(--invoice-theme-color);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.preview-meta-val-cell {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.preview-details-block {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.preview-details-col {
  flex: 1;
}

.preview-details-col h6 {
  color: var(--invoice-theme-color) !important;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--invoice-theme-color);
  padding-bottom: 0.25rem;
  font-size: 0.85rem;
}

.preview-details-col p {
  color: #495057 !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

/* Preview Items Table */
.preview-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.preview-items-table th {
  background-color: var(--invoice-theme-color);
  color: #ffffff;
  padding: 0.6rem 0.8rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.preview-items-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.85rem;
}

.preview-items-table tr:last-child td {
  border-bottom: 2px solid var(--invoice-theme-color);
}

.preview-total-table {
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.preview-total-table td {
  padding: 0.5rem 0.5rem;
  font-size: 0.85rem;
}

.preview-total-row-highlight {
  font-weight: 800;
  border-top: 1.5px solid var(--invoice-theme-color);
  border-bottom: 1.5px solid var(--invoice-theme-color);
  font-size: 1.05rem !important;
  color: var(--invoice-theme-color);
}

.preview-footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}

.preview-footer-note h6 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #6c757d !important;
  margin-bottom: 0.25rem;
}

.preview-footer-note p {
  font-size: 0.8rem !important;
  color: #868e96 !important;
  line-height: 1.4 !important;
}

/* Action button configurations */
.btn-action-outline {
  border: 1.5px solid rgba(16, 43, 84, 0.15);
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  width: 100%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-action-outline:hover {
  border-color: var(--medium-blue);
  color: var(--medium-blue);
  background: #f8f9fa;
}

.btn-action-solid {
  background-color: var(--invoice-theme-color, #dc3545) !important;
  border: 1px solid var(--invoice-theme-color, #dc3545);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  width: 100%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-action-solid:hover {
  filter: brightness(0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   Standard Print Rules
   ========================================== */
@media print {
  .custom-navbar,
  .invoice-hero,
  .form-side-panel,
  .invoice-action-buttons-grid,
  .footer-section,
  .whatsapp-float,
  #preloader {
    display: none !important;
  }
}

/* ==========================================
   Receipt Generator Page Styles
   ========================================== */
.receipt-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, var(--navy) 60%, var(--medium-blue) 60%);
  border-bottom: 2px solid var(--medium-blue);
  color: var(--white);
}

.receipt-generator-section {
  background-color: #f4f5f7;
  padding: 60px 0 80px 0;
  color: #333333;
}

/* Receipt Tab Switchers */
.receipt-tabs-container {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.receipt-tab-item {
  background: #ffffff;
  border: 2px solid rgba(16, 43, 84, 0.12);
  border-radius: 6px;
  padding: 0.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  min-width: 100px;
  text-decoration: none;
}

.receipt-tab-item i {
  font-size: 1.4rem;
  color: #6c757d;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.receipt-tab-item span {
  font-weight: 700;
  font-size: 0.8rem;
  color: #495057;
}

.receipt-tab-item:hover {
  border-color: var(--medium-blue);
}

.receipt-tab-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(252, 143, 34, 0.15);
}

.receipt-tab-item.active i {
  color: var(--accent);
}

.receipt-tab-item.active span {
  color: var(--navy);
}

/* Unified Wide Document Card */
.receipt-card {
  background: #ffffff;
  border: 2px solid var(--medium-blue);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(16, 43, 84, 0.05);
}

.receipt-doc-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.receipt-input-transparent {
  width: 100%;
  border: 1px solid rgba(16, 43, 84, 0.12);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: #333333;
  transition: all 0.2s;
}

.receipt-input-transparent:focus {
  border-color: var(--medium-blue);
  box-shadow: 0 0 0 2px rgba(22, 108, 179, 0.1);
  outline: none;
}

.receipt-input-transparent::placeholder {
  color: #adb5bd;
}

.receipt-logo-area {
  border: 2px dashed rgba(16, 43, 84, 0.15);
  background: #f8f9fa;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  max-width: 250px;
  margin-left: auto;
}

.receipt-logo-area:hover {
  border-color: var(--medium-blue);
  background: #f1f3f5;
}

.receipt-logo-preview {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  max-width: 320px;
  margin-left: auto;
}

.receipt-meta-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #495057;
  text-align: right;
  padding-right: 0.5rem;
}

.receipt-no-group {
  display: flex;
  align-items: center;
  border: 1px solid rgba(16, 43, 84, 0.12);
  border-radius: 4px;
  padding-left: 0.75rem;
  background: #ffffff;
}

.receipt-no-prefix {
  font-weight: 700;
  color: #6c757d;
  margin-right: 0.25rem;
}

.receipt-no-group input {
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}

/* Items list edit table styling */
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.receipt-table th {
  background-color: #f1f3f5;
  color: #495057;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid #dee2e6;
  text-transform: uppercase;
}

.receipt-table td {
  padding: 0.5rem;
  border: 1px solid #dee2e6;
}

.receipt-row-sn {
  text-align: center;
  font-weight: 700;
  color: #6c757d;
}

.receipt-table input {
  padding: 0.4rem 0.6rem !important;
}

.receipt-total-box {
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  background: #f8f9fa;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 250px;
  margin-left: auto;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.receipt-total-box span {
  color: var(--accent);
}

.receipt-footer-brand {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid rgba(16, 43, 84, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navigation button action bars */
.receipt-actions-wrapper {
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #dee2e6;
  padding-top: 1.5rem;
}

.btn-nav-grey {
  border: 1.5px solid #dee2e6;
  background: #ffffff;
  color: #6c757d;
  font-weight: 700;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-nav-grey:hover {
  background: #f8f9fa;
  color: #495057;
  border-color: #adb5bd;
}

.btn-nav-accent {
  background: var(--accent);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.65rem 2rem;
  border-radius: 4px;
  transition: background 0.2s;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.btn-nav-accent:hover {
  background: #e07b19;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .receipt-card {
    padding: 1.5rem;
  }
  .receipt-meta-grid {
    margin-left: 0;
    max-width: 100%;
    margin-top: 1.5rem;
  }
  .receipt-logo-area {
    margin-left: 0;
    max-width: 100%;
  }
}

/* ==========================================
   Receipt Print Mode Overrides
   ========================================== */
@media print {
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .custom-navbar,
  .receipt-hero,
  .receipt-tabs-container,
  .receipt-actions-wrapper,
  .footer-section,
  .whatsapp-float,
  #preloader,
  .btn-delete-row,
  .btn-add-item,
  .logo-upload-hint,
  .receipt-logo-area .fa-regular {
    display: none !important;
  }

  .receipt-generator-section {
    padding: 0 !important;
    background: #ffffff !important;
  }

  .receipt-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Make inputs borderless and look like plain text on paper */
  .receipt-input-transparent,
  .receipt-no-group {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #000000 !important;
    pointer-events: none !important;
  }

  .receipt-no-group input {
    padding: 0 !important;
  }

  /* Hide input placeholders when printing */
  input::placeholder,
  textarea::placeholder {
    color: transparent !important;
  }

  /* Hide deletion columns */
  .item-col-del {
    display: none !important;
  }

  .receipt-table th, 
  .receipt-table td {
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #999999 !important;
    color: #000000 !important;
  }

  .receipt-table th {
    background-color: #f1f3f5 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

}

/* ==========================================
   Live Traffic Analytics Widget Styles
   ========================================== */
.analytics-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: rgba(16, 43, 84, 0.95);
  border: 2px solid var(--medium-blue);
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  color: var(--white);
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-width: 180px;
}

.analytics-widget:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(22, 108, 179, 0.3);
}

.analytics-widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.3rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #25d366;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #25d366; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.analytics-widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.analytics-stat {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.analytics-stat i {
  color: var(--medium-blue);
  width: 16px;
}

.analytics-stat strong {
  color: var(--white);
}

@media (max-width: 768px) {
  .analytics-widget {
    bottom: 20px;
    left: 20px;
    padding: 0.6rem 1rem;
    min-width: 150px;
  }
}

/* ==========================================
   Legal & Policies Content Page Styles
   ========================================== */
.legal-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, var(--navy) 60%, var(--medium-blue) 60%);
  border-bottom: 2px solid var(--medium-blue);
  color: var(--white);
}

.legal-content-section {
  background-color: #f4f5f7;
  padding: 60px 0 80px 0;
  color: #333333;
}

.legal-card {
  background: #ffffff;
  border: 2px solid var(--medium-blue);
  border-radius: 8px;
  padding: 3.5rem;
  box-shadow: 0 10px 30px rgba(16, 43, 84, 0.05);
}

.legal-card h3 {
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(16, 43, 84, 0.08);
  padding-bottom: 0.3rem;
}

.legal-card p {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.legal-card ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #495057;
}

@media (max-width: 576px) {
  .legal-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================
   Hidden Traffic Analytics Dashboard Console
   ========================================== */
.console-card {
  background: #ffffff;
  border: 2px solid var(--medium-blue);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(16, 43, 84, 0.05);
}

.console-warning-badge {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.metric-widget {
  background: #f8f9fa;
  border: 1.5px solid rgba(16, 43, 84, 0.1);
  border-radius: 6px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: all 0.3s;
}

.metric-widget:hover {
  border-color: var(--medium-blue);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(16, 43, 84, 0.04);
}

.metric-widget i {
  font-size: 1.8rem;
  color: var(--medium-blue);
  margin-bottom: 0.8rem;
}

.metric-widget h4 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.metric-widget p {
  font-size: 0.8rem !important;
  font-weight: 700;
  color: #6c757d !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0 !important;
}

/* Page Views breakdown */
.analytics-table {
  width: 100%;
  border-collapse: collapse;
}

.analytics-table th {
  background-color: var(--navy);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.analytics-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.9rem;
}

.progress-bar-bg {
  background-color: #e9ecef;
  height: 8px;
  border-radius: 4px;
  width: 100%;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
}

.progress-bar-fill {
  background-color: var(--accent);
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease-in-out;
}

@media (max-width: 991px) {
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .metrics-row {
    grid-template-columns: 1fr;
  }
  .console-card {
    padding: 2rem 1.5rem;
  }
}

/* Side-by-side breakdown layout */
.console-reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .console-reports-grid {
    grid-template-columns: 1fr;
  }
}

/* Flag badges */
.flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
  margin-right: 0.5rem;
}

/* Realtime values auto-update flashes */
@keyframes textUpdateFlash {
  0% { transform: scale(1); opacity: 0.8; color: var(--accent); }
  50% { transform: scale(1.1); opacity: 1; color: var(--orange); }
  100% { transform: scale(1); opacity: 1; color: var(--navy); }
}

.flash-value-update {
  animation: textUpdateFlash 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}

.metric-widget h4.flash-value-update {
  animation: textUpdateFlash 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}











