:root {
  --color-primary-50:#fff1f1; --color-primary-100:#ffe0e0; --color-primary-200:#ffc7c7; --color-primary-300:#ffa0a0; --color-primary-400:#ff5f5f; --color-primary-500:#e10600; --color-primary-600:#c90000; --color-primary-700:#b00000; --color-primary-800:#a80000; --color-primary-900:#8b0000;
  --color-success:#10b981; --color-warning:#f59e0b; --color-danger:#c90000; --color-info:#0066cc; --color-accent:#e10600; --color-white:#ffffff;
  --color-gray-50:#fafafa; --color-gray-100:#f5f5f5; --color-gray-200:#eee; --color-gray-300:#e0e0e0; --color-gray-400:#bdbdbd; --color-gray-500:#9e9e9e; --color-gray-600:#757575; --color-gray-700:#616161; --color-gray-800:#424242; --color-gray-900:#212121; --color-black:#000;
  --bg-primary:#fff; --bg-secondary:#fff1f2; --bg-tertiary:#ffe4e6; --bg-card:#fff; --bg-overlay:rgba(239,68,68,0.1); --bg-glass:rgba(255,255,255,0.95); --bg-glass-border:rgba(239,68,68,0.2);
  --text-primary:#1a1a1a; --text-secondary:#424242; --text-tertiary:#616161; --text-muted:#757575; --text-inverse:#fff;
  --border-primary:#fecaca; --border-secondary:#fca5a5; --border-tertiary:#f87171; --border-glass:rgba(239,68,68,0.2);
  --shadow-xs:0 1px 2px 0 rgba(0,0,0,0.05); --shadow-sm:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06); --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); --shadow-xl:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04); --shadow-2xl:0 25px 50px -12px rgba(0,0,0,0.25); --shadow-glass:0 8px 32px 0 rgba(0,0,0,0.37);
  --space-0:0; --space-px:1px; --space-0-5:0.125rem; --space-1:0.25rem; --space-1-5:0.375rem; --space-2:0.5rem; --space-2-5:0.625rem; --space-3:0.75rem; --space-3-5:0.875rem; --space-4:1rem; --space-5:1.25rem; --space-6:1.5rem; --space-7:1.75rem; --space-8:2rem; --space-9:2.25rem; --space-10:2.5rem; --space-11:2.75rem; --space-12:3rem; --space-14:3.5rem; --space-16:4rem; --space-20:5rem; --space-24:6rem; --space-28:7rem; --space-32:8rem;
  --spacing-xs:var(--space-1); --spacing-sm:var(--space-2); --spacing-md:var(--space-4); --spacing-lg:var(--space-6); --spacing-xl:var(--space-8); --spacing-2xl:var(--space-12); --spacing-3xl:var(--space-16);
  --radius-none:0; --radius-sm:0.125rem; --radius-md:0.375rem; --radius-lg:0.5rem; --radius-xl:0.75rem; --radius-2xl:1rem; --radius-3xl:1.5rem; --radius-full:9999px;
  --font-family-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --font-family-mono:'JetBrains Mono','Fira Code','SF Mono',Monaco,'Cascadia Code','Roboto Mono',Consolas,'Courier New',monospace; --font-family-serif:'Playfair Display','Times New Roman',Times,serif;
  --text-xs:0.75rem; --text-sm:0.875rem; --text-base:1rem; --text-lg:1.125rem; --text-xl:1.25rem; --text-2xl:1.5rem; --text-3xl:1.875rem; --text-4xl:2.25rem; --text-5xl:3rem; --text-6xl:3.75rem; --text-7xl:4.5rem; --text-8xl:6rem; --text-9xl:8rem;
  --leading-none:1; --leading-tight:1.25; --leading-snug:1.375; --leading-normal:1.5; --leading-relaxed:1.625; --leading-loose:2;
  --font-thin:100; --font-extralight:200; --font-light:300; --font-normal:400; --font-medium:500; --font-semibold:600; --font-bold:700; --font-extrabold:800; --font-black:900;
  --transition-none:none; --transition-all:all 150ms cubic-bezier(0.4,0,0.2,1); --transition-colors:color 150ms cubic-bezier(0.4,0,0.2,1),background-color 150ms cubic-bezier(0.4,0,0.2,1),border-color 150ms cubic-bezier(0.4,0,0.2,1); --transition-opacity:opacity 150ms cubic-bezier(0.4,0,0.2,1); --transition-shadow:box-shadow 150ms cubic-bezier(0.4,0,0.2,1); --transition-transform:transform 150ms cubic-bezier(0.4,0,0.2,1); --transition-fast:150ms ease-in-out; --transition-normal:300ms ease-in-out; --transition-slow:500ms ease-in-out;
  --z-auto:auto; --z-0:0; --z-10:10; --z-20:20; --z-30:30; --z-40:40; --z-50:50; --z-dropdown:1000; --z-sticky:1020; --z-fixed:1030; --z-modal-backdrop:1040; --z-modal:1050; --z-popover:1060; --z-tooltip:1070; --z-toast:1080; --z-floating:1090;
  --white:#ffffff; --success-color:var(--color-success); --warning-color:var(--color-warning); --danger-color:var(--color-danger); --info-color:var(--color-info); --glass-bg:var(--bg-glass); --glass-border:var(--bg-glass-border); --glass-shadow:var(--shadow-glass);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}
body {
  font-family: var(--font-family-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%) !important;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  border-top: 0 !important;
}
html,
body,
header#header,
.header-ultra-modern {
  border-top: 0 !important;
  box-shadow: none !important;
}
main {
  padding: 0;
  margin: 0;
  background-color: transparent !important;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}
main:has(.hero-ultra-modern) {
  background-color: transparent !important;
  min-height: 100vh;
}
.hero-ultra-modern {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #e10600 0%, #ff5f5f 20%, #ffffff 34%, #ffffff 66%, #ff5f5f 80%, #e10600 100%) !important;
  padding: 40px 0 30px 0;
  margin-bottom: 0;
}
.hero-ultra-modern .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.hero-ultra-modern .row {
  min-width: 0;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.hero-ultra-modern .row > [class*="col-"] {
  min-width: 0;
}
.hero-ultra-modern .hero-visual-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero-ultra-modern .hero-robot-end {
  justify-content: flex-end;
}
.hero-description-wrap {
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transform: none;
}

.header-ultra-modern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.floating-icon-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  margin: calc(env(safe-area-inset-top, 0px) + 48px) auto 0;
  border-radius: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, margin-top 0.3s ease;
}

.floating-icon-nav.scrolled {
  margin-top: calc(env(safe-area-inset-top, 0px) + 34px);
  transform: translateY(-2px);
  box-shadow: none !important;
}

.floating-menu-toggle {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.floating-menu-toggle:hover {
  background: rgba(220, 38, 38, 0.18);
  transform: translateY(-1px);
}

.floating-menu-panel {
  width: auto;
}

.floating-menu-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-inline: 0;
  perspective: 500px;
}

.floating-menu-link,
.floating-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateY(8px);
  position: relative;
  transform-origin: center bottom;
  overflow: visible;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  line-height: 1;
  vertical-align: middle;
}

.floating-menu-link.is-visible,
.floating-action-link.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-menu-link i,
.floating-action-link i {
  font-size: 1.45rem;
  line-height: 1;
}

.floating-menu-link span,
.floating-action-link span {
  display: none !important;
}

.floating-menu-link:hover,
.floating-menu-link.active,
.floating-action-link:hover,
.floating-menu-links .floating-menu-link:hover,
.floating-menu-links .floating-action-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-8px) scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 1;
  filter: saturate(1.2);
}

.floating-menu-link.active {
  transform: translateY(-6px) scale(1.1);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.2),
    0 0 18px rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.floating-menu-link::before,
.floating-action-link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 125%;
  height: 125%;
  border-radius: 16px;
  transform: translate(-50%, -50%) scale(0.7);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 60%, transparent 75%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  z-index: -1;
}

.floating-menu-link:hover::before,
.floating-action-link:hover::before,
.floating-menu-link.active::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.floating-action-link.login {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-action-link.logout {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
  color: #ffffff;
}

.floating-action-link.logout:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.98), rgba(185, 28, 28, 0.98));
  border-color: rgba(239, 68, 68, 0.45);
}

.floating-notification-wrapper {
  position: relative;
  display: inline-flex;
}

.wp-notification-btn {
  position: relative;
}

.wp-notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.35);
  pointer-events: none;
}

