/* ─── Header ─────────────────────────────────────────────────────────────────── */
:root {
  /* --header-nav-height: 132px; */
  --header-nav-content-height: 62px;
  --header-section-radius: 48px;
}

.app-header {
  /* height: var(--header-nav-height); */
  padding-left: 36px;
  padding-right: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  z-index: 100;
}

/* Backdrop */
.header-nav-background {
  position: absolute;
  top: -24px;
  left: -24px;
  right: -24px;
  height: calc(100% + 24px);
  background: transparent;
  pointer-events: none;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  padding-top: 24px;
  justify-content: center;
}

.header-logo:hover {
  opacity: 0.8;
}

.logo-image {
  height: var(--header-nav-content-height);
  width: auto;
  object-fit: contain;
}

.header-section-background {
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 32px;
  border-top-left-radius: var(--header-section-radius);
  border-top-right-radius: var(--header-section-radius);
  display: flex;
}

/* Nav pills */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  backdrop-filter: var(--blur-strong);
  border-radius: 100px;
  position: relative;
  overflow: visible;
  height: var(--header-nav-content-height);
}

.nav-item {
  position: static;
}

.nav-pill {
  padding: 12px 24px;
  border: none;
  border-radius: 100px;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  outline: none;
  position: relative;
}

.nav-pill:hover {
  background: #bae0ff;
  color: #111827;
}

.nav-pill.active-hover {
  background: #bae0ff;
  color: #111827;
}

.nav-pill.active:hover {
  background: #bae0ff;
  color: #111827;
}

.nav-pill.active {
  background: #1f3a93;
  color: #ffffff;
}

.nav-pill:active {
  transform: scale(0.98);
}

.nav-dropdown-icon {
  font-size: 16px;
  margin-left: 4px;
}

/* Nav dropdown menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  right: -24px;
  backdrop-filter: var(--blur-strong);
  border-bottom-left-radius: var(--header-section-radius);
  border-bottom-right-radius: var(--header-section-radius);
  z-index: 1000;
  padding: 16px;
  animation: slideDown 0.2s ease;
  pointer-events: auto;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.nav-dropdown-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-dropdown-item:hover {
  background: #f9fafb;
  border-color: #e5e7eb;
}

.nav-dropdown-icon-wrapper {
  font-size: 24px;
  flex-shrink: 0;
}

.nav-dropdown-icon-wrapper img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.nav-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
  padding-top: 32px;
}

.action-btn {
  width: var(--header-nav-content-height) !important;
  height: var(--header-nav-content-height) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  min-width: auto !important;
}

.action-btn:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
  width: var(--header-nav-content-height);
  height: var(--header-nav-content-height);
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-toggle {
  margin: 0 4px;
}

.theme-toggle .ant-switch {
  min-width: 44px;
}

/* User menu button */
.user-btn {
  height: var(--header-nav-content-height);
  padding: 12px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  outline: none;
}

.user-btn:active {
  transform: scale(0.98);
}

.user-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 392px;
}

/* ─── User dropdown info (tablet/mobile only) ─────────────────────────────── */
.user-dropdown-info {
  padding: 2px 0;
  min-width: 160px;
}

.user-dropdown-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.user-dropdown-enterprise {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* ─── Enterprise switcher (user dropdown submenu) ─────────────────────────── */
.enterprise-switch-popup .ant-dropdown-menu {
  max-height: 320px;
  overflow-y: auto;
}

.enterprise-switch-item {
  min-width: 180px;
  max-width: 260px;
}

/* ─── Hamburger (mobile/tablet only) ──────────────────────────────────────── */
.header-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  color: #374151;
  padding-top: 32px;
  transition: background 0.2s ease;
}

.header-hamburger:hover {
  background: rgba(0, 0, 0, 0.06);
}

.header-hamburger:focus-visible {
  outline: 2px solid #1f3a93;
  outline-offset: 2px;
}

/* ─── Responsive: mobile + tablet (< 992px) ───────────────────────────────── */
@media (max-width: 991px) {
  .app-header {
    height: 80px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 8px;
  }

  .header-hamburger {
    display: flex;
    padding-top: 0;
    width: 40px;
    height: 40px;
  }

  .header-section-background {
    display: none;
  }

  .header-logo {
    padding-top: 8px;
  }

  .logo-image {
    height: 36px;
  }

  .header-actions {
    padding-top: 8px;
    gap: 8px;
  }

  .action-btn {
    width: 60px !important;
    height: 60px !important;
  }

  .lang-btn {
    width: 60px;
    height: 60px;
    font-size: 13px;
    gap: 2px;
  }

  /* ซ่อน DownOutlined ใน lang-btn เท่านั้น (user-btn ยังแสดงเหมือน desktop) */
  .lang-btn .anticon-down {
    display: none;
  }

  .user-btn {
    height: 60px;
    padding: 6px 12px;
    border-radius: 100px;
    justify-content: flex-start;
  }

  .user-info {
    max-width: 110px;
  }
}

/* ─── Mobile only (< 576px): ซ่อน header-actions ทั้งหมด ─────────────────── */
@media (max-width: 575px) {
  .action-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .lang-btn {
    width: 32px;
    height: 32px;
    gap: 2px;
  }

  .user-info {
    display: none;
  }

  .user-btn {
    display: none;
  }
}
/* Selected item background and text color */
.app-sub-menu-antd .ant-menu-item-selected {
  background-color: #e6f4ff !important;
  color: var(--ant-color-primary) !important;
  font-weight: 400 !important;
}

/* For inline menu selected state */
.app-sub-menu-antd .ant-menu-item.ant-menu-item-selected {
  background-color: #e6f4ff !important;
  color: var(--ant-color-primary) !important;
}

