/* ============================================
   ABADI Solution - Main Stylesheet
   ============================================ */

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

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

html {
  scroll-behavior: smooth;
}
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --accent: #8b5cf6;
  --accent2: #818cf8;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --text-main: #f0f6ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --bg-main: #060d1f;
  --card-bg: #0d1b35;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Global Text Colors for Forms */
label, input, select, textarea {
  color: inherit;
}

::placeholder {
  color: var(--text-muted);
}

body.no-scroll {
  overflow: hidden;
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #060d1f;
}

::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.18);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* =========================================
   LANDING PAGE
   ========================================= */
.landing-body {
  background: linear-gradient(135deg, #020817 0%, #0a1628 40%, #060d1f 100%);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(2, 8, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.18);
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(2, 8, 23, 0.97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.nav-brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #f0f6ff;
}

.nav-brand-text span {
  color: #0ea5e9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f6ff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-toggle:hover {
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.08);
}

.landing-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1150;
}

.landing-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

body.landing-menu-open {
  overflow: hidden;
}

.nav-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0ea5e9;
  transform: scaleX(0);
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: #0ea5e9;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn-nav-login {
  padding: 8px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.btn-nav-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
}

.btn-nav-login::after {
  display: none !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 75px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(14, 165, 233, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-top: -60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0ea5e9;
  margin-bottom: 24px;
  animation: fadeInDown .8s ease;
}

.hero-badge i {
  font-size: 0.7rem;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  animation: fadeInUp .8s .1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeInUp .8s .2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp .8s .3s both;
}

.btn-primary {
  padding: 13px 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.25);
}

.btn-outline {
  padding: 13px 32px;
  border-radius: 8px;
  background: transparent;
  color: #f0f6ff;
  border: 1px solid rgba(14, 165, 233, 0.18);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  gap: 16px;
  animation: floatUpVisual 1s .4s both;
}