.wp-notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  z-index: 30;
  color: #111827;
}

.wp-notification-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.wp-notification-head strong {
  font-size: 0.9rem;
  color: #ffffff;
}

.wp-notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.wp-notification-head small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.86);
}

.wp-priority-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 20px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: rgba(148, 163, 184, 0.4);
}

.wp-priority-chip.high {
  background: rgba(220, 38, 38, 0.88);
  border-color: rgba(255, 255, 255, 0.95);
}

.wp-priority-chip.medium {
  background: rgba(234, 88, 12, 0.86);
  border-color: rgba(255, 255, 255, 0.92);
}

.wp-priority-chip.low {
  background: rgba(34, 197, 94, 0.82);
  border-color: rgba(255, 255, 255, 0.9);
}

.wp-notification-summary {
  margin: 0 0 8px;
  font-size: 0.83rem;
  color: #111827;
}

.wp-notification-list {
  margin: 0;
  padding-left: 16px;
  max-height: 130px;
  overflow-y: auto;
}

.wp-notification-list li {
  font-size: 0.79rem;
  color: #111827;
  margin-bottom: 6px;
}

.wp-notification-docs {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  color: #111827;
}

.wp-doc-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.wp-doc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wp-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.wp-doc-item b {
  color: #111827;
  font-weight: 700;
}

.wp-doc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.wp-doc-status.is-valid {
  color: #166534;
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(22, 163, 74, 0.45);
}

.wp-doc-status.is-review {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.24);
  border-color: rgba(234, 88, 12, 0.45);
}

.wp-doc-status.is-danger {
  color: #991b1b;
  background: rgba(248, 113, 113, 0.24);
  border-color: rgba(220, 38, 38, 0.48);
}

.wp-doc-status.is-neutral {
  color: #334155;
  background: rgba(148, 163, 184, 0.2);
  border-color: rgba(100, 116, 139, 0.4);
}

.wp-notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.wp-notification-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wp-notification-action:hover {
  background: rgba(239, 68, 68, 0.75);
  border-color: rgba(255, 255, 255, 0.92);
  color: #ffffff;
}

.wp-notification-toast {
  position: fixed;
  right: 16px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 24px));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
  z-index: 1080;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.wp-notification-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.wp-notification-toast.is-hide {
  opacity: 0;
  transform: translateY(10px);
}

.floating-services-dropdown .floating-dropdown-toggle {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: transparent !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.floating-services-dropdown {
  position: relative;
}

.floating-service-menu {
  min-width: min(900px, calc(100vw - 32px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  left: 50% !important;
  right: auto !important;
  top: calc(100% + 24px) !important;
  transform: translateX(-50%) !important;
  margin-top: 0 !important;
}

.floating-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.floating-service-column {
  min-width: 0;
}

.floating-service-title {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.floating-service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  color: #fff1f2;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  background: transparent;
  margin-bottom: 6px;
}

.floating-service-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.floating-service-item i {
  color: #fecaca;
  font-size: 1rem;
  margin-top: 1px;
}

.floating-service-item:hover i {
  color: #ffffff;
}

.floating-service-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.floating-service-name {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.floating-service-desc {
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.72rem;
  line-height: 1.25;
}

.floating-service-item-mobile {
  display: none;
}

.floating-menu-link::after,
.floating-action-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(-4px);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 5;
}

.floating-menu-link:hover::after,
.floating-action-link:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 991.98px) {
  .floating-icon-nav {
    display: grid;
    grid-template-columns: auto;
    gap: 8px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 0;
    margin-top: calc(env(safe-area-inset-top, 0px) + 36px);
  }

  .floating-menu-toggle {
    display: inline-flex;
    margin: 0 auto;
  }

  .floating-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.25s ease;
    pointer-events: none;
  }

  .floating-menu-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .floating-menu-links {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    justify-content: center;
    gap: 10px;
    padding-inline: 6px;
  }

  .floating-menu-link,
  .floating-action-link {
    width: 54px;
    height: 54px;
    justify-content: center;
  }

  .wp-notification-panel {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .wp-notification-toast {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
  }

  .wp-notification-toast.is-show {
    transform: translateX(-50%) translateY(0);
  }

  .wp-notification-toast.is-hide {
    transform: translateX(-50%) translateY(10px);
  }

  .floating-menu-link i,
  .floating-action-link i {
    font-size: 1.32rem;
  }

  .floating-menu-link::after,
  .floating-action-link::after {
    display: none;
  }

  .floating-menu-links:hover .floating-menu-link,
  .floating-menu-links:hover .floating-action-link,
  .floating-menu-links .floating-menu-link:hover,
  .floating-menu-links .floating-action-link:hover,
  .floating-menu-link.active {
    transform: none;
    opacity: 1;
    filter: none;
  }

  .floating-menu-link::before,
  .floating-action-link::before {
    display: none;
  }

  .floating-service-grid {
    display: none;
  }

  .floating-service-item-mobile {
    display: flex;
    margin-bottom: 6px;
  }

  .floating-service-menu {
    min-width: 280px;
    max-width: min(420px, calc(100vw - 24px));
    padding: 10px;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 18px) !important;
    transform: translateX(-50%) !important;
  }

}

@media (max-width: 576px) {
  .floating-icon-nav {
    width: calc(100% - 16px);
  }
}
.btn-primary-modern {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: none !important;
  color: #ffffff !important;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}
.btn-primary-modern.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
  min-height: 45px;
}
.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #dc2626, #ef4444) !important;
}
.btn-primary-modern .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}
.btn-primary-modern:hover .btn-glow {
  left: 100%;
}