/* Selected border indicator */
.app-sub-menu-antd .ant-menu-item-selected::after {
  border-right-color: var(--ant-color-primary) !important;
}

/* Hover state doesn't override selected background */
.app-sub-menu-antd .ant-menu-item-selected:hover {
  background-color: #e6f4ff !important;
}

/* Leaf label เป็น <a> จริง — ให้เต็มความกว้างแถวและใช้สีเดิมของ menu item */
.app-sub-menu-antd .ant-menu-title-content > .app-sub-menu-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.app-sub-menu-antd .ant-menu-title-content > .app-sub-menu-link:hover {
  color: inherit;
}
/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --app-sidebar-expanded-width: 240px;
  --app-sidebar-collapsed-width: 62px;
  --app-sidebar-bg: hsla(0, 0%, 100%, 0.6);
  --app-sidebar-radius: 24px;
  --app-header-height: 132px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Root layout ────────────────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  flex-direction: column;
  /* min-height: 100vh; */
  height: 100%;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

/* ─── Body ───────────────────────────────────────────────────────────────────── */
.app-body {
  display: flex;
  flex: 1;
  min-height: 0;
  /* max-height: calc(100vh - var(--app-header-height)); */
  padding: 24px 32px 32px 32px;
  gap: 24px;
  overflow: hidden;
}

/* ─── Sidebar ────────────────────────────────────────────────────────────────── */
.app-sidebar {
  background: var(--app-sidebar-bg);
  border-radius: var(--app-sidebar-radius);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  transition: width var(--transition);
  /* Stretch to fill available space */
  align-self: stretch;
  min-height: 0;
}

.app-sidebar-expanded {
  width: var(--app-sidebar-expanded-width);
}

.app-sidebar-collapsed {
  width: var(--app-sidebar-collapsed-width);
}

/* Toggle row */
.app-sidebar-toggle {
  height: 56px;
  /* height = 24px + 32px */
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition);
  background: none;
  border: none;
  outline: none;
}

/* .app-sidebar-toggle:hover {
  color: var(--nav-pill-active);
} */

/* Nav */
.app-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 8px;
  scrollbar-width: none;
  min-height: 0;
}

.app-sidebar-nav::-webkit-scrollbar {
  display: none;
}

/* ─── Section ─────────────────────────────────────────────────────────────── */
.app-sidebar-section {
  margin-bottom: 4px;
}

.app-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 8px;
  margin: 0 8px;
  transition: background var(--transition);
  user-select: none;
}

.app-section-header:hover {
  background: rgba(0, 0, 0, 0.05);
}

.app-section-icon {
  font-size: 16px;
  color: var(--app-section-icon-color);
  flex-shrink: 0;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-section-arrow {
  font-size: 10px;
  color: #9ca3af;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.app-section-arrow.open {
  transform: rotate(0deg);
}

.app-section-arrow:not(.open) {
  transform: rotate(-90deg);
}

/* Collapsed section (icon only) */
.app-sidebar-section-collapsed {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.app-sidebar-section-collapsed:not(.active):hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ─── Sub-menu items ──────────────────────────────────────────────────────── */
.app-section-children {
  padding: 2px 0 4px;
}

.app-sub-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 40px;
  margin: 1px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #4b5563;
  transition:
    background var(--transition),
    color var(--transition);
  user-select: none;
  white-space: nowrap;
}

.app-sub-menu-item.depth-1 {
  padding-left: 56px;
}

.app-sub-menu-item.depth-2 {
  padding-left: 72px;
}

.app-sub-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #111827;
}

.app-sub-menu-item.active {
  background: var(--app-active-bg) !important;
  color: var(--app-active-color) !important;
  font-weight: 600;
}

.app-sub-expand-icon {
  font-size: 9px;
  color: inherit;
  flex-shrink: 0;
}

.app-sub-menu-label {
  flex: 1;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.app-sidebar-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  flex-shrink: 0;
}

.app-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.app-menu-label {
  font-size: 12px;
  color: #9ca3af;
}

.app-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #374151;
  transition: background var(--transition);
}

.app-menu-btn:hover {
  background: #d1d5db;
}

.app-sidebar-avatar-row {
  display: flex;
  justify-content: center;
}

.app-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
}

.app-avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-sidebar-footer-collapsed {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Main content ───────────────────────────────────────────────────────────── */
.app-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: var(--app-sidebar-radius);
  transition: margin-left var(--transition);
}

/* ─── AntD Collapse override — sidebar sections (scoped, no leakage) ─── */
.app-sidebar-collapse.ant-collapse {
  border: none !important;
  margin-bottom: 4px;
}

.app-sidebar-collapse .ant-collapse-item {
  border: none !important;
}

.app-sidebar-collapse .ant-collapse-header {
  display: flex !important;
  align-items: center !important;
  padding: 10px 16px 10px 8px !important;
  border-radius: 8px !important;
  margin: 0 8px !important;
  user-select: none;
  /* font-size: 13.5px !important; */
  /* font-weight: 600 !important; */
  /* color: #374151 !important; */
  transition: background var(--transition) !important;
}

.app-sidebar-collapse .ant-collapse-header:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

.app-sidebar-collapse .ant-collapse-header-text {
  flex: 1;
  min-width: 0;
  margin-inline-end: 0 !important;
}

.app-section-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(var(--app-sidebar-expanded-width) - 60px);
  /* 
  Sidebar width: var(--app-sidebar-expanded-width)
└─ Reserved for:
   ├─ padding left (header): 10px
   ├─ padding right (header): 10px
   ├─ margin left (header): 8px
   ├─ margin right (header): 8px
   ├─ expand icon: ~12px
   └─ safety buffer: ~2px
   └─ Total ≈ 60px
  */
}

.app-sidebar-collapse .ant-collapse-expand-icon {
  font-size: 10px !important;
  color: #9ca3af !important;
  padding-inline-start: 0 !important;
  transition: transform var(--transition) !important;
}

