:root {
  --gx-color-bg-deep: #050227;
  --gx-color-bg-navy: #08162c;
  --gx-color-brand: #123a8b;
  --gx-color-brand-strong: #1f4ed8;
  --gx-color-accent: #12717c;
  --gx-color-accent-soft: rgba(18, 113, 124, 0.2);
  --gx-color-text-primary: #ffffff;
  --gx-color-text-secondary: rgba(255, 255, 255, 0.82);
  --gx-color-text-muted: rgba(255, 255, 255, 0.72);
  --gx-color-text-subtle: rgba(255, 255, 255, 0.64);
  --gx-color-border: rgba(255, 255, 255, 0.08);
  --gx-color-border-strong: rgba(255, 255, 255, 0.14);
  --gx-color-overlay: rgba(3, 9, 20, 0.72);
  --gx-color-input-bg: rgba(255, 255, 255, 0.92);
  --gx-color-input-text: #0f1d33;
  --gx-color-success-bg: rgba(18, 96, 78, 0.28);
  --gx-color-success-border: rgba(100, 222, 176, 0.18);
  --gx-color-danger-bg: rgba(122, 24, 43, 0.28);
  --gx-color-danger-border: rgba(255, 113, 145, 0.18);
  --gx-surface-panel:
    linear-gradient(180deg, rgba(18, 113, 124, 0.95), rgba(8, 22, 44, 0.97)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  --gx-surface-card:
    linear-gradient(180deg, rgba(8, 20, 39, 0.48), rgba(6, 14, 28, 0.3)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  --gx-surface-subtle: rgba(6, 17, 39, 0.32);
  --gx-shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.22);
  --gx-shadow-panel:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --gx-radius-md: 16px;
  --gx-radius-lg: 22px;
  --gx-radius-xl: 26px;
  --gx-radius-pill: 999px;
  --gx-transition-fast: 0.18s ease;
  --gx-focus-ring-color: rgba(102, 194, 255, 0.92);
  --gx-focus-ring-shadow:
    0 0 0 3px rgba(6, 18, 34, 0.88),
    0 0 0 6px rgba(102, 194, 255, 0.28);
}

.gx-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--gx-color-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gx-section-title {
  margin: 0;
  color: var(--gx-color-text-primary);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.gx-section-copy {
  margin: 0.55rem 0 0;
  color: var(--gx-color-text-secondary);
  line-height: 1.6;
}

.gx-surface-panel {
  border: 1px solid var(--gx-color-border);
  border-radius: var(--gx-radius-xl);
  background: var(--gx-surface-panel);
  box-shadow: var(--gx-shadow-panel);
  color: var(--gx-color-text-primary);
}

.gx-surface-card {
  border: 1px solid var(--gx-color-border);
  border-radius: var(--gx-radius-lg);
  background: var(--gx-surface-card);
  box-shadow: var(--gx-shadow-soft);
  color: var(--gx-color-text-primary);
}

.gx-summary-grid {
  display: grid;
  gap: 0.85rem;
}

.gx-summary-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 92px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: var(--gx-surface-subtle);
  border: 1px solid var(--gx-color-border);
}

.gx-summary-label {
  color: var(--gx-color-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gx-summary-value {
  color: var(--gx-color-text-primary);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.35;
}

.gx-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gx-color-text-primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.gx-helper-text {
  margin: 0.45rem 0 0;
  color: var(--gx-color-text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.gx-required-callout {
  width: 100%;
  margin: 0.85rem 0 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(122, 24, 43, 0.18);
  border: 1px solid rgba(255, 113, 145, 0.22);
  color: rgba(255, 235, 240, 0.96);
  font-size: 0.84rem;
  line-height: 1.5;
}

.gx-required-callout strong {
  color: var(--gx-color-text-primary);
}

.gx-empty-state {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 2rem 1.4rem;
  border-radius: 20px;
  background: rgba(6, 17, 39, 0.28);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.gx-empty-state strong {
  font-size: 1rem;
}

.gx-empty-state p {
  margin: 0;
  color: var(--gx-color-text-muted);
  line-height: 1.55;
}

.gx-button,
.btn.gx-button,
.ant-btn.gx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border: none;
  border-radius: var(--gx-radius-pill);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--gx-transition-fast),
    opacity var(--gx-transition-fast),
    background var(--gx-transition-fast),
    border-color var(--gx-transition-fast);
}

.gx-button:hover,
.gx-button:focus-visible,
.btn.gx-button:hover,
.btn.gx-button:focus-visible,
.ant-btn.gx-button:hover,
.ant-btn.gx-button:focus-visible {
  transform: translateY(-1px);
}

.gx-button-primary,
.btn.gx-button-primary,
.ant-btn.gx-button-primary {
  background: var(--gx-color-bg-deep);
  color: var(--gx-color-text-primary);
}

.gx-button-primary:hover,
.gx-button-primary:focus-visible,
.btn.gx-button-primary:hover,
.btn.gx-button-primary:focus-visible,
.ant-btn.gx-button-primary:hover,
.ant-btn.gx-button-primary:focus-visible {
  background: var(--gx-color-brand);
  color: var(--gx-color-text-primary);
}

.gx-button-secondary,
.btn.gx-button-secondary,
.ant-btn.gx-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gx-color-text-primary);
  border: 1px solid var(--gx-color-border-strong);
}

.gx-button-secondary:hover,
.gx-button-secondary:focus-visible,
.btn.gx-button-secondary:hover,
.btn.gx-button-secondary:focus-visible,
.ant-btn.gx-button-secondary:hover,
.ant-btn.gx-button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gx-color-text-primary);
}