.btn-outline-modern {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  color: #ffffff !important;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all var(--transition-normal);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-outline-modern:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}
.btn-outline-modern:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.14) !important;
}
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-gradient {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-warning { background-color: var(--color-warning) !important; }
.bg-danger { background-color: var(--color-danger) !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.z-10 { z-index: var(--z-10) !important; }
.z-30 { z-index: var(--z-30) !important; }
.hero-content-modern {
  position: relative;
  z-index: 2;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  color: var(--text-primary);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  width: 100%;
}
.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
  text-align: center;
  max-width: 100%;
  overflow-wrap: break-word;
}
@media (max-width: 992px) {
  .hero-title-modern {
    font-size: 2.5rem;
  }
}
@media (max-width: 576px) {
  .hero-title-modern {
    font-size: 2rem;
  }
}
.title-line-1,
.title-line-3 {
  display: block;
  color: var(--text-primary);
  white-space: nowrap;
}
@media (max-width: 992px) {
  .hero-title-modern .title-line-1,
  .hero-title-modern .title-line-3 {
    white-space: normal;
  }
}
.title-line-2 {
  display: block;
  color: var(--text-secondary);
}
.hero-description-modern {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 480px;
  text-align: center;
}
.hero-content-modern.text-center .hero-description-modern {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}
.hero-description-modern.hero-description-wrap {
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 992px) {
  .hero-description-modern.hero-description-wrap {
    white-space: normal;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .hero-description-modern.hero-description-wrap {
    white-space: normal;
    font-size: 0.9rem;
  }
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin: var(--spacing-xl) 0;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats .stat-item {
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 7rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.hero-stats .stat-item:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.1);
}
.hero-stats .stat-number-wrap {
  display: block;
  margin-bottom: 0.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-stats .stat-number-wrap .stat-number {
  margin-bottom: 0;
}
.hero-stats .stat-number-unit {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626 !important;
  text-shadow: 0 2px 4px rgba(220, 38, 38, 0.15);
}
.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626 !important;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 4px rgba(220, 38, 38, 0.15);
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-stats .stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.3;
}
.stat-item {
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626 !important;
  margin-bottom: var(--spacing-xs);
  text-shadow: 0 2px 4px rgba(220, 38, 38, 0.15);
  opacity: 1 !important;
  visibility: visible !important;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 1 !important;
  visibility: visible !important;
}
.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-lg);
  justify-content: center;
}
.hero-visual-modern {
  position: relative;
  z-index: 3;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0px;
  padding-top: 20px;
}
.hero-img-modern {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 20;
}
.hero-img-modern[src*=".mp4"],
.hero-img-modern[src*=".webm"],
.hero-img-modern[src*=".ogg"],
.hero-img-modern video {
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  width: auto;
  max-width: 750px;
  max-height: 750px;
  height: auto;
  display: block;
  margin: 0 auto;
  z-index: 30;
}
.hero-visual-modern video,
.hero-visual-modern .hero-img-modern {
  z-index: 30 !important;
  max-width: min(72%, 380px);
  object-fit: contain;
}
@media (max-width: 1200px) {
  .hero-img-modern[src*=".mp4"],
  .hero-img-modern[src*=".webm"],
  .hero-img-modern[src*=".ogg"],
  .hero-img-modern video {
    max-width: 700px;
    max-height: 700px;
    width: auto;
    height: auto;
  }
}
@media (max-width: 992px) {
  .hero-img-modern[src*=".mp4"],
  .hero-img-modern[src*=".webm"],
  .hero-img-modern[src*=".ogg"],
  .hero-img-modern video {
    max-width: 650px;
    max-height: 650px;
    width: auto;
    height: auto;
  }
}
@media (max-width: 768px) {
  .hero-img-modern[src*=".mp4"],
  .hero-img-modern[src*=".webm"],
  .hero-img-modern[src*=".ogg"],
  .hero-img-modern video {
    max-width: 600px;
    max-height: 600px;
    width: auto;
    height: auto;
  }
}
@media (max-width: 576px) {
  .hero-img-modern[src*=".mp4"],
  .hero-img-modern[src*=".webm"],
  .hero-img-modern[src*=".ogg"],
  .hero-img-modern video {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
  }
}
.tentang-modern [data-aos],
.cara-bayar-modern [data-aos] {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.tentang-modern [data-aos].aos-animate,
.cara-bayar-modern [data-aos].aos-animate {
  opacity: 1;
  visibility: visible;
}
.tentang-modern [data-aos="fade-up"],
.cara-bayar-modern [data-aos="fade-up"] {
  transform: translateY(30px);
}
.tentang-modern [data-aos="fade-up"].aos-animate,
.cara-bayar-modern [data-aos="fade-up"].aos-animate {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tentang-modern [data-aos="fade-right"],
.cara-bayar-modern [data-aos="fade-right"] {
  transform: translateX(-30px);
}
.tentang-modern [data-aos="fade-right"].aos-animate,
.cara-bayar-modern [data-aos="fade-right"].aos-animate {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.tentang-modern [data-aos="fade-left"],
.cara-bayar-modern [data-aos="fade-left"] {
  transform: translateX(30px);
}
.tentang-modern [data-aos="fade-left"].aos-animate,
.cara-bayar-modern [data-aos="fade-left"].aos-animate {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.tentang-modern [data-aos="zoom-in"],
.cara-bayar-modern [data-aos="zoom-in"] {
  transform: scale(0.8);
}
.tentang-modern [data-aos="zoom-in"].aos-animate,
.cara-bayar-modern [data-aos="zoom-in"].aos-animate {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-content-modern,
.hero-title-modern,
.hero-description-modern,
.hero-stats,
.hero-actions,
.hero-visual-modern,
.hero-img-modern {
  position: relative;
  z-index: 2;
}
.hero-ultra-modern [data-aos] {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-ultra-modern [data-aos].aos-animate {
  opacity: 1;
  visibility: visible;
}
.hero-ultra-modern [data-aos="fade-up"] {
  transform: translateY(30px);
}
.hero-ultra-modern [data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}
.hero-ultra-modern [data-aos="fade-right"] {
  transform: translateX(-30px);
}
.hero-ultra-modern [data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}
.hero-ultra-modern [data-aos="fade-left"] {
  transform: translateX(30px);
}
.hero-ultra-modern [data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}
.hero-ultra-modern [data-aos="zoom-in"] {
  transform: scale(0.8);
}
.hero-ultra-modern [data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}
.hero-stats .stat-item {
  transition: all 0.3s ease;
}
.hero-actions .btn {
  transition: all 0.3s ease;
}
.hero-actions .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.3);
}

@media (max-width: 1440px) {
  .hero-ultra-modern {
    padding: 28px 0 24px;
    min-height: auto;
  }
  .hero-ultra-modern .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-ultra-modern .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .hero-ultra-modern .row > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .hero-title-modern {
    font-size: 2.75rem;
    margin-bottom: var(--spacing-md);
  }
  .title-line-1,
  .title-line-3 {
    white-space: normal;
  }
  .hero-description-modern {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
  }
  .hero-stats {
    gap: 1rem;
    margin: var(--spacing-lg) 0;
  }
  .hero-stats .stat-item {
    min-width: 6rem;
    padding: 0.875rem 1rem;
  }
  .hero-stats .stat-number,
  .hero-stats .stat-number-unit {
    font-size: 1.5rem;
  }
  .hero-stats .stat-label {
    font-size: 0.8125rem;
  }
  .hero-content-modern {
    min-height: 0;
    padding: 12px 0;
  }
  .hero-visual-modern {
    padding-top: 12px;
  }
  .hero-img-modern {
    max-width: min(65%, 320px) !important;
  }
}

@media (max-width: 1200px) {
  .hero-title-modern {
    font-size: 2.25rem;
  }
  .hero-description-modern {
    font-size: 1rem;
  }
  .hero-stats .stat-item {
    min-width: 5.5rem;
    padding: 0.75rem 0.875rem;
  }
  .hero-stats .stat-number,
  .hero-stats .stat-number-unit {
    font-size: 1.35rem;
  }
  .hero-img-modern {
    max-width: min(58%, 280px) !important;
  }
}

.toast-container {
  z-index: var(--z-floating);
}
.toast {
  min-width: 250px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.toast.bg-success {
  background-color: var(--success-color) !important;
}
.toast.bg-info {
  background-color: var(--info-color) !important;
}
.toast.bg-warning {
  background-color: var(--warning-color) !important;
}
.toast.bg-danger {
  background-color: var(--danger-color) !important;
}
.tentang-modern,
.cara-bayar-modern,
.monitoring-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #e10600 0%, #ff5f5f 20%, #ffffff 34%, #ffffff 66%, #ff5f5f 80%, #e10600 100%) !important;
  overflow: hidden;
  padding: 80px 0;
  margin-bottom: 0;
  isolation: isolate;
}
.realisasi-stat-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.realisasi-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.realisasi-stat-card-body {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
}
.realisasi-stat-icon-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(201, 0, 0, 0.1);
  border: 1px solid rgba(201, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #c90000;
}
.realisasi-stat-content { flex: 1; min-width: 0; }
.realisasi-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111827;
  margin: 0 0 0.15rem 0;
}
.realisasi-stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
.realisasi-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}
.realisasi-chart-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.realisasi-chart-card:hover { border-color: rgba(255, 255, 255, 0.3); }
.realisasi-chart-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.realisasi-chart-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.realisasi-chart-year {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.realisasi-chart-body {
  padding: 1.25rem 1.5rem;
  min-height: 380px;
}
@media (max-width: 768px) {
  .realisasi-stat-value { font-size: 1.35rem; }
  .realisasi-chart-body { min-height: 300px; padding: 1rem; }
}
.section-content-modern {
  position: relative;
  z-index: 3;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  opacity: 1 !important;
  visibility: visible !important;
  padding: 20px 0;
  pointer-events: auto !important;
  width: 100%;
}
.section-content-modern.text-center {
  text-align: center;
  align-items: center;
}
.tentang-content-top {
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 0;
}
.tentang-title-top {
  margin-bottom: var(--spacing-lg);
  font-size: 3.5rem;
  margin-top: 0;
}
.cara-bayar-content-top {
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 0;
}
.cara-bayar-title-top {
  margin-bottom: var(--spacing-lg);
  font-size: 3.5rem;
  margin-top: 0;
}
.section-title-modern {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  color: var(--text-primary);
  position: relative;
  z-index: 4;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.section-title-modern .title-main {
  display: block;
  color: var(--text-primary);
  position: relative;
  z-index: 4;
}
.section-title-modern .title-accent {
  display: block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-description-modern {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  line-height: 1.6;
  position: relative;
  z-index: 4;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.section-visual-modern {
  position: relative;
  z-index: 3;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.28);
  height: auto;
  min-height: 300px;
  transition: all var(--transition-normal);
}
.section-visual-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.2);
  border-color: rgba(255, 255, 255, 0.92);
}
.placeholder-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 50%;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}
.placeholder-icon i {
  font-size: 2.5rem;
  color: #c90000;
}
.section-visual-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 var(--spacing-sm) 0;
}
.section-visual-placeholder p {
  font-size: 1rem;
  color: #1f2937;
  margin: 0 0 var(--spacing-lg) 0;
  opacity: 0.95;
}
.tentang-placeholder .placeholder-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  width: 100%;
}
.stat-preview {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: transparent;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.stat-preview i {
  color: #c90000;
  font-size: 1.1rem;
}
.stat-preview span {
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
}
.payment-placeholder .placeholder-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  width: 100%;
}
.payment-method-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm);
  background: transparent;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.payment-method-preview:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}