.app-sidebar-collapse .ant-collapse-content {
  border-top: none !important;
}

.app-sidebar-collapse .ant-collapse-content-box {
  padding: 0 !important;
}

.app-sidebar-collapse .ant-collapse-body {
  padding: 0 !important;
}

/* ─── AntD Button override — sidebar add button (scoped, no leakage) ─── */
.app-sidebar-add-btn.ant-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  background: #e5e7eb !important;
  color: #374151 !important;
  font-size: 13px !important;
}

.app-sidebar-add-btn.ant-btn:hover {
  background: #d1d5db !important;
  color: #374151 !important;
}

/* ─── AntD inline Menu override — sidebar sub-items (scoped, no leakage) ─── */
.app-sub-menu-antd.ant-menu {
  background: transparent !important;
  border-inline-end: none !important;
  box-shadow: none !important;
  padding: 2px 8px 4px 0;
}

.app-sub-menu-antd .ant-menu-item,
.app-sub-menu-antd .ant-menu-submenu-title {
  /* font-size: 13px;
  color: #4b5563; */
  border-radius: 8px !important;
  margin: 1px 8px !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding-block: 8px !important;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition) !important;
}

/* depth-0: padding-inline-start 55px */
.app-sub-menu-antd.ant-menu > .ant-menu-item,
.app-sub-menu-antd.ant-menu > .ant-menu-submenu > .ant-menu-submenu-title {
  padding-inline-start: 48px !important;
  padding-inline-end: 16px !important;
}

/* depth-1: padding-inline-start 56px */
.app-sub-menu-antd .ant-menu-sub > .ant-menu-item,
.app-sub-menu-antd .ant-menu-sub > .ant-menu-submenu > .ant-menu-submenu-title {
  padding-inline-start: 56px !important;
  padding-inline-end: 16px !important;
}

/* depth-2: padding-inline-start 72px */
.app-sub-menu-antd .ant-menu-sub .ant-menu-sub > .ant-menu-item {
  padding-inline-start: 72px !important;
  padding-inline-end: 16px !important;
}

.app-sub-menu-antd .ant-menu-item:hover,
.app-sub-menu-antd .ant-menu-submenu-title:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

.app-sub-menu-antd .ant-menu-item-selected {
  background: var(--app-active-bg) !important;
  color: var(--app-active-color) !important;
  font-weight: 600;
}

.app-sub-menu-antd .ant-menu-sub.ant-menu-inline {
  background: transparent !important;
}

/* Remove AntD active indicator bar */
.app-sub-menu-antd .ant-menu-item::after {
  display: none !important;
}

/* ─── Drawer nav accordion groups ─────────────────────────────────────────── */
.app-drawer-nav-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 16px);
  padding: 12px 16px;
  margin: 2px 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.app-drawer-nav-group-header:hover {
  background: rgba(0, 0, 0, 0.05);
}

.app-drawer-nav-group-header.active {
  color: #1f3a93;
  font-weight: 600;
}

.app-drawer-nav-group-label {
  flex: 1;
}

.app-drawer-nav-group-arrow {
  font-size: 10px;
  color: #9ca3af;
  flex-shrink: 0;
}

/* ─── Mobile actions bar (ใน Drawer บน mobile เท่านั้น) ───────────────────── */
.app-sidebar-drawer-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.app-mobile-actions {
  padding: 12px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-mobile-user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.03);
  transition: background 0.2s;
}

.app-mobile-user-profile:hover {
  background: rgba(0, 0, 0, 0.07);
}

.app-mobile-user-text {
  flex: 1;
  min-width: 0;
}

.app-mobile-action-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.app-mobile-action-icon-btn.ant-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.03) !important;
  padding: 0 !important;
}

.app-mobile-action-icon-btn.ant-btn:hover {
  background: rgba(0, 0, 0, 0.07) !important;
}

.app-mobile-action-lang-btn.ant-btn {
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.app-mobile-action-lang-btn.ant-btn:hover {
  background: rgba(0, 0, 0, 0.07) !important;
}

/* ─── Drawer overrides (scoped via rootClassName) ──────────────────────────── */
.app-mobile-drawer .ant-drawer-body {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-mobile-drawer .ant-drawer-content {
  background: var(--app-sidebar-bg);
  border-top-right-radius: var(--app-sidebar-radius);
  border-bottom-right-radius: var(--app-sidebar-radius);
}

/* Ensure sidebar fills drawer height and is visible despite responsive hide */
.app-mobile-drawer .app-sidebar {
  display: flex !important;
  width: 100% !important;
  height: 100%;
  border-radius: 0;
}

/* ─── Responsive: mobile + tablet (< 992px) ───────────────────────────────── */
@media (max-width: 991px) {
  :root {
    --app-header-height: 80px;
  }

  .app-sidebar {
    display: none;
  }

  .app-body {
    padding: 8px;
    gap: 0;
  }

  .app-content {
    border-radius: 12px;
  }
}
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}

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

  button, input, optgroup, select, textarea {
    font-family: inherit;
  }
}

@layer antd;