.gx-button-ghost,
.btn.gx-button-ghost {
  background: transparent;
  color: var(--gx-color-text-primary);
  border: 1px solid var(--gx-color-border-strong);
}

.gx-button-full {
  width: 100%;
}

.gx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gx-skip-link {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  z-index: 1600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: var(--gx-radius-pill);
  background: rgba(5, 2, 39, 0.96);
  color: var(--gx-color-text-primary);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
  transition:
    transform var(--gx-transition-fast),
    opacity var(--gx-transition-fast);
}

.gx-skip-link:focus-visible {
  transform: translateY(0);
}

:where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  [role="button"],
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: none;
  box-shadow: var(--gx-focus-ring-shadow);
}

.ant-btn:focus-visible,
.ant-select-focused .ant-select-selector,
.ant-picker-focused,
.ant-input:focus-visible,
.ant-input-affix-wrapper-focused,
.ant-input-number-focused {
  outline: none;
  box-shadow: var(--gx-focus-ring-shadow);
  border-color: var(--gx-focus-ring-color);
}

:where(button, .ant-btn):disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.gx-modal-dialog .modal-content {
  border: none;
  border-radius: var(--gx-radius-xl);
  overflow: hidden;
  background: transparent;
}

.gx-modal-surface {
  background: var(--gx-surface-panel);
  color: var(--gx-color-text-primary);
}

.gx-modal-header,
.gx-modal-footer {
  border-color: var(--gx-color-border);
}

.gx-modal-header .btn-close {
  filter: invert(1);
  opacity: 0.92;
}

.gx-modal-body {
  padding: 1.15rem 1.25rem 1rem;
}

.gx-modal-title {
  color: var(--gx-color-text-primary);
  font-size: 1.32rem;
  font-weight: 900;
}

.gx-modal-message {
  margin: 0;
  color: var(--gx-color-text-secondary);
  line-height: 1.58;
}

.gx-modal-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gx-color-border);
  font-weight: 800;
}

.gx-modal-section {
  display: grid;
  gap: 0.55rem;
}

.gx-modal-section-title {
  margin: 0;
  color: var(--gx-color-text-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gx-modal-pre {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(8, 20, 39, 0.48);
  border: 1px solid var(--gx-color-border);
  color: var(--gx-color-text-primary);
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow: auto;
}

.gx-stack-md {
  display: grid;
  gap: 1rem;
}

.gx-required-field {
  transition:
    border-color var(--gx-transition-fast),
    box-shadow var(--gx-transition-fast),
    background var(--gx-transition-fast);
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 22, 41, 0.48);
  color: var(--gx-color-text-primary);
  box-shadow: none;
  transition:
    border-color var(--gx-transition-fast),
    box-shadow var(--gx-transition-fast),
    background var(--gx-transition-fast);
}

.ant-select-single .ant-select-selector .ant-select-selection-item,
.ant-select-single .ant-select-selector .ant-select-selection-placeholder,
.ant-select .ant-select-arrow,
.ant-select .ant-select-clear,
.ant-select-selection-search-input {
  color: var(--gx-color-text-primary);
}

.ant-select-single .ant-select-selector .ant-select-selection-placeholder {
  color: var(--gx-color-text-subtle);
}

.ant-select-multiple .ant-select-selector {
  padding: 0.35rem 0.65rem;
}

.ant-select-multiple .ant-select-selection-overflow {
  gap: 0.35rem;
}

.ant-select-multiple .ant-select-selection-item {
  background: rgba(5, 12, 30, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--gx-color-text-primary);
}

.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gx-color-text-subtle);
}

.ant-select-dropdown {
  background: rgba(5, 12, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.ant-select-dropdown .ant-select-item,
.ant-select-dropdown .ant-select-item-option,
.ant-select-dropdown .ant-select-item-option-content,
.ant-select-dropdown .ant-select-item-option-state,
.ant-select-dropdown .ant-empty-description {
  color: var(--gx-color-text-primary);
}

.ant-select-dropdown .ant-select-item-option {
  background: transparent;
}

.ant-select-dropdown .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
  background: rgba(18, 113, 124, 0.32);
}

.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: rgba(31, 78, 216, 0.35);
  color: var(--gx-color-text-primary);
}

.gx-required-field-missing.form-control,
.gx-required-field-missing.ant-input,
.gx-required-field-missing.ant-input-affix-wrapper,
.gx-required-field-missing.ant-input-number,
.gx-required-field-missing.ant-picker,
input.gx-required-field-missing,
textarea.gx-required-field-missing,
select.gx-required-field-missing {
  border-color: rgba(255, 113, 145, 0.72);
  background: rgba(122, 24, 43, 0.14);
}