.payment-method-preview i {
  color: #c90000;
  font-size: 1.3rem;
}
.payment-method-preview span {
  color: #111827;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
}
.section-stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  position: relative;
  z-index: 4;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  opacity: 1 !important;
  visibility: visible !important;
}
.tentang-modern .section-stats .stat-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  min-width: 110px;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tentang-modern .section-stats .stat-number {
  color: #111827 !important;
  text-shadow: none;
}
.tentang-modern .section-stats .stat-label {
  color: #1f2937;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
.payment-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
}
.payment-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
  border-color: rgba(255, 255, 255, 0.92);
}
.cara-bayar-modern .payment-item {
  border-color: rgba(201, 0, 0, 0.72);
}
.cara-bayar-modern .payment-item:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.cara-bayar-modern .section-visual-placeholder.payment-placeholder {
  border-color: rgba(201, 0, 0, 0.72);
}
.cara-bayar-modern .section-visual-placeholder.payment-placeholder:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.cara-bayar-modern .payment-method-preview {
  border-color: rgba(201, 0, 0, 0.72);
}
.cara-bayar-modern .payment-method-preview:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.tentang-modern .section-visual-placeholder.tentang-placeholder {
  border-color: rgba(201, 0, 0, 0.72);
}
.tentang-modern .section-visual-placeholder.tentang-placeholder:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.tentang-modern .stat-preview {
  border-color: rgba(201, 0, 0, 0.72);
}
.tentang-modern .stat-preview:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.tentang-modern .section-stats .stat-item {
  border-color: rgba(201, 0, 0, 0.72);
}
.tentang-modern .section-stats .stat-item:hover {
  border-color: rgba(201, 0, 0, 0.92);
}
.payment-item i {
  font-size: 1.5rem;
  color: #c90000;
}
.payment-item span {
  color: #111827;
  font-weight: 600;
}
.stat-preview:hover,
.payment-method-preview:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  transform: translateY(-2px);
}
.tentang-modern .section-stats .stat-item:hover {
  background: transparent;
  border-color: rgba(201, 0, 0, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
  transform: translateY(-2px);
}
.stat-preview:active,
.payment-method-preview:active,
.tentang-modern .section-stats .stat-item:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}
.tentang-modern .container,
.cara-bayar-modern .container {
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.tentang-modern .row,
.cara-bayar-modern .row {
  position: relative;
  z-index: 3;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  margin: 0;
  display: flex;
  align-items: center;
}
.hero-ultra-modern .col-lg-6,
.tentang-modern .col-lg-6,
.cara-bayar-modern .col-lg-6 {
  position: relative;
  z-index: 3;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  padding: 20px 15px;
}
.hero-ultra-modern .col-lg-6:last-child,
.tentang-modern .col-lg-6:last-child,
.cara-bayar-modern .col-lg-6:last-child {
  align-items: center;
  justify-content: center;
}
.container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title-modern {
    font-size: 3rem;
  }
  .hero-description-modern {
    font-size: 1.15rem;
    max-width: 460px;
    line-height: 1.55;
  }
  .section-title-modern {
    font-size: 3rem;
  }
  .section-description-modern {
    font-size: 1.1rem;
    max-width: 550px;
  }
  .hero-img-modern[src*=".mp4"],
  .hero-img-modern[src*=".webm"],
  .hero-img-modern[src*=".ogg"],
  .hero-img-modern video {
    max-width: 680px;
    max-height: 680px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.85rem;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .hero-stats .stat-item {
    padding: 1rem 1.25rem;
    min-width: 6rem;
  }
  .hero-ultra-modern .col-lg-6,
  .tentang-modern .col-lg-6,
  .cara-bayar-modern .col-lg-6 {
    padding: 18px 12px;
  }
  .container {
    max-width: 960px;
  }
  .hero-content-modern {
    padding: 15px 0;
  }
  .section-content-modern {
    padding: 15px 0;
  }
  .tentang-modern,
  .cara-bayar-modern {
    padding: 60px 0;
  }
  .hero-ultra-modern {
    padding: 35px 0 25px 0;
  }
}
@media (max-width: 768px) {
  .hero-ultra-modern {
    min-height: 100svh;
    padding: 18px 0 14px 0;
  }
  .hero-content-modern {
    min-height: auto;
    padding: 8px 0;
  }
  .hero-title-modern {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-md);
  }
  .hero-description-modern {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    max-width: 100%;
  }
  .hero-visual-modern {
    display: none !important;
  }
  .hero-stats {
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    margin: var(--spacing-md) 0;
    justify-content: center;
  }
  .hero-stats .stat-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.5rem;
  }
  .hero-stats .stat-number,
  .hero-stats .stat-number-unit {
    font-size: 1.3rem;
  }
  .hero-stats .stat-label {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .hero-actions {
    flex-direction: column;
    margin-top: var(--spacing-sm);
  }
}
@media (max-width: 576px) {
  .hero-title-modern { font-size: 2rem; }
  .section-title-modern {
    font-size: 1.75rem;
  }
}
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(220, 38, 38, 0.08);
  overflow: hidden;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--spacing-md, 1rem);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-500, #e10600) transparent;
  background: rgba(220, 38, 38, 0.08);
  color: #e2e8f0;
}
.chat-messages::-webkit-scrollbar {
  width: 8px;
}
.chat-messages::-webkit-scrollbar-track {
  background: rgba(239, 68, 68, 0.05);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary-500, #e10600), var(--color-primary-600, #c90000));
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-600, #c90000);
}
.scrollbar-visible {
  overflow-y: scroll !important;
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}
.message {
  margin-bottom: var(--spacing-md, 1rem);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  max-width: 80%;
  word-wrap: break-word;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(6px);
  animation: chatMessageIn 0.24s ease-out forwards;
}
@keyframes chatMessageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.system {
  background: rgba(255, 255, 255, 0.07);
  margin: 0 auto var(--spacing-md, 1rem) 0;
  color: #f8fafc;
  text-align: left;
  position: relative;
}
.message.user {
  background: rgba(239, 68, 68, 0.2);
  margin-left: auto;
  margin-right: 0;
  color: #ffffff;
  position: relative;
  text-align: right;
}
.message.agent {
  background: rgba(255, 255, 255, 0.09);
  margin-right: auto;
  margin-left: 0;
  color: #f8fafc;
  position: relative;
}
.message-content p {
  margin-bottom: var(--spacing-xs, 0.5rem);
  color: inherit !important;
  line-height: 1.5;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message.system .message-content p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.5;
  margin-bottom: 6px;
}

.message.system .message-content p:first-child {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.message.system .message-content p:last-child {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

.message.agent .message-content p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f8fafc;
  line-height: 1.5;
  margin-bottom: 6px;
}

.message.agent .message-content p:last-child {
  margin-bottom: 0;
}

.message.user .message-content p {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-align: right;
}
.message-content small {
  display: block;
  margin-top: 0.4rem;
  opacity: 0.7;
  color: inherit !important;
}
.message.user .message-content {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
  text-align: right;
}
.message.user .message-content small {
  display: inline-block;
  margin-top: 0;
  margin-left: 0.1rem;
  white-space: nowrap;
}
.chat-input-container {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: var(--spacing-md, 1rem);
  background: rgba(220, 38, 38, 0.08);
  flex-shrink: 0;
}
.glamorphine-input-group {
  display: flex;
  gap: var(--spacing-sm, 0.5rem);
  align-items: center;
}
.chat-input,
.glamorphine-input-group .form-control {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full, 9999px);
  padding: var(--spacing-md, 1rem) var(--spacing-lg, 1.5rem);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  transition: all 0.2s ease;
  font-size: var(--text-sm, 0.875rem);
}