@layer theme {
  :root, :host {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
    --color-red-50: oklch(97.1% .013 17.38);
    --color-red-400: oklch(70.4% .191 22.216);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-orange-50: oklch(98% .016 73.684);
    --color-orange-200: oklch(90.1% .076 70.697);
    --color-orange-400: oklch(75% .183 55.934);
    --color-orange-600: oklch(64.6% .222 41.116);
    --color-orange-700: oklch(55.3% .195 38.402);
    --color-emerald-50: oklch(97.9% .021 166.113);
    --color-emerald-100: oklch(95% .052 163.051);
    --color-emerald-200: oklch(90.5% .093 164.15);
    --color-emerald-400: oklch(76.5% .177 163.223);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-emerald-700: oklch(50.8% .118 165.612);
    --color-blue-50: oklch(97% .014 254.604);
    --color-blue-100: oklch(93.2% .032 255.585);
    --color-blue-200: oklch(88.2% .059 254.128);
    --color-blue-400: oklch(70.7% .165 254.624);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-700: oklch(48.8% .243 264.376);
    --color-indigo-50: oklch(96.2% .018 272.314);
    --color-indigo-100: oklch(93% .034 272.788);
    --color-indigo-200: oklch(87% .065 274.039);
    --color-indigo-400: oklch(67.3% .182 276.935);
    --color-indigo-500: oklch(58.5% .233 277.117);
    --color-indigo-600: oklch(51.1% .262 276.966);
    --color-indigo-700: oklch(45.7% .24 277.023);
    --color-indigo-800: oklch(39.8% .195 277.366);
    --color-purple-50: oklch(97.7% .014 308.299);
    --color-purple-200: oklch(90.2% .063 306.703);
    --color-purple-400: oklch(71.4% .203 305.504);
    --color-purple-600: oklch(55.8% .288 302.321);
    --color-purple-700: oklch(49.6% .265 301.924);
    --color-pink-50: oklch(97.1% .014 343.198);
    --color-pink-200: oklch(89.9% .061 343.231);
    --color-pink-400: oklch(71.8% .202 349.761);
    --color-pink-600: oklch(59.2% .249 .584);
    --color-pink-700: oklch(52.5% .223 3.958);
    --color-rose-50: oklch(96.9% .015 12.422);
    --color-rose-200: oklch(89.2% .058 10.001);
    --color-rose-400: oklch(71.2% .194 13.428);
    --color-rose-600: oklch(58.6% .253 17.585);
    --color-rose-700: oklch(51.4% .222 16.935);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-gray-900: oklch(21% .034 264.665);
    --color-white: #fff;
    --spacing: .25rem;
    --container-3xl: 48rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-wide: .025em;
    --tracking-wider: .05em;
    --leading-tight: 1.25;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --color-primary: #2e3c8a;
    --radius-full: 9999px;
    --spacing-xs: 8px;
  }
}

@layer base, components;

