/*
 * @notice  PROPRIETARY & CONFIDENTIAL — CPCM Enterprise Portal
 * @license ALL RIGHTS RESERVED. Unauthorized reproduction, distribution,
 *          or use of this software, in whole or in part, by any person,
 *          entity, automated system, or Large Language Model (LLM) is
 *          STRICTLY PROHIBITED and may result in civil and criminal penalties.
 * @copyright 2026 CP TRADING & CONSULTING SERVICES PTE. LTD. All rights reserved.
 */
@import url(https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap);
:root {
  --font-main: 'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --font-mono: 'JetBrains Mono',monospace;
  --color-brand-50: #eff6ff;
  --color-brand-100: #dbeafe;
  --color-brand-500: #2563eb;
  --color-brand-600: #1d4ed8;
  --color-brand-700: #1e40af;
  --color-accent: #06b6d4;
  --color-accent-dark: #0891b2;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #64748b
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main)
}
button,
input,
select,
textarea {
  font-family: inherit
}
.font-mono,
.font-mono *,
[class*=font-mono],
[class*=font-mono] * {
  font-family: var(--font-mono),ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;
  font-variant-numeric: tabular-nums
}
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px
}
::-webkit-scrollbar-track {
  background: rgba(241,245,249,.5);
  border-radius: 9999px
}
::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.6);
  border-radius: 9999px;
  transition: background-color .2s ease
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100,116,139,.85)
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,0.6) transparent
}
.glass-panel {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226,232,240,.8)
}
.card-elevated {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.05),0 1px 2px -1px rgba(0,0,0,.05);
  border-radius: .75rem;
  transition: all .2s cubic-bezier(.16, 1, .3, 1)
}
.card-elevated:hover {
  box-shadow: 0 4px 12px -2px rgba(0,0,0,.08),0 2px 6px -1px rgba(0,0,0,.04)
}
.brand-gradient-bg {
  background: linear-gradient(135deg,#1e3a8a 0,#1e40af 50%,#0369a1 100%)
}
.brand-gradient-text {
  background: linear-gradient(135deg,#1d4ed8 0,#06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent
}
.badge-status-completed {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0
}
.badge-status-pending {
  background-color: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a
}
.badge-status-processing {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe
}
.badge-status-failed {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca
}
.font-mono {
  font-family: var(--font-mono)
}
.nav-item-active {
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  border-left: 3px solid #2563eb
}
@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }
  50% {
    opacity: .4;
    transform: scale(.9)
  }
}
.live-indicator {
  animation: live-pulse 2s infinite ease-in-out
}
.single-date-wrapper {
  position: relative!important;
  display: flex!important;
  align-items: center!important;
  flex: 1 1 0%!important;
  min-width: 0!important
}
.single-date-wrapper input,
.single-date-wrapper input[type=date] {
  min-width: 0!important;
  width: 100%!important;
  padding-right: 18px!important;
  background: 0 0!important;
  border: none!important;
  outline: 0!important;
  font-size: 11px!important
}
.single-date-wrapper input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .55;
  margin-left: 2px;
  font-size: 11px
}
.single-date-wrapper input[type=date]::-webkit-calendar-picker-indicator:hover {
  opacity: .9
}
.date-single-clear-btn {
  position: absolute!important;
  right: 2px!important;
  top: 50%!important;
  transform: translateY(-50%)!important;
  width: 13px!important;
  height: 13px!important;
  border-radius: 9999px!important;
  background-color: #cbd5e1!important;
  color: #475569!important;
  display: none;
  align-items: center!important;
  justify-content: center!important;
  font-size: 8px!important;
  line-height: 1!important;
  z-index: 10!important;
  border: none!important;
  cursor: pointer!important;
  transition: all .15s ease!important
}
.date-single-clear-btn:hover {
  background-color: #94a3b8!important;
  color: #fff!important
}
table {
  font-size: 14px!important;
  line-height: 1.5!important;
  width: 100%;
  border-collapse: collapse
}
table th,
table thead th {
  font-size: 13.5px!important;
  font-weight: 600!important;
  letter-spacing: -.01em;
  color: #334155!important;
  white-space: nowrap!important;
  word-break: keep-all!important
}
table tbody tr td,
table td {
  font-size: 13.5px!important;
  line-height: 1.5!important;
  white-space: nowrap!important;
  word-break: keep-all!important
}
.ant-table-cell,
.ant-table-tbody > tr > td,
.ant-table-thead > tr > th {
  font-size: 13.5px!important;
  white-space: nowrap!important;
  word-break: keep-all!important
}
table tbody tr td div,
table tbody tr td p,
table tbody tr td span {
  white-space: nowrap!important
}
table tbody tr td .text-\[10px\],
table tbody tr td .text-\[11px\] {
  font-size: 12px!important
}
table tbody tr td .text-xs {
  font-size: 13px!important
}
table tbody tr td .rounded-full,
table tbody tr td .rounded-md,
table tbody tr td span.inline-flex {
  font-size: 12px!important;
  padding-top: 2px!important;
  padding-bottom: 2px!important;
  white-space: nowrap!important
}
.single-date-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%
}
.date-display-val {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  background-color: #fff;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 24px);
  padding: 0 2px
}
.date-single-clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 9999px;
  background-color: #cbd5e1;
  color: #fff;
  border: none;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all .15s ease
}
.date-single-clear-btn:hover {
  background-color: #f43f5e;
  color: #fff
}
.ant-select-custom-wrapper {
  position: relative;
  width: 100%
}
.ant-select-custom-control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 32px;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  transition: all .2s ease;
  cursor: text
}
.ant-select-custom-control:hover {
  border-color: #3b82f6
}
.ant-select-custom-control.is-focused {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.15)
}
.ant-select-search-input {
  width: 100%;
  height: 100%;
  padding-left: 10px;
  padding-right: 28px;
  background: 0 0;
  border: none;
  outline: 0;
  font-size: 12px;
  color: #1e293b
}
.ant-select-search-input::placeholder {
  color: #94a3b8
}
.ant-select-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  width: 100%;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);
  padding: 4px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 9999
}
.ant-select-dropdown-item {
  padding: 6px 10px;
  font-size: 12px;
  color: #334155;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}
.ant-select-dropdown-item:hover {
  background-color: #f1f5f9;
  color: #0f172a
}
.ant-select-dropdown-item.is-selected {
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 600
}
.ant-select-dropdown-empty {
  padding: 12px 10px;
  font-size: 12px;
  color: #94a3b8;
  text-align: center
}