.chat-input:focus,
.glamorphine-input-group .form-control:focus {
  border-color: var(--color-primary-500, #e10600);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  outline: none;
}
.chat-input::placeholder,
.glamorphine-input-group .form-control::placeholder {
  color: #cbd5e1;
}

.glamorphine-input-group .btn,
.glamorphine-input-group .glamorphine-btn-primary,
.chat-input-container .btn-send {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-500, #e10600);
  border: none;
  color: var(--text-inverse, #ffffff);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.glamorphine-input-group .btn:hover,
.glamorphine-input-group .glamorphine-btn-primary:hover,
.chat-input-container .btn-send:hover {
  background: var(--color-primary-600, #c90000);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}
@media (max-width: 768px) {
  .message {
    max-width: 90%;
  }
  #asistenAIModal .chat-container {
    height: 400px;
    min-height: 350px;
  }
  #asistenAIModal .chat-messages {
    max-height: 300px;
  }
  .chat-input,
  .glamorphine-input-group .form-control {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  #asistenAIModal .chat-container {
    height: 350px;
    min-height: 300px;
  }
  #asistenAIModal .chat-messages {
    max-height: 250px;
  }
}
#asistenAIModal .modal-dialog {
  max-width: 500px;
  max-height: 90vh;
}
#asistenAIModal .modal-content {
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-2xl, 1rem);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  padding: 0;
  margin: 0;
}

#asistenAIModal .modal-body {
  padding: 0;
  margin: 0;
  background: rgba(220, 38, 38, 0.08);
}
#asistenAIModal .chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
  min-height: 400px;
  max-height: calc(90vh - 120px);
  background: rgba(220, 38, 38, 0.08);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#asistenAIModal .chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--spacing-md, 1rem);
  max-height: none;
}

#asistenAIModal .chat-input-container {
  margin: 0;
  padding: var(--spacing-sm, 0.75rem) var(--spacing-md, 1rem);
  flex-shrink: 0;
}

#asistenAIModal .message.user,
#asistenAIModal .message.agent,
#asistenAIModal .message.system {
  background: transparent !important;
  background-color: rgba(0, 0, 0, 0) !important;
  border: 1px solid #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#asistenAIModal .typing-indicator.simple,
#asistenAIModal .typing-indicator.simple.enhanced {
  background: transparent !important;
  border: none !important;
  border-left: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0.35rem 0 !important;
}

#asistenAIModal .typing-indicator.simple::before {
  display: none;
}

.glamorphine-modal-title-container {
  text-align: center;
  flex: 1;
}

.glamorphine-modal-title {
  color: var(--text-inverse, #ffffff);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-close.glamorphine-close {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  opacity: 0.9 !important;
  transition: all 0.3s ease;
  position: relative;
  z-index: 11;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  margin: 0 !important;
  filter: brightness(0) invert(1) !important;
}

.btn-close.glamorphine-close::before,
.btn-close.glamorphine-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close.glamorphine-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close.glamorphine-close:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: scale(1.1);
  opacity: 1 !important;
}

.btn-close.glamorphine-close:hover::before,
.btn-close.glamorphine-close:hover::after {
  background-color: rgba(255, 255, 255, 1);
}
.glamorphine-close-glow {
  display: none;
}