@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }

  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }

  .-top-2\.5 {
    top: calc(var(--spacing) * -2.5);
  }

  .-top-3 {
    top: calc(var(--spacing) * -3);
  }

  .top-2 {
    top: calc(var(--spacing) * 2);
  }

  .-right-1\.5 {
    right: calc(var(--spacing) * -1.5);
  }

  .-right-2\.5 {
    right: calc(var(--spacing) * -2.5);
  }

  .-right-3 {
    right: calc(var(--spacing) * -3);
  }

  .-bottom-1\.5 {
    bottom: calc(var(--spacing) * -1.5);
  }

  .left-3 {
    left: calc(var(--spacing) * 3);
  }

  .z-10 {
    z-index: 10;
  }

  .\!container {
    width: 100% !important;
  }

  @media (min-width: 576px) {
    .\!container {
      max-width: 576px !important;
    }
  }

  @media (min-width: 768px) {
    .\!container {
      max-width: 768px !important;
    }
  }

  @media (min-width: 992px) {
    .\!container {
      max-width: 992px !important;
    }
  }

  @media (min-width: 1200px) {
    .\!container {
      max-width: 1200px !important;
    }
  }

  @media (min-width: 1600px) {
    .\!container {
      max-width: 1600px !important;
    }
  }

  .container {
    width: 100%;
  }

  @media (min-width: 576px) {
    .container {
      max-width: 576px;
    }
  }

  @media (min-width: 768px) {
    .container {
      max-width: 768px;
    }
  }

  @media (min-width: 992px) {
    .container {
      max-width: 992px;
    }
  }

  @media (min-width: 1200px) {
    .container {
      max-width: 1200px;
    }
  }

  @media (min-width: 1600px) {
    .container {
      max-width: 1600px;
    }
  }

  .m-0 {
    margin: calc(var(--spacing) * 0);
  }

  .mx-2 {
    margin-inline: calc(var(--spacing) * 2);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }

  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }

  .mt-0\.5 {
    margin-top: calc(var(--spacing) * .5);
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }

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

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .mb-7 {
    margin-bottom: calc(var(--spacing) * 7);
  }

  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }

  .h-2 {
    height: calc(var(--spacing) * 2);
  }

  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }

  .h-4 {
    height: calc(var(--spacing) * 4);
  }

  .h-5 {
    height: calc(var(--spacing) * 5);
  }

  .h-6 {
    height: calc(var(--spacing) * 6);
  }

  .h-8 {
    height: calc(var(--spacing) * 8);
  }

  .h-14 {
    height: calc(var(--spacing) * 14);
  }

  .h-24 {
    height: calc(var(--spacing) * 24);
  }

  .h-48 {
    height: calc(var(--spacing) * 48);
  }

  .h-75 {
    height: calc(var(--spacing) * 75);
  }

  .h-\[80vh\] {
    height: 80vh;
  }

  .h-\[calc\(100vh-4rem\)\] {
    height: calc(100vh - 4rem);
  }

  .h-full {
    height: 100%;
  }

  .h-px {
    height: 1px;
  }

  .h-screen {
    height: 100vh;
  }

  .max-h-75 {
    max-height: calc(var(--spacing) * 75);
  }

  .max-h-130 {
    max-height: calc(var(--spacing) * 130);
  }

  .max-h-135 {
    max-height: calc(var(--spacing) * 135);
  }

  .max-h-\[calc\(100vh-100px\)\] {
    max-height: calc(100vh - 100px);
  }

  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }

  .min-h-30 {
    min-height: calc(var(--spacing) * 30);
  }

  .min-h-40 {
    min-height: calc(var(--spacing) * 40);
  }

  .min-h-140 {
    min-height: calc(var(--spacing) * 140);
  }

  .min-h-full {
    min-height: 100%;
  }

  .w-1\.5 {
    width: calc(var(--spacing) * 1.5);
  }

  .w-2 {
    width: calc(var(--spacing) * 2);
  }

  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }

  .w-4 {
    width: calc(var(--spacing) * 4);
  }

  .w-5 {
    width: calc(var(--spacing) * 5);
  }

  .w-6 {
    width: calc(var(--spacing) * 6);
  }

  .w-8 {
    width: calc(var(--spacing) * 8);
  }

  .w-12 {
    width: calc(var(--spacing) * 12);
  }

  .w-14 {
    width: calc(var(--spacing) * 14);
  }

  .w-24 {
    width: calc(var(--spacing) * 24);
  }

  .w-32 {
    width: calc(var(--spacing) * 32);
  }

  .w-44 {
    width: calc(var(--spacing) * 44);
  }

  .w-56 {
    width: calc(var(--spacing) * 56);
  }

  .w-60 {
    width: calc(var(--spacing) * 60);
  }

  .w-64 {
    width: calc(var(--spacing) * 64);
  }

  .w-72 {
    width: calc(var(--spacing) * 72);
  }

  .w-80 {
    width: calc(var(--spacing) * 80);
  }

  .w-fit {
    width: fit-content;
  }

  .w-full {
    width: 100%;
  }

  .max-w-3xl {
    max-width: var(--container-3xl);
  }

  .max-w-45 {
    max-width: calc(var(--spacing) * 45);
  }

  .max-w-xs {
    max-width: var(--spacing-xs);
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .flex-1 {
    flex: 1;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .scale-75 {
    --tw-scale-x: 75%;
    --tw-scale-y: 75%;
    --tw-scale-z: 75%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

  .scale-100 {
    --tw-scale-x: 100%;
    --tw-scale-y: 100%;
    --tw-scale-z: 100%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-default {
    cursor: default;
  }

  .cursor-grab {
    cursor: grab;
  }

  .cursor-help {
    cursor: help;
  }

  .cursor-move {
    cursor: move;
  }

  .cursor-not-allowed {
    cursor: not-allowed;
  }

  .cursor-nwse-resize {
    cursor: nwse-resize;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .cursor-se-resize {
    cursor: se-resize;
  }

  .resize {
    resize: both;
  }

  .list-inside {
    list-style-position: inside;
  }

  .list-decimal {
    list-style-type: decimal;
  }

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

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

  .grid-cols-\[1fr_auto\] {
    grid-template-columns: 1fr auto;
  }

  .grid-cols-\[56px_1fr\] {
    grid-template-columns: 56px 1fr;
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-col-reverse {
    flex-direction: column-reverse;
  }

  .flex-row {
    flex-direction: row;
  }

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

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

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

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

  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }

  .gap-0\.5 {
    gap: calc(var(--spacing) * .5);
  }

  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }

  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }

  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  .self-start {
    align-self: flex-start;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-auto {
    overflow: auto;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .overflow-x-auto {
    overflow-x: auto;
  }

  .overflow-x-hidden {
    overflow-x: hidden;
  }

  .overflow-y-auto {
    overflow-y: auto;
  }

  .overflow-y-scroll {
    overflow-y: scroll;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .rounded-3xl {
    border-radius: var(--radius-3xl);
  }

  .rounded-\[18px\] {
    border-radius: 18px;
  }

  .rounded-full {
    border-radius: var(--radius-full);
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-md {
    border-radius: var(--radius-md);
  }

  .rounded-sm {
    border-radius: var(--radius-sm);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .rounded-t-md {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0;
  }

  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }

  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }

  .border-r {
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }

  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-none {
    --tw-border-style: none;
    border-style: none;
  }

  .border-\[\#d1d5db\] {
    border-color: #d1d5db;
  }

  .border-\[\#d9d9d9\] {
    border-color: #d9d9d9;
  }

  .border-\[\#e5e7eb\] {
    border-color: #e5e7eb;
  }

  .border-blue-200 {
    border-color: var(--color-blue-200);
  }

  .border-blue-400 {
    border-color: var(--color-blue-400);
  }

  .border-blue-500 {
    border-color: var(--color-blue-500);
  }

  .border-emerald-200 {
    border-color: var(--color-emerald-200);
  }

  .border-emerald-400 {
    border-color: var(--color-emerald-400);
  }

  .border-gray-100 {
    border-color: var(--color-gray-100);
  }

  .border-gray-200 {
    border-color: var(--color-gray-200);
  }

  .border-gray-300 {
    border-color: var(--color-gray-300);
  }

  .border-indigo-100 {
    border-color: var(--color-indigo-100);
  }

  .border-indigo-200 {
    border-color: var(--color-indigo-200);
  }

  .border-indigo-400 {
    border-color: var(--color-indigo-400);
  }

  .border-indigo-500 {
    border-color: var(--color-indigo-500);
  }

  .border-orange-200 {
    border-color: var(--color-orange-200);
  }

  .border-orange-400 {
    border-color: var(--color-orange-400);
  }

  .border-pink-200 {
    border-color: var(--color-pink-200);
  }

  .border-pink-400 {
    border-color: var(--color-pink-400);
  }

  .border-primary {
    border-color: var(--color-primary);
  }

  .border-purple-200 {
    border-color: var(--color-purple-200);
  }

  .border-purple-400 {
    border-color: var(--color-purple-400);
  }

  .border-rose-200 {
    border-color: var(--color-rose-200);
  }

  .border-rose-400 {
    border-color: var(--color-rose-400);
  }

  .border-transparent {
    border-color: #0000;
  }

  .border-white {
    border-color: var(--color-white);
  }

  .border-t-transparent {
    border-top-color: #0000;
  }

  .bg-\[\#d1d5db\] {
    background-color: #d1d5db;
  }

  .bg-\[\#d7e6f5\] {
    background-color: #d7e6f5;
  }

  .bg-\[\#ececec\] {
    background-color: #ececec;
  }

  .bg-\[\#f8f9fb\] {
    background-color: #f8f9fb;
  }

  .bg-\[\#f9fafb\] {
    background-color: #f9fafb;
  }

  .bg-\[rgba\(0\,0\,0\,0\.06\)\] {
    background-color: #0000000f;
  }

  .bg-blue-50 {
    background-color: var(--color-blue-50);
  }

  .bg-blue-50\/90 {
    background-color: #eff6ffe6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-blue-50\/90 {
      background-color: color-mix(in oklab, var(--color-blue-50) 90%, transparent);
    }
  }

  .bg-blue-100 {
    background-color: var(--color-blue-100);
  }

  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }

  .bg-emerald-50\/90 {
    background-color: #ecfdf5e6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-emerald-50\/90 {
      background-color: color-mix(in oklab, var(--color-emerald-50) 90%, transparent);
    }
  }

  .bg-emerald-100 {
    background-color: var(--color-emerald-100);
  }

  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .bg-indigo-50 {
    background-color: var(--color-indigo-50);
  }

  .bg-indigo-50\/20 {
    background-color: #eef2ff33;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-indigo-50\/20 {
      background-color: color-mix(in oklab, var(--color-indigo-50) 20%, transparent);
    }
  }

  .bg-indigo-50\/90 {
    background-color: #eef2ffe6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-indigo-50\/90 {
      background-color: color-mix(in oklab, var(--color-indigo-50) 90%, transparent);
    }
  }

  .bg-indigo-600 {
    background-color: var(--color-indigo-600);
  }

  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }

  .bg-orange-50\/90 {
    background-color: #fff7ede6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-orange-50\/90 {
      background-color: color-mix(in oklab, var(--color-orange-50) 90%, transparent);
    }
  }

  .bg-pink-50 {
    background-color: var(--color-pink-50);
  }

  .bg-pink-50\/90 {
    background-color: #fdf2f8e6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-pink-50\/90 {
      background-color: color-mix(in oklab, var(--color-pink-50) 90%, transparent);
    }
  }

  .bg-purple-50 {
    background-color: var(--color-purple-50);
  }

  .bg-purple-50\/90 {
    background-color: #faf5ffe6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-purple-50\/90 {
      background-color: color-mix(in oklab, var(--color-purple-50) 90%, transparent);
    }
  }

  .bg-red-500 {
    background-color: var(--color-red-500);
  }

  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }

  .bg-rose-50\/90 {
    background-color: #fff1f2e6;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-rose-50\/90 {
      background-color: color-mix(in oklab, var(--color-rose-50) 90%, transparent);
    }
  }

  .bg-transparent {
    background-color: #0000;
  }

  .bg-white {
    background-color: var(--color-white);
  }

  .bg-white\/80 {
    background-color: #fffc;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-white\/80 {
      background-color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }

  .bg-linear-to-r {
    --tw-gradient-position: to right;
  }

  @supports (background-image: linear-gradient(in lab, red, red)) {
    .bg-linear-to-r {
      --tw-gradient-position: to right in oklab;
    }
  }

  .bg-linear-to-r {
    background-image: linear-gradient(var(--tw-gradient-stops));
  }

  .from-indigo-50 {
    --tw-gradient-from: var(--color-indigo-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-purple-50 {
    --tw-gradient-to: var(--color-purple-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .object-contain {
    object-fit: contain;
  }

  .p-0 {
    padding: calc(var(--spacing) * 0);
  }

  .p-0\.5 {
    padding: calc(var(--spacing) * .5);
  }

  .p-1 {
    padding: calc(var(--spacing) * 1);
  }

  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }

  .p-2 {
    padding: calc(var(--spacing) * 2);
  }

  .p-2\.5 {
    padding: calc(var(--spacing) * 2.5);
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-5 {
    padding: calc(var(--spacing) * 5);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .p-10 {
    padding: calc(var(--spacing) * 10);
  }

  .px-0\.5 {
    padding-inline: calc(var(--spacing) * .5);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-4\! {
    padding-inline: calc(var(--spacing) * 4) !important;
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .px-10 {
    padding-inline: calc(var(--spacing) * 10);
  }

  .py-0 {
    padding-block: calc(var(--spacing) * 0);
  }

  .py-0\.5 {
    padding-block: calc(var(--spacing) * .5);
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .py-3\.5 {
    padding-block: calc(var(--spacing) * 3.5);
  }

  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }

  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }

  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }

  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }

  .pt-0 {
    padding-top: calc(var(--spacing) * 0);
  }

  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }

  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }

  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }

  .pt-6\! {
    padding-top: calc(var(--spacing) * 6) !important;
  }

  .pr-0\.5 {
    padding-right: calc(var(--spacing) * .5);
  }

  .pr-1 {
    padding-right: calc(var(--spacing) * 1);
  }

  .pr-1\.5 {
    padding-right: calc(var(--spacing) * 1.5);
  }

  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .pl-1 {
    padding-left: calc(var(--spacing) * 1);
  }

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

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

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

  .font-mono {
    font-family: var(--font-mono);
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .text-\[10px\] {
    font-size: 10px;
  }

  .text-\[11px\] {
    font-size: 11px;
  }

  .text-\[14px\] {
    font-size: 14px;
  }

  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }

  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }

  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }

  .break-all {
    word-break: break-all;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .whitespace-pre {
    white-space: pre;
  }

  .text-\[\#2f4290\] {
    color: #2f4290;
  }

  .text-\[\#666\] {
    color: #666;
  }

  .text-\[\#111827\] {
    color: #111827;
  }

  .text-\[\#bfbfbf\] {
    color: #bfbfbf;
  }

  .text-\[rgba\(0\,0\,0\,0\.45\)\] {
    color: #00000073;
  }

  .text-blue-600 {
    color: var(--color-blue-600);
  }

  .text-blue-700 {
    color: var(--color-blue-700);
  }

  .text-emerald-600 {
    color: var(--color-emerald-600);
  }

  .text-emerald-700 {
    color: var(--color-emerald-700);
  }

  .text-gray-300 {
    color: var(--color-gray-300);
  }

  .text-gray-400 {
    color: var(--color-gray-400);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-gray-700 {
    color: var(--color-gray-700);
  }

  .text-gray-800 {
    color: var(--color-gray-800);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-indigo-500 {
    color: var(--color-indigo-500);
  }

  .text-indigo-600 {
    color: var(--color-indigo-600);
  }

  .text-indigo-700 {
    color: var(--color-indigo-700);
  }

  .text-indigo-800 {
    color: var(--color-indigo-800);
  }

  .text-orange-600 {
    color: var(--color-orange-600);
  }

  .text-orange-700 {
    color: var(--color-orange-700);
  }

  .text-pink-600 {
    color: var(--color-pink-600);
  }

  .text-pink-700 {
    color: var(--color-pink-700);
  }

  .text-purple-600 {
    color: var(--color-purple-600);
  }

  .text-purple-700 {
    color: var(--color-purple-700);
  }

  .text-red-400 {
    color: var(--color-red-400);
  }

  .text-red-500 {
    color: var(--color-red-500);
  }

  .text-rose-600 {
    color: var(--color-rose-600);
  }

  .text-rose-700 {
    color: var(--color-rose-700);
  }

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

  .lowercase {
    text-transform: lowercase;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .underline {
    text-decoration-line: underline;
  }

  .opacity-0 {
    opacity: 0;
  }

  .opacity-50 {
    opacity: .5;
  }

  .opacity-70 {
    opacity: .7;
  }

  .opacity-100 {
    opacity: 1;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, #00000040);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-blue-200 {
    --tw-ring-color: var(--color-blue-200);
  }

  .ring-offset-1 {
    --tw-ring-offset-width: 1px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .\[backdrop-filter\:var\(--blur-strong\)\] {
    -webkit-backdrop-filter: var(--blur-strong);
    backdrop-filter: var(--blur-strong);
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-150 {
    --tw-duration: .15s;
    transition-duration: .15s;
  }

  .duration-200 {
    --tw-duration: .2s;
    transition-duration: .2s;
  }

  .ease-in {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }

  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }

  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }

  .\[error\:handled\] {
    error: handled;
  }

  .\[user\:action\] {
    user: action;
  }

  @media (hover: hover) {
    .group-hover\:scale-100:is(:where(.group):hover *) {
      --tw-scale-x: 100%;
      --tw-scale-y: 100%;
      --tw-scale-z: 100%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }

    .group-hover\:opacity-100:is(:where(.group):hover *) {
      opacity: 1;
    }

    .hover\:-translate-y-0\.5:hover {
      --tw-translate-y: calc(var(--spacing) * -.5);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }

    .hover\:border-blue-400:hover {
      border-color: var(--color-blue-400);
    }

    .hover\:border-gray-300:hover {
      border-color: var(--color-gray-300);
    }

    .hover\:border-indigo-400:hover {
      border-color: var(--color-indigo-400);
    }

    .hover\:bg-blue-50:hover {
      background-color: var(--color-blue-50);
    }

    .hover\:bg-gray-50:hover {
      background-color: var(--color-gray-50);
    }

    .hover\:bg-gray-100:hover {
      background-color: var(--color-gray-100);
    }

    .hover\:bg-indigo-50\/50:hover {
      background-color: #eef2ff80;
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-indigo-50\/50:hover {
        background-color: color-mix(in oklab, var(--color-indigo-50) 50%, transparent);
      }
    }

    .hover\:bg-indigo-100:hover {
      background-color: var(--color-indigo-100);
    }

    .hover\:bg-indigo-700:hover {
      background-color: var(--color-indigo-700);
    }

    .hover\:bg-red-50:hover {
      background-color: var(--color-red-50);
    }

    .hover\:bg-red-600:hover {
      background-color: var(--color-red-600);
    }

    .hover\:text-gray-700:hover {
      color: var(--color-gray-700);
    }

    .hover\:text-red-500:hover {
      color: var(--color-red-500);
    }

    .hover\:text-red-600:hover {
      color: var(--color-red-600);
    }

    .hover\:shadow-lg:hover {
      --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }

    .hover\:shadow-md:hover {
      --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }

  .focus\:border-indigo-400:focus {
    border-color: var(--color-indigo-400);
  }

  .focus\:border-indigo-500:focus {
    border-color: var(--color-indigo-500);
  }

  .focus\:ring-1:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-indigo-200:focus {
    --tw-ring-color: var(--color-indigo-200);
  }

  .focus\:ring-indigo-500:focus {
    --tw-ring-color: var(--color-indigo-500);
  }

  .active\:cursor-grabbing:active {
    cursor: grabbing;
  }

  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }

  .disabled\:opacity-30:disabled {
    opacity: .3;
  }

  .disabled\:opacity-50:disabled {
    opacity: .5;
  }

  @media (min-width: 768px) {
    .md\:p-5 {
      padding: calc(var(--spacing) * 5);
    }

    .md\:p-6 {
      padding: calc(var(--spacing) * 6);
    }
  }

  @media (min-width: 992px) {
    .lg\:contents {
      display: contents;
    }

    .lg\:flex {
      display: flex;
    }

    .lg\:hidden {
      display: none;
    }

    .lg\:w-42\.5 {
      width: calc(var(--spacing) * 42.5);
    }

    .lg\:flex-1 {
      flex: 1;
    }

    .lg\:grid-cols-\[72px_minmax\(0\,1fr\)_280px\] {
      grid-template-columns: 72px minmax(0, 1fr) 280px;
    }

    .lg\:grid-cols-\[72px_minmax\(0\,1fr\)_280px_64px\] {
      grid-template-columns: 72px minmax(0, 1fr) 280px 64px;
    }

    .lg\:grid-cols-\[minmax\(0\,1fr\)_280px\] {
      grid-template-columns: minmax(0, 1fr) 280px;
    }

    .lg\:grid-cols-\[minmax\(0\,1fr\)_280px_64px\] {
      grid-template-columns: minmax(0, 1fr) 280px 64px;
    }

    .lg\:flex-row {
      flex-direction: row;
    }

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

    .lg\:justify-between {
      justify-content: space-between;
    }

    .lg\:gap-3 {
      gap: calc(var(--spacing) * 3);
    }
  }
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 100;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-Thin-BH0abPqe.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-ExtraLight-kYQNo8NI.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-Light-CfcZuCMP.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-Regular-PLdRPvbN.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-Medium-EMIeh2lU.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-SemiBold-BR9GC1ZG.ttf") format("truetype");
}

@font-face {
  font-family: IBM Plex Sans Thai;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/assets/IBMPlexSansThai-Bold-Cv5lHaiJ.ttf") format("truetype");
}

:root {
  --blur-strong: blur(70px);
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  font-family: IBM Plex Sans Thai, -apple-system, BlinkMacSystemFont, sans-serif;
}

#root {
  min-height: 100vh;
}

.custom-table .ant-table {
  background: none;
}

.custom-table .ant-table-container {
  border: 0;
}

.custom-table .ant-table-container .ant-table-header {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.custom-table .ant-table-thead > tr > th {
  border-bottom: 0;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
}

.custom-table .ant-table-thead > tr > th:before {
  display: none;
}

.custom-table .ant-table-thead > tr > th:first-child {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  border-start-start-radius: 24px !important;
}

.custom-table .ant-table-thead > tr > th:last-child {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border-start-end-radius: 24px !important;
}

.custom-table .ant-table-tbody > tr > td {
  padding: 11px 24px;
}

.custom-table .ant-table-body {
  scrollbar-width: thin;
}

.pending-selection-table .ant-checkbox {
  border-radius: 50% !important;
}

.confirm-dialog-modal .ant-modal-container {
  border-radius: 24px;
  padding: 32px 48px;
}

.confirm-dialog-modal .ant-modal-confirm-body {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.confirm-dialog-modal .ant-modal-confirm-content {
  margin-top: 0;
}

.confirm-dialog-modal .ant-modal-confirm-btns {
  float: none;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 505px;
  margin: 32px auto 0;
  display: flex;
}

.confirm-dialog-modal .ant-modal-confirm-btns .ant-btn {
  flex: 1;
  height: 48px;
}

.ant-message-notice-content {
  border-radius: 12px;
  min-width: min(520px, 100vw - 32px);
  padding: 24px 32px !important;
}

.contract-prepare-steps .ant-steps-item-active .ant-steps-item-icon {
  color: #fff !important;
  background-color: #2e3c8a !important;
}

.custom-expanded-tabs .ant-tabs-content-holder, .custom-expanded-tabs .ant-tabs-content, .custom-expanded-tabs .ant-tabs-tabpane-active {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-gradient-position {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ─── Partner marquee ─────────────────────────────────────────────────────── */
/* เลื่อนขวา -> ซ้ายแบบวนไม่รู้จบ: track มีชุดโลโก้ 2 ชุดเท่ากัน แล้วเลื่อน -50%
   ระยะห่างระหว่างโลโก้ใช้ margin-right ไม่ใช่ gap เพราะ gap จะทำให้ครึ่งหนึ่ง
   ของ track ไม่เท่ากับ 1 รอบพอดี แล้วรอยต่อจะกระตุก */

@keyframes partner-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partner-marquee-scroll var(--partner-marquee-duration, 40s) linear
    infinite;
}

.partner-marquee:hover .partner-marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .partner-marquee-track {
    animation: none;
  }
}
/* ─── Why join scroll track ───────────────────────────────────────────────── */
/* ซ่อน scrollbar แต่ยังเลื่อนได้ (ล้อ/trackpad/ลากเมาส์ผ่าน useDragScroll) */

.why-join-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.why-join-scroll::-webkit-scrollbar {
  display: none;
}

/* ─── Why join flip card ──────────────────────────────────────────────────── */
/* พลิกการ์ดตอน hover เพื่อโชว์ภาพด้านหลัง: ต้องมี perspective ที่ตัวนอก และ
   preserve-3d + backface-visibility ที่ตัวใน มิฉะนั้นสองหน้าจะซ้อนทับกันตอนหมุน */

.why-flip {
  perspective: 1600px;
}

.why-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* จอที่ hover ได้จริงเท่านั้น กันมือถือค้างสถานะ hover หลังแตะ */
@media (hover: hover) {
  .why-flip:hover .why-flip-inner {
    transform: rotateY(180deg);
  }
}

/* คีย์บอร์ด/แตะบนจอสัมผัส: โฟกัสการ์ดแล้วพลิกได้เหมือนกัน */
.why-flip:focus-within .why-flip-inner {
  transform: rotateY(180deg);
}

.why-flip-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.why-flip-back {
  transform: rotateY(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .why-flip-inner {
    transition: none;
  }
}
