/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Ultra Modern 2026 Palette - Sharp & Vivid */
  --primary: #6366f1;
  /* Indigo 500 */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);

  --secondary: #ec4899;
  /* Pink 500 */
  --accent: #06b6d4;
  /* Cyan 500 */

  --background: #f8f9fa;
  /* Light Gray Background */
  --foreground: #111827;
  /* Gray 900 */

  --surface-1: #ffffff;
  --surface-2: #f3f4f6;
  /* Gray 100 */
  --surface-3: #e5e7eb;
  /* Gray 200 */

  --text-primary: #111827;
  --text-secondary: #4b5563;
  /* Gray 600 */

  --border: #e5e7eb;

  /* Liquid Blur Effect */
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  --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 -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Flat Rectangular Design */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-xl: 0px;

  /* Button/card corner radius — 0 = fully rectangular */
  --btn-radius: 0px;

  /* Dynamic Theme Variables - can be overridden by admin theme settings */
  --font-family: 'Montserrat', sans-serif;
  --header-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

/* Dark Mode Class Override */
.dark {
  --background: #000000;
  /* Pure Black */
  --foreground: #ffffff;

  --surface-1: #09090b;
  /* Zinc 950 */
  --surface-2: #18181b;
  /* Zinc 900 */
  --surface-3: #27272a;
  /* Zinc 800 */

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  /* Zinc 400 */

  --border: #27272a;

  --glass: rgba(0, 0, 0, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-family, 'Montserrat', sans-serif);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-weight: 800;
  /* Bolder headings */
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  /* Modern Trend */
}

/* Updated Glassmorphism */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  /* Liquid Blur */
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Utilities */
.container {
  max-width: 1600px;
  /* Wider container for modern look */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* Mobile App Transitions */
.page-transition {
  animation: slideUp 0.3s ease-out;
}

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

/* Hide scrollbars but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Section Spacing */
.section {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  border-radius: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.45);
  opacity: 0.95;
}

/* Print styles for A5 invoice */
@media print {
    body * {
        visibility: hidden;
    }
    .print-modal-overlay, .print-modal-overlay * {
        visibility: visible;
    }
    .print-modal-overlay {
        position: absolute;
        left: 0;
        top: 0;
        background: white !important;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
    }
    .print-modal-card {
        box-shadow: none !important;
        border: none !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px;
        background: white !important;
    }
    .print-hide {
        display: none !important;
    }
    /* Set page size to A5 */
    @page {
        size: A5;
        margin: 10mm;
    }
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/layout/BottomNavigation.module.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************/
.BottomNavigation_bottomNav__bbUKp {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 70px !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: none !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 10px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
    .BottomNavigation_bottomNav__bbUKp {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.dark .BottomNavigation_bottomNav__bbUKp {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.BottomNavigation_navItem__TSPvJ {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #64748b !important;
    flex: 1 1 !important; /* Fixed width distribution */
    min-width: 0 !important;
    height: 100% !important;
    gap: 4px !important;
    flex-shrink: 0 !important; /* Prevent icons from disappearing */
}

.BottomNavigation_iconWrapper__4GGql {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.BottomNavigation_navItem__TSPvJ.BottomNavigation_active__dqTtF {
    color: var(--primary, #6366f1) !important;
}

.BottomNavigation_label__ZbiMR {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

/* Safe area for newer iPhones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .BottomNavigation_bottomNav__bbUKp {
        height: calc(70px + env(safe-area-inset-bottom)) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/ui/Preloader.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
.Preloader_preloader__kc3yz {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0f172a; /* Premium dark background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  visibility: visible;
  opacity: 1;
}

.Preloader_fadeOut__wKkT8 {
  opacity: 0;
  visibility: hidden;
}

.Preloader_loaderContent__jPeCY {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Spinner design: Pulsing circles */
.Preloader_spinner__wps2a {
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 24px;
}

.Preloader_doubleBounce1__74UtN, .Preloader_doubleBounce2__8y4bL {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary-gradient, linear-gradient(135deg, #6366f1 0%, #a855f7 100%));
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: Preloader_sk-bounce__l7kpW 2.0s infinite ease-in-out;
}

.Preloader_doubleBounce2__8y4bL {
  animation-delay: -1.0s;
}

@keyframes Preloader_sk-bounce__l7kpW {
  0%, 100% { 
    transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
  }
}

.Preloader_logoText__cjqRT {
  font-family: var(--font-family, 'Montserrat', sans-serif);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.Preloader_logoIcon__h19kk {
  color: var(--primary, #6366f1);
  animation: Preloader_pulse__bjqhg 1.5s infinite alternate;
}

@keyframes Preloader_pulse__bjqhg {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Progress bar design */
.Preloader_loadingBar__S0kMA {
  width: 160px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.Preloader_loadingProgress__mEft7 {
  width: 100%;
  height: 100%;
  background: var(--primary-gradient, linear-gradient(135deg, #6366f1 0%, #a855f7 100%));
  border-radius: 2px;
  transform: translateX(-100%);
  animation: Preloader_loading__9KfCA 1.5s infinite ease-in-out;
}

@keyframes Preloader_loading__9KfCA {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