.modal-content.glamorphine-modal {
  background: rgba(239, 68, 68, 0.08) !important;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-2xl);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.modal-header.glamorphine-modal-header {
  background: rgba(220, 38, 38, 0.16);
  border-bottom: none;
  padding: var(--spacing-md, 1rem) var(--spacing-lg, 1.5rem);
  color: var(--text-inverse, #ffffff);
  position: relative;
  z-index: 10;
}

.modal-body.glamorphine-modal-body {
  padding: var(--spacing-md, 1rem) var(--spacing-lg, 1.5rem);
  background: rgba(220, 38, 38, 0.1) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff !important;
}

#registrationModal .modal-content {
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
}
#registrationModal .glamorphine-modal-body {
  overflow: auto;
  padding-top: 0.75rem;
}
#registrationModal .ktp-ocr-status {
  margin-top: 6px;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.34);
  color: #ffffff !important;
  font-size: 0.74rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#registrationModal .ktp-ocr-status i {
  font-size: 0.78rem;
  color: #f8fafc;
}
#registrationModal .ktp-ocr-status.is-checking {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(161, 98, 7, 0.24);
}
#registrationModal .ktp-ocr-status.is-valid {
  border-color: rgba(134, 239, 172, 0.55);
  background: rgba(20, 83, 45, 0.24);
}
#registrationModal .ktp-ocr-status.is-invalid {
  border-color: rgba(252, 165, 165, 0.58);
  background: rgba(127, 29, 29, 0.28);
}
#registrationModal .ktp-ocr-status.is-stale {
  border-color: rgba(226, 232, 240, 0.34);
  background: rgba(51, 65, 85, 0.28);
}
#registrationModal #l_ktp_wp.is-valid {
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px 14px;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2310b981' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-6.1 6.1a.75.75 0 0 1-1.06 0L2.22 6.97a.75.75 0 1 1 1.06-1.06l3.87 3.87 5.57-5.56a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E");
}
#registrationModal #l_ktp_wp.is-invalid {
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px 14px;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ef4444' d='M3.22 3.22a.75.75 0 0 1 1.06 0L8 6.94l3.72-3.72a.75.75 0 1 1 1.06 1.06L9.06 8l3.72 3.72a.75.75 0 1 1-1.06 1.06L8 9.06l-3.72 3.72a.75.75 0 1 1-1.06-1.06L6.94 8 3.22 4.28a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
}
.form-progress {
  margin-bottom: 2rem;
}
#registrationModal .form-progress {
  position: sticky;
  top: 0;
  z-index: 5;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
}
#registrationModal .form-section {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
#registrationModal .glamorphine-form-group {
  margin-bottom: 0.5rem;
}
#registrationModal .glamorphine-label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
#registrationModal .form-text {
  font-size: 0.75rem;
}
#registrationModal .glamorphine-input,
#registrationModal .glamorphine-textarea,
#registrationModal .glamorphine-select {
  font-size: 0.9rem;
  padding: 0.45rem 0.6rem;
}
#registrationModal hr {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  opacity: 0.35;
}
.progress-steps {
  position: relative;
  padding: 0 1rem;
  list-style: none;
  margin: 0;
}
.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.16);
  position: relative;
}
.step-item.active .step-number {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-color: rgba(254, 202, 202, 0.8);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}
.step-item.completed .step-number {
  background: #22c55e;
  color: #ffffff;
  border-color: #22c55e;
  font-size: 0;
}
.step-item.completed .step-number::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.step-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: color 0.3s ease;
}
.step-item.active .step-label {
  color: #fecaca;
  font-weight: 600;
}
.form-step {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.form-step.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-chat {
  max-width: 500px;
}
@media (max-width: 576px) {
  .progress-steps {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center !important;
    padding: 0;
  }
  .step-label {
    display: none;
  }
  .step-number {
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    font-size: 0.85rem;
  }
}
.modal.show[aria-hidden="true"],
.modal.show[aria-hidden="true"] * {
  pointer-events: none;
}
.modal.show:not([aria-hidden="true"]) {
  pointer-events: auto;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

#asistenAIModal .modal-body.glamorphine-modal-body {
  padding: 0;
  margin: 0;
  background: transparent;
}
.form-section.glamorphine-section {
  margin-bottom: var(--spacing-md, 1rem);
  padding: var(--spacing-md, 1rem);
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}
.form-section.glamorphine-section:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(30, 27, 75, 0.24);
}
.glamorphine-section-title,
.form-section.glamorphine-section .glamorphine-section-title,
.glamorphine-modal-body .form-section .glamorphine-section-title,
.section-title.glamorphine-section-title {
  color: #f8fafc !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md, 1rem);
  padding-bottom: var(--spacing-xs, 0.5rem);
  border-bottom: 2px solid rgba(254, 202, 202, 0.35);
  display: flex;
  align-items: center;
}
.glamorphine-section-title i,
.form-section.glamorphine-section .glamorphine-section-title i,
.glamorphine-modal-body .form-section .glamorphine-section-title i,
.section-title.glamorphine-section-title i {
  margin-right: var(--spacing-sm);
  font-size: 1.2rem;
  color: #fecaca !important;
}
.form-group.glamorphine-form-group {
  margin-bottom: var(--spacing-md, 1rem);
  position: relative;
}
.glamorphine-input,
.glamorphine-select,
.glamorphine-textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: #fff1f2 !important;
  padding: var(--spacing-md);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.2);
}
.glamorphine-input::placeholder,
.glamorphine-textarea::placeholder {
  color: rgba(226, 232, 240, 0.72);
  font-style: italic;
}
.glamorphine-label,
.form-section.glamorphine-section .glamorphine-label,
.form-section.glamorphine-section .form-label,
.glamorphine-modal-body .form-section .glamorphine-label,
.glamorphine-modal-body .form-section .form-label {
  color: #e2e8f0 !important;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}
.glamorphine-label i,
.form-section.glamorphine-section .glamorphine-label i,
.form-section.glamorphine-section .form-label i,
.glamorphine-modal-body .form-section .glamorphine-label i,
.glamorphine-modal-body .form-section .form-label i {
  margin-right: var(--spacing-xs);
  color: #fecaca !important;
  font-size: 1rem;
}
#registrationModal select.glamorphine-input,
#registrationModal .glamorphine-select {
  color-scheme: dark;
}
#registrationModal select.glamorphine-input option,
.glamorphine-select option {
  background: rgba(30, 41, 59, 0.98);
  color: #fff1f2 !important;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  font-size: 0.95rem;
}
#registrationModal select.glamorphine-input option:hover,
.glamorphine-select option:hover {
  background: rgba(239, 68, 68, 0.3);
  color: var(--white);
}
#registrationModal select.glamorphine-input option:checked,
.glamorphine-select option:checked {
  background: rgba(239, 68, 68, 0.5);
  color: var(--white);
  font-weight: 600;
}
#registrationModal select.glamorphine-input option:disabled,
.glamorphine-select option:disabled {
  background: rgba(51, 65, 85, 0.9);
  color: rgba(226, 232, 240, 0.6) !important;
}
.glamorphine-select {
  padding-right: var(--spacing-md);
}
.glamorphine-input:focus,
.glamorphine-select:focus,
.glamorphine-textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(199, 210, 254, 0.6);
  box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.22), inset 0 1px 2px rgba(15, 23, 42, 0.2);
  outline: none;
  transform: translateY(-1px);
  color: #ffffff !important;
}
.glamorphine-input-glow,
.glamorphine-select-glow,
.glamorphine-textarea-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.glamorphine-input:focus ~ .glamorphine-input-glow,
.glamorphine-select:focus ~ .glamorphine-select-glow,
.glamorphine-textarea:focus ~ .glamorphine-textarea-glow {
  opacity: 1;
}
.glamorphine-check {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(239, 68, 68, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glamorphine-check-input {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(239, 68, 68, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.glamorphine-check-input:hover {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(255, 255, 255, 1);
}
.glamorphine-check-input:checked {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}
.glamorphine-check-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.glamorphine-check-label {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}
.glamorphine-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.glamorphine-link:hover {
  color: #dc2626;
  text-decoration: underline;
}
.modal-footer.glamorphine-modal-footer {
  background: rgba(220, 38, 38, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: var(--spacing-sm, 0.75rem) var(--spacing-lg, 1.5rem);
  gap: var(--spacing-sm, 0.75rem);
  color: #ffffff !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.glamorphine-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #e2e8f0;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.glamorphine-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}
.glamorphine-btn-primary {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.68), rgba(220, 38, 38, 0.64));
  border: 1px solid rgba(254, 202, 202, 0.5);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.glamorphine-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}
.glamorphine-btn-primary:hover::before {
  left: 100%;
}
.glamorphine-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.4);
  border-color: rgba(254, 202, 202, 0.8);
}
.glamorphine-btn-primary:active {
  transform: translateY(0);
}
.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-loading.d-none {
  display: none !important;
}
.invalid-feedback.glamorphine-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid #ef4444;
}
@media (max-width: 768px) {
  .modal-dialog.glamorphine-modal {
    margin: 1rem;
  }
  .modal-body.glamorphine-modal-body {
    padding: var(--spacing-lg);
  }
  .form-section.glamorphine-section {
    padding: var(--spacing-md);
  }
  .glamorphine-section-title {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .modal-body.glamorphine-modal-body {
    padding: var(--spacing-md);
  }
  .form-section.glamorphine-section {
    padding: var(--spacing-sm);
  }
  .glamorphine-modal-title {
    font-size: 1.1rem;
  }
}
.glamorphine-input.is-valid,
.glamorphine-select.is-valid,
.glamorphine-textarea.is-valid {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  color: #ffffff !important;
}
.glamorphine-input.is-invalid,
.glamorphine-select.is-invalid,
.glamorphine-textarea.is-invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
  color: #ffffff !important;
}
.glamorphine-input.is-invalid::placeholder,
.glamorphine-textarea.is-invalid::placeholder {
  color: rgba(248, 113, 113, 0.95) !important;
}
.glamorphine-input.is-valid::before,
.glamorphine-select.is-valid::before,
.glamorphine-textarea.is-valid::before {
  content: '\2713';
  position: absolute;
  right: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}
.glamorphine-input.is-invalid::before,
.glamorphine-select.is-invalid::before,
.glamorphine-textarea.is-invalid::before {
  content: '\2717';
  position: absolute;
  right: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  color: #ef4444;
  font-weight: bold;
  font-size: 1.2rem;
}
#tanggal_lahir.is-valid::before,
#tanggal_lahir.is-invalid::before {
  content: none !important;
  display: none !important;
}
.form-group.glamorphine-form-group.focused .glamorphine-input-glow,
.form-group.glamorphine-form-group.focused .glamorphine-select-glow,
.form-group.glamorphine-form-group.focused .glamorphine-textarea-glow {
  opacity: 1;
}
.glamorphine-login-submit {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: #dc2626 !important;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
.glamorphine-login-submit:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  color: #dc2626 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}
.glamorphine-login-submit:active {
  transform: translateY(0);
}
.glamorphine-login-submit-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.glamorphine-login-submit:hover .glamorphine-login-submit-glow {
  transform: translateX(100%);
}
.glamorphine-login-submit-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}
.glamorphine-login-submit:active .glamorphine-login-submit-ripple {
  width: 400px;
  height: 400px;
}
.glamorphine-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-toast);
  min-width: 300px;
  max-width: 400px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glamorphine-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.glamorphine-toast-success {
  border-left: 4px solid var(--color-success);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), var(--glass-bg));
}
.glamorphine-toast-error {
  border-left: 4px solid var(--color-danger);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), var(--glass-bg));
}
.glamorphine-toast-warning {
  border-left: 4px solid var(--color-warning);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), var(--glass-bg));
}
.glamorphine-toast-info {
  border-left: 4px solid var(--color-info);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), var(--glass-bg));
}
.toast-body {
  display: flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 500;
}
.toast-body i {
  font-size: 1.2rem;
  margin-right: var(--spacing-sm);
}
.glamorphine-toast-success .toast-body i {
  color: var(--color-success);
}
.glamorphine-toast-error .toast-body i {
  color: var(--color-danger);
}
.glamorphine-toast-warning .toast-body i {
  color: var(--color-warning);
}
.glamorphine-toast-info .toast-body i {
  color: var(--color-info);
}
:root {
    --login-bg-overlay: rgba(255, 255, 255, 0.95);
    --login-bg-overlay-hover: rgba(255, 255, 255, 1);
    --login-bg-feature: rgba(239, 68, 68, 0.25);
    --login-bg-feature-hover: rgba(239, 68, 68, 0.35);
    --login-border-primary: rgba(239, 68, 68, 0.3);
    --login-border-secondary: rgba(239, 68, 68, 0.2);
    --login-border-hover: rgba(239, 68, 68, 0.5);
    --login-border-focus: #ef4444;
    --login-text-primary: #1a1a1a;
    --login-text-secondary: #424242;
    --login-text-muted: rgba(0, 0, 0, 0.7);
    --login-text-muted-focus: rgba(0, 0, 0, 0.5);
    --login-accent-primary: #ef4444;
    --login-accent-secondary: #dc2626;
    --login-accent-danger: #ef4444;
    --login-spacing-xs: 0.5rem;
    --login-spacing-sm: 0.75rem;
    --login-spacing-md: 1rem;
    --login-spacing-lg: 1.5rem;
    --login-spacing-xl: 2rem;
    --login-radius-sm: 6px;
    --login-radius-md: 10px;
    --login-radius-lg: 12px;
    --login-radius-xl: 16px;
    --login-radius-2xl: 20px;
    --login-shadow-md: 0 4px 15px rgba(239, 68, 68, 0.3);
    --login-shadow-lg: 0 8px 25px rgba(239, 68, 68, 0.6);
    --login-transition-fast: 0.3s ease;
    --login-font-size-sm: 0.85rem;
    --login-font-size-base: 1rem;
    --login-font-size-lg: 1.1rem;
    --login-font-size-xl: 1.2rem;
}
.login-modal-content {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--login-radius-2xl);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    overflow: hidden;
}
.login-modal-body {
    padding: var(--login-spacing-md, 1rem) var(--login-spacing-lg, 1.5rem);
    background: rgba(220, 38, 38, 0.1) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    color: #ffffff !important;
}
.login-form-container {
    padding-right: var(--login-spacing-md);
}
.login-form-container h4 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.login-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--login-radius-lg);
    color: #ffffff;
    font-size: var(--login-font-size-base);
    padding: 0.875rem var(--login-spacing-md);
    transition: var(--login-transition-fast);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    width: 100%;
}
.login-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.28);
    color: #ffffff;
    outline: none;
}
.login-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
}
.login-input::placeholder {
    color: rgba(226, 232, 240, 0.82);
}
.login-input:focus::placeholder {
    color: rgba(226, 232, 240, 0.62);
}
.password-input-group {
    position: relative;
}
.password-toggle {
    position: absolute;
    right: var(--login-spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--login-text-muted);
    background: none;
    border: none;
    padding: 0;
    font-size: var(--login-font-size-lg);
    transition: color var(--login-transition-fast);
    cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus {
    color: var(--login-accent-primary);
    outline: none;
}
.login-form-container .form-label {
    font-weight: 600;
    margin-bottom: var(--login-spacing-xs);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
}
.login-form-container .form-check-input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--login-radius-sm);
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}
.login-form-container .form-check-input:checked {
    background-color: var(--login-accent-primary);
    border-color: var(--login-accent-primary);
}
.login-form-container .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
.login-form-container .form-check-label {
    font-weight: 500;
    cursor: pointer;
    color: #ffffff !important;
}
.login-form-container .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-form-container .btn-text,
.login-form-container .btn-loading,
.login-form-container .btn-success,
.login-form-container .btn-error {
    transition: opacity var(--login-transition-fast);
}
.login-info-container {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--login-radius-xl);
    padding: var(--login-spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}