.hero-stat-card {
  background: rgba(13, 27, 53, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  padding: 20px 28px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.hero-stat-card:hover {
  transform: translateX(-6px);
  border-color: #0ea5e9;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.hero-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* SECTION STYLES */
section {
  padding: 90px 5%;
}

.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: #0ea5e9;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 560px;
}

.section-header {
  margin-bottom: 56px;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 36px 32px;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
  transform: scaleX(0);
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(14, 165, 233, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0ea5e9;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-top: 20px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 5px 0;
}

.service-features li i {
  color: #10b981;
  font-size: 0.75rem;
}

/* WHY US */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover {
  border-color: #0ea5e9;
  transform: translateX(6px);
}

.why-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-item p {
  color: #94a3b8;
  font-size: 0.875rem;
}

.why-visual {
  background: #0d1b35;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
}

.stats-big-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-big {
  background: rgba(13, 27, 53, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-big:hover {
  border-color: #0ea5e9;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.stat-big-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-big-label {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  padding: 70px 5%;
  text-align: center;
  margin: 0 5%;
}

.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: #94a3b8;
  margin-bottom: 32px;
}

/* FOOTER */
footer {
  background: #080f24;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 14px;
  line-height: 1.7;
}

footer h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: #0ea5e9;
}

.footer-contact p {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #475569;
  font-size: 0.825rem;
}

/* =========================================
   LOGIN PAGE
   ========================================= */
.login-container {
  min-height: 100vh;
  display: flex;
  background: #060d1f;
}

.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background:
    radial-gradient(ellipse 80% 60% at 30% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, #020817, #0a1628);
  position: relative;
  overflow: hidden;
}

.login-left-content {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.login-left h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.login-left p {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.login-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0ea5e9;
}

.login-feature-text {
  font-size: 0.875rem;
  color: #94a3b8;
}

.login-feature-text strong {
  color: #f0f6ff;
  display: block;
}

.login-deco {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.login-deco-1 {
  bottom: -100px;
  right: -100px;
}

.login-deco-2 {
  top: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  border-color: rgba(139, 92, 246, 0.1);
}

.login-right {
  width: 480px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: #0d1b35;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.login-form-wrapper {
  width: 100%;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.login-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.login-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.login-logo-text span {
  color: #0ea5e9;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.login-subtitle {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 32px;
}

/* FORM COMPONENTS */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #94a3b8;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 8px;
  color: #f0f6ff;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.form-control:focus {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.06);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.form-control::placeholder {
  color: #475569;
}

.form-control-icon {
  position: relative;
}

.form-control-icon>i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  font-size: 0.9rem;
  pointer-events: none;
}

.form-control-icon .form-control {
  padding-left: 40px;
  padding-right: 40px;
}

.form-control-icon .toggle-pass {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  cursor: pointer;
  font-size: 0.9rem;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  pointer-events: auto;
  background: none;
  border: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-control-icon .toggle-pass:hover {
  color: #0ea5e9;
}

.btn-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.25);
}

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

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.alert-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

/* =========================================
   DASHBOARD LAYOUT
   ========================================= */
.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 270px;
  flex-shrink: 0;
  background: #0f172a;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.mobile-nav-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(14, 165, 233, 0.18);
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: none;
  z-index: 130;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 95;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.sidebar-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.25);
  flex-shrink: 0;
}

.sidebar-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.sidebar-logo-text span {
  color: #0ea5e9;
}

.sidebar-logo-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  letter-spacing: .5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-section-title {
  padding: 8px 24px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  margin: 2px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.sidebar-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-item:hover {
  background: rgba(14, 165, 233, 0.08);
  color: #f8fafc;
}

.sidebar-item.active {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #0ea5e9;
  border-radius: 0 4px 4px 0;
}

.sidebar-badge {
  margin-left: auto;
  background: #0ea5e9;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}

.sidebar-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(13, 27, 53, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.sidebar-user-name {
  font-size: 0.875rem;
  font-weight: 600;
}

.sidebar-user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-logout {
  margin-left: auto;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 4px;
}

.sidebar-logout:hover {
  color: #ef4444;
}

/* MAIN CONTENT */
.main-content {
  margin-left: 270px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 16px;
}

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

.page-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb a:hover {
  color: #0ea5e9;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  cursor: pointer;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.topbar-btn:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.topbar .mobile-sidebar-trigger {
  display: none;
  flex-shrink: 0;
}

.topbar-right a[href="logout"] {
  display: none !important;
}

.topbar-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* PAGE CONTENT */
.page-content {
  padding: 28px;
  flex: 1;
}

/* STAT CARDS */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  opacity: .08;
  transform: translate(20px, -20px);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.stat-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-icon-blue {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.stat-icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.stat-icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

.stat-icon-orange {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.stat-icon-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.stat-icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.stat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

.stat-badge-up {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.stat-badge-down {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* DATA CARDS */
.card {
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title i {
  color: #0ea5e9;
}

.card-body {
  padding: 24px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* TABLES */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper table {
  min-width: 720px;
}

.table-dashboard table {
  min-width: auto !important;
  width: 100%;
  table-layout: auto;
}

.table-dashboard td, .table-dashboard th {
  padding: 10px 12px !important;
  white-space: nowrap;
}

.table-dashboard td:first-child {
  white-space: normal;
  max-width: 180px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

tbody tr:hover {
  background: rgba(14, 165, 233, 0.08);
}

tbody td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: #f0f6ff;
  vertical-align: middle;
}

.td-muted {
  color: #94a3b8;
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-info {
  background: rgba(125, 211, 252, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.3);
}

.badge-secondary {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 0.95rem;
}

.btn-icon {
  padding: 8px;
}

.btn-blue {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.btn-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.btn-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.btn-orange {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.btn-solid {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-solid:hover {
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
}

/* FORM IN DASHBOARD */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

select.form-control option {
  background-color: #0d1b35;
  color: #f0f6ff;
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* SEARCH BAR */
.search-bar {
  position: relative;
  min-width: 220px;
}

.search-bar input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 8px;
  color: #f0f6ff;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.search-bar input:focus {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.06);
}

.search-bar i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #0d1b35;
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 14px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(.95) translateY(10px);
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.modal-lg {
  max-width: 900px;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title i {
  color: #0ea5e9;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.modal-body {
  padding: 24px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* CHART AREA */
.chart-container {
  position: relative;
  height: 280px;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: .4;
  display: block;
}

.empty-state p {
  font-size: 0.875rem;
}

/* PAGINATION */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-info {
  font-size: 0.8rem;
  color: #94a3b8;
}

.pagination-links {
  display: flex;
  gap: 4px;
}

.pagination-links a,
.pagination-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-links a {
  color: #94a3b8;
  background: #0d1b35;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pagination-links a:hover,
.pagination-links span.active-page {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

/* BUDGET DETAIL TABLE */
.budget-table thead th {
  background: rgba(14, 165, 233, 0.06);
}

.budget-total-row td {
  font-weight: 700;
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
}

/* PROGRESS BAR */
.progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4);
  transition: width .6s ease;
}

/* TOOLTIPS / HELPER */
.text-primary-color {
  color: #0ea5e9;
}

.text-success {
  color: #10b981;
}

.text-warning {
  color: #f59e0b;
}

.text-danger {
  color: #ef4444;
}

.text-muted {
  color: var(--text-muted);
}

.fw-bold {
  font-weight: 700;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.gap-2 {
  gap: 12px;
}

.ms-auto {
  margin-left: auto;
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUpVisual {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 40px));
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-in {
  animation: fadeIn .4s ease;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-visual {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    width: min(82vw, 320px);
    transform: translateX(-104%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
  }

  .topbar .mobile-sidebar-trigger,
  .topbar #sidebarToggle {
    display: inline-flex !important;
  }

  .main-content {
    margin-left: 0;
  }

  .topbar {
    height: auto;
    min-height: 64px;
    padding: 10px 18px 10px 14px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .topbar-left,
  .topbar-right {
    width: 100%;
  }

  .topbar-left {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-right {
    justify-content: flex-end;
  }

  .topbar-left>div {
    min-width: 0;
  }

  .breadcrumb {
    margin-top: 2px;
    flex-wrap: wrap;
    gap: 4px 6px;
    line-height: 1.25;
  }

  .page-content {
    padding: 22px 18px;
  }

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

  .card-body {
    padding: 18px;
  }

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

@media (max-width: 900px) {
  .navbar {
    height: 64px;
    min-height: 64px;
    padding: 0 16px;
    gap: 10px;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -110%;
    width: min(82vw, 320px);
    height: 100vh;
    background: rgba(6, 13, 31, 0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(14, 165, 233, 0.18);
    padding: 78px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 1210;
    transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border-radius: 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .btn-nav-login {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 106px 16px 46px;
  }

  section {
    padding: 72px 16px;
  }

  .service-card,
  .why-visual,
  .cta-section {
    padding: 24px 18px;
  }

  .cta-section {
    margin: 0;
  }

  .login-right {
    width: 100%;
    padding: 36px 20px;
    border-left: none;
  }

  .page-content>div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .card-header {
    padding: 14px 16px;
  }
}

@media (max-width: 768px) {
  .login-left {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-value {
    font-size: 1.4rem;
    word-break: break-word;
  }

  .page-title {
    font-size: 1rem;
  }

  .breadcrumb {
    font-size: 0.74rem;
  }

  .topbar-date {
    font-size: 0.72rem;
  }

  .search-bar {
    min-width: 100%;
  }

  .card-actions {
    width: 100%;
  }

  .card-actions form {
    width: 100%;
  }

  .modal-overlay {
    padding: 12px;
    align-items: flex-start;
  }

  .modal,
  .modal-lg {
    max-width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal-footer {
    flex-wrap: wrap;
  }

  .modal-footer .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .nav-brand-logo {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .nav-brand-text {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.95rem, 10vw, 2.35rem);
  }

  .hero-desc {
    font-size: 0.92rem;
  }

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

  .stats-big-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .topbar-date {
    display: none;
  }

  .page-content {
    padding: 14px;
  }

  .topbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .table-wrapper table,
  .table-dashboard table {
    min-width: 640px;
  }
}

@media (max-width: 480px) {
  .mobile-nav-toggle {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .login-right {
    padding: 28px 14px;
  }

  .card-body {
    padding: 14px;
  }

  .btn {
    padding: 8px 12px;
  }

  .pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* BUDGETING CALCULATOR & PRINT STYLES */
.budget-calc-row input {
  background: transparent;
  border: none;
  color: white !important;
  width: 100%;
  padding: 4px;
  font-size: 0.9rem;
}

.budget-calc-row input:focus {
  outline: 1px solid #0ea5e9;
  background: rgba(255, 255, 255, 0.05);
}

.budget-calc-row select {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  width: 100%;
}

@media print {

  .sidebar,
  .topbar,
  .card-actions,
  .btn,
  .modal-overlay,
  .pagination,
  .card-header .btn,
  .calc-input,
  .badge-warning,
  .td-actions,
  .hide-print {
    display: none !important;
  }

  .app-wrapper {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
    margin-bottom: 20px !important;
  }

  .card-body {
    padding: 0 !important;
  }

  .page-content {
    padding: 0 !important;
  }

  .badge {
    border: none !important;
    color: black !important;
    background: transparent !important;
    font-weight: bold;
    font-size: 11pt;
    padding: 0 !important;
  }

  /* Invoice Layout */
  .print-header {
    display: flex !important;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 30px;
    border-bottom: 2px solid #1a365d;
    padding-bottom: 15px;
  }

  .print-header-left h1 {
    margin: 0;
    font-size: 26pt;
    color: #1a365d;
    letter-spacing: -1px;
    font-weight: 800;
  }

  .print-header-left p {
    margin: 1px 0;
    font-size: 9pt;
    color: #333;
    line-height: 1.4;
  }

  .print-header-right {
    text-align: right;
  }

  .print-header-right .doc-type {
    font-size: 18pt;
    font-weight: 900;
    color: #1a365d;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .print-header-right p {
    margin: 0;
    font-size: 10pt;
    color: #000;
    font-weight: 600;
  }

  .bill-to {
    display: flex !important;
    gap: 40px;
    margin-bottom: 25px;
    background: #f8fafc !important;
    padding: 15px !important;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
  }

  .bill-to-section {
    flex: 1;
  }

  .bill-to-label {
    font-size: 8pt;
    text-transform: uppercase;
    color: #475569;
    font-weight: 800;
    margin-bottom: 8px;
    border-bottom: 1px solid #cbd5e1;
    display: inline-block;
  }

  .bill-to-section strong {
    font-size: 11pt;
    color: #1e293b;
  }

  table {
    border-collapse: collapse !important;
    width: 100% !important;
    color: black !important;
    margin-top: 15px !important;
  }

  th {
    background: #1a365d !important;
    color: white !important;
    border: 1px solid #1a365d !important;
    font-weight: bold;
    text-align: left;
    padding: 10px !important;
    font-size: 10pt;
  }

  td {
    border: 1px solid #e2e8f0 !important;
    padding: 10px !important;
    font-size: 10pt !important;
    color: black !important;
  }

  /* HIDE INTERNAL DATA: 6:Harga Beli, 8:Subtotal Beli */
  th:nth-child(6),
  td:nth-child(6),
  th:nth-child(8),
  td:nth-child(8),
  .budget-total-row td:nth-child(2),
  .margin-row {
    display: none !important;
  }

  .total-section {
    margin-top: 25px;
    margin-left: auto;
    width: 100%;
  }

  .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .total-row.grand-total {
    border: none !important;
    background: #1a365d !important;
    color: white !important;
    padding: 12px 15px !important;
    border-radius: 4px;
    font-weight: 800;
    font-size: 16pt;
    margin-top: 10px;
  }

  .total-row.grand-total span:first-child {
    font-size: 10pt;
    text-transform: uppercase;
    align-self: center;
  }

  .signature-section {
    margin-top: 50px;
    display: flex !important;
    justify-content: space-between;
    page-break-inside: avoid;
  }

  .sig-box {
    width: 220px;
    text-align: center;
  }

  .sig-line {
    margin-top: 70px;
    border-top: 1px solid #000;
    padding-top: 5px;
    font-weight: bold;
    font-size: 10pt;
  }
}

.print-header,
.bill-to,
.payment-info {
  display: none;
}