.gx-required-field-filled.form-control,
.gx-required-field-filled.ant-input,
.gx-required-field-filled.ant-input-affix-wrapper,
.gx-required-field-filled.ant-input-number,
.gx-required-field-filled.ant-picker,
input.gx-required-field-filled,
textarea.gx-required-field-filled,
select.gx-required-field-filled {
  border-color: rgba(101, 216, 175, 0.24);
}

.ant-select.gx-required-field-missing .ant-select-selector,
.gx-required-field-missing .ant-select-selector {
  border-color: rgba(255, 113, 145, 0.72);
  background: rgba(122, 24, 43, 0.14);
}

.ant-select.gx-required-field-filled .ant-select-selector,
.gx-required-field-filled .ant-select-selector {
  border-color: rgba(101, 216, 175, 0.24);
}

.gx-required-field-missing .ant-select-selection-placeholder,
.gx-required-field-missing::placeholder {
  color: rgba(255, 214, 224, 0.82);
}

.gx-table-shell {
  overflow: auto;
  border-radius: var(--gx-radius-lg);
  background: rgba(6, 14, 28, 0.2);
  border: 1px solid var(--gx-color-border);
}

.gx-feedback-success {
  background: var(--gx-color-success-bg);
  border: 1px solid var(--gx-color-success-border);
}

.gx-feedback-danger {
  background: var(--gx-color-danger-bg);
  border: 1px solid var(--gx-color-danger-border);
}

@media (max-width: 768px) {
  .gx-button,
  .btn.gx-button,
  .ant-btn.gx-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

.input-style {
  background-color: white;
  color: black;
  width: 50%;
  margin: auto;
}

.form-control {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 0.5rem;
}

input::placeholder {
  color: white;
}

input:focus,
.form-control:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.custom-form input,
.custom-form .form-control,
.custom-form .ant-select-selector {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50px;
  min-height: 40px;
  padding: 0.7rem 1rem;
  line-height: normal;
  box-shadow: none;
}

.custom-form input::placeholder,
.custom-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.custom-form input:focus,
.custom-form .form-control:focus,
.custom-form .ant-select-selector:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.custom-form .ant-select-selector {
  display: flex;
  align-items: center;
}

.custom-radio .form-check-input {
  border-radius: 0;
  width: 10px;
  height: 10px;
  background-color: transparent;
}

.custom-radio .form-check-input:checked {
  background-color: white;
  border-color: white;
}

.custom-table {
  border-collapse: separate;
  border-spacing: 8px;
  width: 100%;
  table-layout: fixed;
  background-color: transparent;
}

.custom-table-header {
  background-color: rgba(185, 185, 185, 0.9);
  border-radius: 10px;
  padding: 6px 12px 12px;
  color: black;
  font-size: 0.9rem;
  border: none;
  text-align: center;
  width: 50%;
  margin-right: 5%;
}

.custom-table-data {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 12px 12px 6px;
  font-size: 0.9rem;
  border: none;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  word-wrap: break-word;
}

.custom-table-row {
  background-color: transparent;
}

.label {
  font-weight: bold;
  font-size: 1.1em;
  color: white;
  display: inline-block;
}

.table-container {
  border-color: #050227;
  border-collapse: separate;
  border-spacing: 8px;
  width: 100%;
}

.table-header {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 1);
  color: white;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.table-header th {
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.table-body {
  background-color: transparent;
}

.table-row {
  background-color: transparent;
}

.table-cell {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

#__react-alert__ div div div {
  width: 100%;
  height: 5vw;
}

.gif-box {
  display: flex;
  justify-content: center;
}

.gif-notification-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  padding: 10px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html,
body {
  height: 100%;
  margin: 0;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
}

footer {
  background: #f8f9fa;
  padding: 1rem 0;
  text-align: center;
}

.app-route-loading { min-height: 100svh; display: grid; place-items: center; background: #171c19; color: #f4f2eb; font: 16px Arial, sans-serif; }

.gif-notification-rotator {
  --gif-notification-width: 400px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: min(var(--gif-notification-width), calc(100vw - 24px));
  min-height: 110px;
  padding: 0.95rem 1rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(8, 15, 28, 0.92), rgba(6, 14, 26, 0.8)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.gif-notification-rotator-media {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gif-notification-rotator-body {
  min-width: 0;
  flex: 1 1 auto;
}

.gif-notification-rotator-text {
  margin: 0;
  color: white;
  font-size: 0.9rem;
  line-height: 1.45;
}

.gif-notification-rotator-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.gif-notification-rotator-close:hover {
  color: white;
}

.gif-notification-rotator-close:focus-visible {
  border-radius: 999px;
}

@media (max-width: 576px) {
  .gif-notification-rotator {
    right: 12px;
    bottom: 12px;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem 0.85rem;
  }

  .gif-notification-rotator-text {
    font-size: 0.84rem;
  }
}