.feature-item {
    display: flex;
    align-items: center;
    padding: var(--login-spacing-sm);
    border-radius: var(--login-radius-lg);
    transition: var(--login-transition-fast);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--login-spacing-xs);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 8px 18px rgba(30, 27, 75, 0.22);
}
.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--login-radius-md);
    margin-right: var(--login-spacing-md);
    font-size: var(--login-font-size-xl);
    transition: var(--login-transition-fast);
}
.feature-item:hover .feature-icon {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    transform: scale(1.1);
}
.feature-text h6 {
    font-weight: 600;
    margin-bottom: var(--login-spacing-xs);
    color: var(--login-text-primary);
}
.feature-text small {
    font-size: var(--login-font-size-sm);
    opacity: 0.8;
    color: var(--login-text-secondary);
}
.login-form-container .is-invalid {
    border-color: var(--login-accent-danger) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}
.login-form-container .invalid-feedback {
    display: block;
    color: var(--login-accent-danger);
    font-size: var(--login-font-size-sm);
    margin-top: var(--login-spacing-xs);
}
@media (max-width: 991.98px) {
    .login-modal-content {
        margin: var(--login-spacing-md);
    }
    .login-modal-body {
        padding: var(--login-spacing-lg);
    }
    .login-form-container {
        padding-right: 0;
        margin-bottom: var(--login-spacing-xl);
    }
    .login-info-container {
        margin-top: var(--login-spacing-md);
    }
}
@media (max-width: 575.98px) {
    .login-modal-content .modal-dialog {
        margin: var(--login-spacing-xs);
    }
    .login-modal-body {
        padding: var(--login-spacing-md);
    }
    .feature-item {
        padding: var(--login-spacing-xs);
    }
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: var(--login-font-size-base);
    }
}
.login-input:focus,
.password-toggle:focus {
    outline: none;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.dashboard-container {
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(180deg, #e10600 0%, #ffffff 50%, #e10600 100%) !important;
    position: relative;
    padding-top: 130px;
}
.dashboard-container .container {
    padding-top: 0.5rem;
}
body.modern-body:has(.dashboard-container),
body:has(.dashboard-container),
main:has(.dashboard-container),
#main-content:has(.dashboard-container) {
    background: linear-gradient(180deg, #e10600 0%, #ffffff 50%, #e10600 100%) !important;
}
.stat-card-enhanced {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    margin-top: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.stat-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.3) !important;
}
.stat-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.stat-card-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}
.stat-card-content {
    flex: 1;
}
.stat-card-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary) !important;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}
.stat-card-label {
    color: var(--text-primary) !important;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
}
.stat-card-subtitle {
    color: var(--text-secondary) !important;
    font-size: 0.85rem;
    margin: 0;
}
.stat-card-primary {
    border-left: 4px solid #c90000;
}
.stat-card-warning {
    border-left: 4px solid #c90000;
}
.stat-card-success {
    border-left: 4px solid #c90000;
}
.stat-card-info {
    border-left: 4px solid #c90000;
}
.stat-card-secondary {
    border-left: 4px solid #c90000;
}
.chart-card,
.data-card {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0.75rem;
    margin-bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.chart-card.card {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
}
.data-card-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.data-card-header h5 {
    color: var(--text-primary) !important;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}
.data-card-body {
    padding-top: 0.5rem;
}
.data-card-body .table-responsive {
    margin: 0;
}
.chart-mini-card {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px;
    min-height: 100px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.chart-mini-card canvas {
    max-height: 80px !important;
    width: 100% !important;
}
.dashboard-container .card {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.dashboard-container .card-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--text-primary) !important;
    padding: 1rem 1.5rem;
}
.dashboard-container .card-header .card-title {
    color: var(--text-primary) !important;
    font-weight: 600;
}
.dashboard-container .card-body {
    background: transparent !important;
    color: var(--text-primary) !important;
    padding: 1.5rem;
}
.dashboard-container .table {
    background: transparent !important;
    color: var(--text-primary) !important;
    margin-bottom: 0;
}
.dashboard-container .table thead th {
    background: transparent !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}
.dashboard-container .table tbody tr,
.dashboard-container .table tbody tr:hover,
.dashboard-container .table-striped tbody tr:nth-of-type(odd),
.dashboard-container .table-striped tbody tr:nth-of-type(even) {
    background: transparent !important;
    color: var(--text-primary) !important;
}
.dashboard-container .table tbody td {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--text-primary) !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
}
.dashboard-container .alert-warning {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #111827 !important;
    font-weight: 500;
}
.dashboard-container .alert-success {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #111827 !important;
    font-weight: 500;
}
.dashboard-container .alert-info {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #111827 !important;
    font-weight: 500;
}
.dashboard-container p.text-muted.mb-0 {
    color: #111827 !important;
}
.dashboard-container .text-white {
    color: #111827 !important;
}
.dashboard-container .text-primary,
.dashboard-container .text-info,
.dashboard-container .text-success,
.dashboard-container .text-warning,
.dashboard-container .text-secondary,
.dashboard-container .text-danger {
    color: #ffffff !important;
}
.dashboard-container .badge,
.dashboard-container .status-badge {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-weight: 600;
    padding: 0 !important;
    border-radius: 0 !important;
    line-height: 1.2;
}
.dashboard-container .status-excellent,
.dashboard-container .status-good,
.dashboard-container .status-fair,
.dashboard-container .status-poor,
.dashboard-container .status-normal {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.dashboard-container .pagination {
    gap: 0.25rem;
}
.dashboard-container .pagination .page-link {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    border-radius: 0.45rem !important;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: none !important;
    transition: all 0.2s ease;
}
.dashboard-container .pagination .page-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}
.dashboard-container .pagination .page-item.active .page-link {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
    color: #c90000 !important;
}
.dashboard-container .pagination .page-item.disabled .page-link {
    opacity: 0.45;
    pointer-events: none;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.72) !important;
}
.dashboard-container .row.g-4 {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
}
.dashboard-container .row.g-4 > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}
.dashboard-container .row.mb-4 {
    margin-bottom: 0.5rem !important;
}
.dashboard-container .container > .row:first-child {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}
.dashboard-container .stat-card-enhanced,
.dashboard-container .chart-card,
.dashboard-container .data-card,
.dashboard-container .card {
    margin-bottom: 0 !important;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .dashboard-container .container {
        padding-top: 1.25rem;
        max-width: 960px;
    }
}
@media (max-width: 768px) {
    .dashboard-container {
        padding-top: 110px;
    }
    .dashboard-container .container {
        padding-top: 0.5rem;
    }
}
:root {
  --typing-bg-dark: rgba(239, 68, 68, 0.1);
  --typing-bg-dark-secondary: rgba(220, 38, 38, 0.16);
  --typing-border-primary: var(--color-primary-500, #e10600);
  --typing-border-dark: rgba(255, 255, 255, 0.18);
  --typing-text-dark: #e2e8f0;
  --typing-cursor-color: var(--color-primary-500, #e10600);
  --typing-cursor-color-dark: var(--color-primary-400, #f87171);
  --typing-spacing-xs: 8px;
  --typing-spacing-sm: 10px;
  --typing-spacing-md: 12px;
  --typing-radius-md: 14px;
  --typing-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --typing-transition-normal: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --typing-font-family: var(--font-family-sans, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  --typing-font-size-sm: 13px;
  --typing-font-size-base: 14px;
  --typing-font-size-lg: 15px;
  --typing-line-height: 20px;
}
.typing-indicator.simple {
  display: flex;
  align-items: center;
  margin: var(--typing-spacing-sm, 10px) 0;
  padding: 14px 16px;
  background: rgba(239, 68, 68, 0.1);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--typing-border-primary);
  border-radius: 14px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: all var(--typing-transition-normal);
  max-width: 80%;
  will-change: opacity, transform;
  position: relative;
  overflow: hidden;
}
.typing-indicator.simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 210, 254, 0.24), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}
.typing-indicator.simple.active::before {
  left: 100%;
}
.typing-indicator.simple.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: typingSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes typingSlideIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  60% {
    transform: translateY(-2px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.typing-indicator.simple.hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.typing-indicator.simple.enhanced {
  background: rgba(239, 68, 68, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--typing-border-primary);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
  padding: 16px 18px;
  border-radius: 14px;
}
.typing-indicator.simple.enhanced .typing-content {
  gap: var(--typing-spacing-sm);
}
.typing-indicator.simple.enhanced .typing-text {
  font-size: var(--typing-font-size-lg);
  font-weight: 600;
}
.typing-content {
  display: flex;
  align-items: center;
  gap: var(--typing-spacing-xs, 8px);
  font-family: var(--typing-font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: var(--typing-font-size-base, 14px);
  color: #f8fafc;
  width: 100%;
  font-weight: 500;
}
.typing-message {
  display: flex;
  align-items: center;
  gap: var(--typing-spacing-xs);
}
.typing-text {
  min-height: var(--typing-line-height);
  line-height: var(--typing-line-height);
  font-weight: 500;
  transition: opacity var(--typing-transition), color var(--typing-transition), transform var(--typing-transition);
  will-change: opacity, color, transform;
  letter-spacing: 0.01em;
  position: relative;
}
.typing-cursor {
  font-weight: 700;
  color: var(--typing-cursor-color, #ef4444);
  animation: typingBlink 1s ease-in-out infinite;
  will-change: opacity;
  font-size: 1.15em;
  margin-left: 2px;
  text-shadow: 0 0 6px rgba(199, 210, 254, 0.45);
}
@keyframes typingBlink {
  0%, 45% { 
    opacity: 1; 
    transform: scale(1);
  }
  50%, 95% { 
    opacity: 0.3; 
    transform: scale(0.95);
  }
  100% { 
    opacity: 1; 
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .typing-indicator.simple {
    max-width: 90%;
    padding: var(--typing-spacing-sm) var(--typing-spacing-md);
    font-size: var(--typing-font-size-sm);
  }
  .typing-indicator.simple.enhanced {
    padding: var(--typing-spacing-md);
    border-radius: var(--typing-radius-md);
  }
  .typing-content {
    font-size: var(--typing-font-size-sm);
  }
  .typing-indicator.simple.enhanced .typing-text {
    font-size: var(--typing-font-size-base);
  }
}
@media (prefers-color-scheme: dark) {
  .typing-indicator.simple {
    background: var(--typing-bg-dark);
    color: var(--typing-text-dark);
    border-left-color: var(--typing-cursor-color-dark);
  }
  .typing-indicator.simple.enhanced {
    background: linear-gradient(135deg, var(--typing-bg-dark) 0%, var(--typing-bg-dark-secondary) 100%);
    border-color: var(--typing-border-dark);
  }
  .typing-content,
  .typing-text {
    color: var(--typing-text-dark);
  }
  .typing-cursor {
    color: var(--typing-cursor-color-dark);
  }
}
@media print {
  .typing-indicator.simple { display: none; }
}

/* Dashboard: table & rank (shared analisis, wilayah, statistik) */
.dashboard-container .table-container {
  position: relative;
  overflow: hidden;
}
.dashboard-container .table-header thead th {
  position: sticky;
  top: 0;
  z-index: 10;
}
.dashboard-container .table-scroll-container {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.dashboard-container .table-data tbody tr,
.dashboard-container .table tbody tr {
  transition: all 0.3s ease;
}
.dashboard-container .table-data tbody td,
.dashboard-container .table tbody td {
  padding: 8px 12px;
  vertical-align: middle;
}
.dashboard-container .rank-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #fff;
  background: #6c757d;
}
.dashboard-container .rank-badge.rank-1,
.dashboard-container .rank-badge.rank-2,
.dashboard-container .rank-badge.rank-3,
.dashboard-container .rank-badge.rank-4,
.dashboard-container .rank-badge.rank-5 {
  width: 32px; height: 32px; font-size: 0.9rem;
}
.dashboard-container .rank-badge.rank-1 { background: #ffd700; }
.dashboard-container .rank-badge.rank-2 { background: #c0c0c0; }
.dashboard-container .rank-badge.rank-3 { background: #cd7f32; }
.dashboard-container .rank-badge.rank-4,
.dashboard-container .rank-badge.rank-5 { background: #6c757d; }
.dashboard-container .table-container .status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}
.dashboard-container .table-container .status-excellent { background: #28a745; color: #fff; }
.dashboard-container .table-container .status-good { background: #17a2b8; color: #fff; }
.dashboard-container .table-container .status-fair { background: #f59e0b; color: #0f172a; }
.dashboard-container .table-container .status-poor { background: #dc3545; color: #fff; }
.dashboard-container .table-container .status-normal { background: #17a2b8; color: #fff; }
@keyframes dashboardFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dashboard-container .table-data tbody tr {
  animation: dashboardFadeIn 0.3s ease-in-out;
}
.dashboard-container h5.mb-3 { margin-bottom: 1rem !important; }

/* Dashboard index: chart cards */
.dashboard-container .chart-mini-card {
  min-height: 300px !important;
}
.dashboard-container .chart-mini-card canvas {
  max-height: 250px !important;
  height: 250px !important;
}
.dashboard-container .chart-mini-card + .chart-mini-card canvas,
.dashboard-container canvas {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Dashboard trend: badges & insights */
.dashboard-container .table-responsive { max-height: 400px; overflow: hidden; }
.dashboard-container .table thead th { position: sticky; top: 0; z-index: 10; }
.dashboard-container .trend-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc !important;
}
.dashboard-container .trend-badge-default { background: rgba(255, 255, 255, 0.08) !important; }
.dashboard-container .trend-badge-partial { background: rgba(251, 191, 36, 0.22) !important; }
.dashboard-container .insight-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.dashboard-container .trend-insight-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.dashboard-container .insight-content h6 { color: #f8fafc !important; }
.dashboard-container .insight-content p { color: #e2e8f0 !important; }
.dashboard-container .trend-empty-state {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Dashboard wilayah: top wilayah scroll */
.dashboard-container .top-wilayah-container { height: 300px; overflow: hidden; position: relative; }
.dashboard-container .top-wilayah-wrapper { animation: scrollTopWilayah 25s linear infinite; animation-play-state: running; }
.dashboard-container .top-wilayah-wrapper:hover { animation-play-state: paused; }
@keyframes scrollTopWilayah { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
.dashboard-container .top-wilayah-item {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease;
}
.dashboard-container .top-wilayah-item:hover { background: rgba(255, 255, 255, 0.08) !important; border-radius: 8px; }
.dashboard-container .wilayah-content { flex: 1; }
.dashboard-container .wilayah-status { text-align: right; }
.dashboard-container .table-hover tbody tr:hover { background: rgba(255, 255, 255, 0.08) !important; }
@media (max-width: 768px) {
  .dashboard-container .table-scroll-container { height: 250px; }
  .dashboard-container .top-wilayah-item { flex-direction: column; text-align: center; }
  .dashboard-container .wilayah-status { text-align: center; }
}
