:root {
  --adm-radius-s: 4px;
  --adm-radius-m: 8px;
  --adm-radius-l: 12px;
  --adm-font-size-1: 9px;
  --adm-font-size-2: 10px;
  --adm-font-size-3: 11px;
  --adm-font-size-4: 12px;
  --adm-font-size-5: 13px;
  --adm-font-size-6: 14px;
  --adm-font-size-7: 15px;
  --adm-font-size-8: 16px;
  --adm-font-size-9: 17px;
  --adm-font-size-10: 18px;
  --adm-color-primary: #1677ff;
  --adm-color-success: #00b578;
  --adm-color-warning: #ff8f1f;
  --adm-color-danger: #ff3141;
  --adm-color-yellow: #ff9f18;
  --adm-color-orange: #ff6430;
  --adm-color-wathet: #e7f1ff;
  --adm-color-text: #333333;
  --adm-color-text-secondary: #666666;
  --adm-color-weak: #999999;
  --adm-color-light: #cccccc;
  --adm-color-border: #eeeeee;
  --adm-color-background: #ffffff;
  --adm-color-highlight: var(--adm-color-danger);
  --adm-color-white: #ffffff;
  --adm-color-box: #f5f5f5;
  --adm-color-text-light-solid: var(--adm-color-white);
  --adm-color-text-dark-solid: #000000;
  --adm-color-fill-content: var(--adm-color-box);
  --adm-font-size-main: var(--adm-font-size-5);
  --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
    helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  --adm-border-color: var(--adm-color-border);
}
html[data-prefers-color-scheme='dark'] {
  --adm-color-primary: #3086ff;
  --adm-color-success: #34b368;
  --adm-color-warning: #ffa930;
  --adm-color-danger: #ff4a58;
  --adm-color-yellow: #ffa930;
  --adm-color-orange: #e65a2b;
  --adm-color-wathet: #0d2543;
  --adm-color-text: #e6e6e6;
  --adm-color-text-secondary: #b3b3b3;
  --adm-color-weak: #808080;
  --adm-color-light: #4d4d4d;
  --adm-color-border: #2b2b2b;
  --adm-color-box: #0a0a0a;
  --adm-color-background: #1a1a1a;
  --adm-color-background-body: var(--adm-color-background);
  --adm-border-color: var(--adm-color-border);
}
:root {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
  background-color: var(--adm-color-background-body);
}
body {
  color: var(--adm-color-text);
  font-size: var(--adm-font-size-main);
  font-family: var(--adm-font-family);
}
a,
button {
  cursor: pointer;
}
a {
  color: var(--adm-color-primary);
  transition: opacity ease-in-out 0.2s;
}
a:active {
  opacity: 0.8;
}
.adm-plain-anchor {
  color: unset;
  transition: none;
}
.adm-plain-anchor:active {
  opacity: unset;
}
body.adm-overflow-hidden {
  overflow: hidden !important;
}
div.adm-px-tester {
  --size: 1;
  height: calc(var(--size) / 2 * 2px);
  width: 0;
  position: fixed;
  left: -100vw;
  top: -100vh;
  -webkit-user-select: none;
          user-select: none;
  pointer-events: none;
}
.adm-safe-area {
  --multiple: var(--adm-safe-area-multiple, 1);
  display: block;
  width: 100%;
}
.adm-safe-area-position-top {
  padding-top: calc(env(safe-area-inset-top) * var(--multiple));
}
.adm-safe-area-position-bottom {
  padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));
}
.adm-badge-wrapper {
  display: inline-block;
  position: relative;
}
.adm-badge {
  display: inline-flex;
  vertical-align: middle;
  box-sizing: content-box;
  border-radius: 100px;
  background-color: var(--color);
  --right: 0;
  --top: 0;
  --color: var(--adm-badge-color, var(--adm-color-highlight));
}
.adm-badge-content {
  color: var(--adm-color-text-light-solid);
  box-sizing: border-box;
  min-width: 8px;
  padding: 1px 4px;
  font-size: var(--adm-font-size-1);
  line-height: 12px;
  white-space: nowrap;
  font-weight: normal;
  text-align: center;
}
.adm-badge-fixed {
  position: absolute;
  right: var(--right);
  top: var(--top);
  transform: translate(50%, -50%);
}
.adm-badge-dot {
  min-width: 10px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
}
.adm-badge-bordered {
  border: solid 1px var(--adm-color-text-light-solid);
}
.adm-tabs {
  --title-font-size: var(--adm-font-size-9);
  --content-padding: 12px;
  --active-line-height: 2px;
  --active-line-border-radius: var(--active-line-height);
  --active-line-color: var(--adm-color-primary);
  --active-title-color: var(--adm-color-primary);
  position: relative;
  min-width: 0;
}
.adm-tabs-header {
  position: relative;
  border-bottom: solid 1px var(--adm-color-border);
}
.adm-tabs-tab-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow-x: scroll;
  scrollbar-width: none;
}
.adm-tabs-tab-list::-webkit-scrollbar {
  display: none;
}
.adm-tabs-tab-wrapper {
  padding: 0 12px;
}
.adm-tabs-tab-wrapper-stretch {
  flex: auto;
}
.adm-tabs-tab {
  white-space: nowrap;
  padding: 8px 0 10px;
  width: -webkit-min-content;
  width: min-content;
  margin: 0 auto;
  font-size: var(--title-font-size);
  position: relative;
  cursor: pointer;
}
.adm-tabs-tab-active {
  color: var(--active-title-color);
}
.adm-tabs-tab-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.adm-tabs-tab-line {
  position: absolute;
  bottom: 0;
  height: var(--active-line-height);
  background: var(--active-line-color);
  border-radius: var(--active-line-border-radius);
}
.adm-tabs-content {
  padding: var(--content-padding);
}
.adm-tabs-header-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 30px;
  height: 100%;
  pointer-events: none;
}
.adm-tabs-header-mask-left {
  left: 0;
  background: linear-gradient(to right, var(--adm-color-background), rgba(255, 255, 255, 0));
}
.adm-tabs-header-mask-right {
  right: 0;
  background: linear-gradient(to left, var(--adm-color-background), rgba(255, 255, 255, 0));
}
.adm-tab-bar-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  min-height: 48px;
}
.adm-tab-bar-item {
  flex: 1;
  color: var(--adm-color-text-secondary);
  white-space: nowrap;
  padding: 4px 8px;
  width: -webkit-min-content;
  width: min-content;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.adm-tab-bar-item-icon {
  font-size: 24px;
  height: 24px;
  line-height: 1;
}
.adm-tab-bar-item-title {
  font-size: var(--adm-font-size-2);
  line-height: 15px;
}
.adm-tab-bar-item-title-with-icon {
  margin-top: 2px;
}
.adm-tab-bar-item-active {
  color: var(--adm-color-primary);
}
.adm-tab-bar-icon-badge {
  --top: 6px;
}
.adm-tab-bar-title-badge {
  --right: -2px;
  --top: -2px;
}
/**
 * Global Mobile Styles - 2026 PWA Standard
 * 
 * This file contains CSS variables and global styles that ensure
 * a native-like mobile experience when the app is installed as a PWA.
 * 
 * Features:
 * - Safe area handling for notched devices (iPhone X+, etc.)
 * - Touch-optimized tap targets (44px minimum)
 * - Smooth scrolling and momentum
 * - Disable text selection on interactive elements
 * - Prevent pull-to-refresh conflicts
 * - iOS-specific optimizations
 */

/* =============================================================================
   CSS VARIABLES - Responsive Design Tokens
   ============================================================================= */

:root {
  /* Safe Area Insets */
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-right: env(safe-area-inset-right, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-inset-left: env(safe-area-inset-left, 0px);
  
  /* Spacing - Mobile First */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  
  /* Touch Targets */
  --min-tap-target: 44px;
  --button-height-mobile: 44px;
  --button-height-desktop: 32px;
  
  /* Typography - Mobile */
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-md: 15px;
  --font-size-lg: 17px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  
  /* Layout */
  --header-height-mobile: 56px;
  --header-height-desktop: 64px;
  --bottom-nav-height: 68px;
  --sidebar-width: 256px;
  --sidebar-collapsed-width: 72px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Z-Index Layers */
  --z-index-dropdown: 1050;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
  --z-index-notification: 1080;
  
  /* Transitions */
  --transition-fast: 0.1s ease-out;
  --transition-normal: 0.2s ease-out;
  --transition-slow: 0.3s ease-out;
}

/* Desktop overrides */
@media (min-width: 768px) {
  :root {
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;
    
    --min-tap-target: 32px;
  }
}

/* =============================================================================
   GLOBAL RESETS & BASE STYLES
   ============================================================================= */

* {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  /* Prevent iOS text size adjustment */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  
  /* Smooth scrolling */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Prevent overscroll bounce on iOS */
  overscroll-behavior: none;
  
  /* Enable momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

/* =============================================================================
   MOBILE-SPECIFIC STYLES (< 768px)
   ============================================================================= */

@media (max-width: 767px) {
  /* Safe area padding for notched devices */
  body {
    padding-top: var(--safe-area-inset-top);
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right);
  }
  
  /* Larger touch targets for all interactive elements */
  button,
  a,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .ant-btn,
  .ant-menu-item,
  .ant-list-item,
  .ant-card,
  .adm-button,
  .adm-list-item {
    min-height: var(--min-tap-target);
    min-width: var(--min-tap-target);
  }
  
  /* Disable text selection on interactive elements */
  button,
  a,
  .ant-btn,
  .ant-menu-item,
  .ant-tabs-tab,
  .adm-button,
  .adm-tabs-tab {
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Better scrolling containers */
  .ant-table-body,
  .ant-list,
  .ant-modal-body,
  .ant-drawer-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  
  /* Prevent pull-to-refresh on scrollable areas */
  .mobile-scroll-container {
    overscroll-behavior-y: contain;
  }
  
  /* Full-width inputs on mobile */
  .ant-input,
  .ant-select,
  .ant-picker,
  .ant-input-number,
  .adm-input,
  .adm-text-area {
    width: 100% !important;
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
  
  /* Larger form controls */
  .ant-form-item-label > label {
    font-size: var(--font-size-md);
  }
  
  /* Modal adjustments for mobile */
  .ant-modal {
    max-width: calc(100vw - 32px) !important;
    margin: 16px auto !important;
  }
  
  .ant-modal-content {
    border-radius: var(--radius-lg) !important;
  }
  
  /* Drawer adjustments for mobile */
  .ant-drawer-content-wrapper {
    max-width: 100vw !important;
  }
  
  /* Table responsive adjustments */
  .ant-table {
    font-size: var(--font-size-sm);
  }
  
  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > td {
    padding: var(--spacing-sm) var(--spacing-md) !important;
  }
  
  /* Card adjustments */
  .ant-card {
    border-radius: var(--radius-lg);
  }
  
  .ant-card-body {
    padding: var(--spacing-md);
  }
  
  /* Hide desktop-only elements */
  .desktop-only {
    display: none !important;
  }
}

/* =============================================================================
   DESKTOP-SPECIFIC STYLES (>= 768px)
   ============================================================================= */

@media (min-width: 768px) {
  /* Hide mobile-only elements */
  .mobile-only {
    display: none !important;
  }
  
  /* Standard scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
  }
}

/* =============================================================================
   PWA SPECIFIC STYLES
   ============================================================================= */

/* Standalone mode (installed PWA) */
@media (display-mode: standalone) {
  body {
    /* Remove any browser chrome spacing */
    padding-top: var(--safe-area-inset-top);
  }
  
  /* Ensure header respects safe area */
  .app-header {
    padding-top: var(--safe-area-inset-top);
  }
  
  /* Bottom navigation safe area */
  .bottom-navigation {
    padding-bottom: var(--safe-area-inset-bottom);
  }
}

/* Window controls overlay (desktop PWA) */
@media (display-mode: window-controls-overlay) {
  .app-header {
    padding-left: env(titlebar-area-x, 0);
    padding-top: env(titlebar-area-y, 0);
    height: env(titlebar-area-height, var(--header-height-desktop));
  }
}

/* =============================================================================
   ANT DESIGN MOBILE OVERRIDES
   ============================================================================= */

/* Ensure antd-mobile components respect safe areas */
.adm-popup-body {
  padding-bottom: calc(var(--spacing-lg) + var(--safe-area-inset-bottom));
}

.adm-action-sheet-button-list {
  padding-bottom: var(--safe-area-inset-bottom);
}

.adm-tab-bar {
  padding-bottom: var(--safe-area-inset-bottom);
}

/* Pull to refresh styling */
.adm-pull-to-refresh {
  --color: var(--adm-color-primary, #1677ff);
}

/* Swipe action styling */
.adm-swipe-action-actions {
  --background: var(--adm-color-primary, #1677ff);
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

/* Safe area utilities */
.safe-area-top {
  padding-top: var(--safe-area-inset-top);
}

.safe-area-bottom {
  padding-bottom: var(--safe-area-inset-bottom);
}

.safe-area-left {
  padding-left: var(--safe-area-inset-left);
}

.safe-area-right {
  padding-right: var(--safe-area-inset-right);
}

.safe-area-all {
  padding: var(--safe-area-inset-top) var(--safe-area-inset-right) var(--safe-area-inset-bottom) var(--safe-area-inset-left);
}

/* Touch-friendly tap target */
.tap-target {
  min-width: var(--min-tap-target);
  min-height: var(--min-tap-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Scrollable container with momentum */
.scroll-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Horizontal scroll without scrollbar */
.horizontal-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* Text truncation utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive visibility */
.show-mobile {
  display: none;
}

.show-desktop {
  display: block;
}

@media (max-width: 767px) {
  .show-mobile {
    display: block;
  }
  
  .show-desktop {
    display: none;
  }
  
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* =============================================================================
   ANIMATION UTILITIES
   ============================================================================= */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Smooth transitions */
.transition-fast {
  transition: all var(--transition-fast);
}

.transition-normal {
  transition: all var(--transition-normal);
}

.transition-slow {
  transition: all var(--transition-slow);
}

/* =============================================================================
   DARK MODE SUPPORT
   ============================================================================= */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
  
  /* Scrollbar in dark mode */
  @media (min-width: 768px) {
    ::-webkit-scrollbar-track {
      background: #2a2a2a;
    }
    
    ::-webkit-scrollbar-thumb {
      background: #555;
    }
    
    ::-webkit-scrollbar-thumb:hover {
      background: #666;
    }
  }
}
/* Import Ant Design CSS */
/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
/* GETS HR System - Global Styles (Aligned with HSE Module) */
:root {
  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  line-height: 1.5;
  font-weight: 400;

  /* Color Scheme */
  color-scheme: light;
  color: rgba(0, 0, 0, 0.87);
  background-color: #ffffff;

  /* Text Rendering */
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #f5f5f5;
}
body {
  display: block;
  place-items: unset;
}
#root {
  min-height: 100vh;
}
/* ============================================
   Table Styles - Employee Management
   ============================================ */
/* Employee Table */
.employee-table .ant-table-cell {
  font-size: 14px;
}
.employee-id {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #1890ff;
}
.employee-name {
  font-weight: 600;
  color: #262626;
}
.employee-position-subtitle {
  font-size: 11px;
  color: #8c8c8c;
  font-style: italic;
}
.employee-count-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  border-radius: 12px;
  color: #52c41a;
  font-weight: 500;
}
.employee-department-tag {
  display: inline-block;
  padding: 3px 8px;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #595959;
}
/* Legacy recruitment classes (backward compatibility) */
.recruitment-table .ant-table-cell {
  font-size: 14px;
}
.recruitment-ref {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #1890ff;
}
.recruitment-position {
  font-weight: 600;
  color: #262626;
}
.recruitment-position-subtitle {
  font-size: 11px;
  color: #8c8c8c;
  font-style: italic;
}
.recruitment-count {
  display: inline-block;
  padding: 2px 8px;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  border-radius: 12px;
  color: #52c41a;
  font-weight: 500;
}
.recruitment-department {
  display: inline-block;
  padding: 3px 8px;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #595959;
}
/* ============================================
   PWA Specific Styles
   ============================================ */
@media all and (display-mode: standalone) {
  body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
}
/* ============================================
   Accessibility - Focus Styles
   ============================================ */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}
/* ============================================
   Mobile Responsive - Prevent iOS Zoom
   ============================================ */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px;
  }
}
/* ============================================
   Layout Positioning Fixes
   ============================================ */
/* Fix for dropdown positioning in fixed header - Simplified approach */
.ant-layout-header {
  position: relative;
}
/* ============================================
   Z-Index Management (SAFE)
   ============================================ */
/* Modals and Drawers - Base layer */
.ant-modal-root {
  z-index: 1050 !important;
}
.ant-drawer {
  z-index: 1050 !important;
}
.ant-modal-mask {
  z-index: 1050 !important;
}
.ant-drawer-mask {
  z-index: 1050 !important;
}
/* Dropdowns - Above modals */
.ant-dropdown {
  z-index: 1060 !important;
}
.ant-dropdown-menu {
  z-index: 1060 !important;
}
.ant-select-dropdown {
  z-index: 1060 !important;
}
.ant-picker-dropdown {
  z-index: 1060 !important;
}
/* Tooltips - Top layer */
.ant-tooltip {
  z-index: 1070 !important;
}
/* User profile dropdown specific fixes - Non-conflicting approach */
.user-profile-dropdown {
  z-index: 1060 !important;
}
/* ============================================
   Animation Optimizations
   ============================================ */
/* REMOVED CONFLICTING RULES - Let Ant Design handle positioning naturally */
/* Safe dropdown optimizations */
.ant-dropdown {
  animation-duration: 0.2s; /* Restored smooth animations */
}
.ant-dropdown-slide-up-enter,
.ant-dropdown-slide-up-leave {
  animation-duration: 0.2s; /* Restored smooth animations */
}
/* ============================================
   Modal & Drawer Spacing
   ============================================ */
/* Ensure modal content doesn't get cut off by footer */
.ant-modal-content {
  margin-bottom: 60px;
}
.ant-drawer-content-wrapper {
  margin-bottom: 60px;
}
/* Responsive modal spacing */
@media (max-width: 768px) {
  .ant-modal-content {
    margin-bottom: 70px;
  }
  
  .ant-drawer-content-wrapper {
    margin-bottom: 70px;
  }
}
/* Crystal Effects Global Styles */

/* Base Crystal Card */
.crystal-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Premium Crystal Card (Enhanced) */
.crystal-card-premium {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

/* Subtle Crystal Card (Light) */
.crystal-card-subtle {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.crystal-card-subtle:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Dark Crystal Card */
.crystal-card-dark {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-dark:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* State Cards with Colored Crystal Effects */
.crystal-card-success {
  background: linear-gradient(145deg, rgba(82, 196, 26, 0.1), rgba(82, 196, 26, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(82, 196, 26, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(82, 196, 26, 0.15),
    0 2px 8px rgba(82, 196, 26, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-success:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(82, 196, 26, 0.2),
    0 4px 12px rgba(82, 196, 26, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.crystal-card-warning {
  background: linear-gradient(145deg, rgba(250, 173, 20, 0.1), rgba(250, 173, 20, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(250, 173, 20, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(250, 173, 20, 0.15),
    0 2px 8px rgba(250, 173, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-warning:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(250, 173, 20, 0.2),
    0 4px 12px rgba(250, 173, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.crystal-card-error {
  background: linear-gradient(145deg, rgba(255, 77, 79, 0.1), rgba(255, 77, 79, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 77, 79, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(255, 77, 79, 0.15),
    0 2px 8px rgba(255, 77, 79, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-error:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(255, 77, 79, 0.2),
    0 4px 12px rgba(255, 77, 79, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.crystal-card-info {
  background: linear-gradient(145deg, rgba(24, 144, 255, 0.1), rgba(24, 144, 255, 0.05));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(24, 144, 255, 0.2);
  border-radius: 12px;
  box-shadow: 
    0 8px 32px rgba(24, 144, 255, 0.15),
    0 2px 8px rgba(24, 144, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crystal-card-info:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(24, 144, 255, 0.2),
    0 4px 12px rgba(24, 144, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Utility Classes */
.crystal-floating {
  animation: crystal-float 6s ease-in-out infinite;
}

@keyframes crystal-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.crystal-glow {
  position: relative;
}

.crystal-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crystal-glow:hover::before {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .crystal-card,
  .crystal-card-premium,
  .crystal-card-subtle,
  .crystal-card-dark,
  .crystal-card-success,
  .crystal-card-warning,
  .crystal-card-error,
  .crystal-card-info {
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
  }
  
  .crystal-card:hover,
  .crystal-card-premium:hover,
  .crystal-card-subtle:hover,
  .crystal-card-dark:hover,
  .crystal-card-success:hover,
  .crystal-card-warning:hover,
  .crystal-card-error:hover,
  .crystal-card-info:hover {
    transform: translateY(-1px);
  }
  
  .crystal-card-premium:hover {
    transform: translateY(-2px) scale(1.01);
  }
}.adm-popup {
  --z-index: var(--adm-popup-z-index, 1000);
  position: fixed;
  z-index: var(--z-index);
}
.adm-popup-body {
  position: fixed;
  background-color: var(--adm-color-background);
  z-index: calc(var(--z-index) + 10);
}
.adm-popup-body .adm-popup-close-icon {
  position: absolute;
  z-index: 100;
}
.adm-popup-body-position-bottom {
  width: 100%;
  bottom: 0;
  left: 0;
}
.adm-popup-body-position-bottom .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-top {
  width: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-top .adm-popup-close-icon {
  right: 8px;
  bottom: 8px;
}
.adm-popup-body-position-left {
  height: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-left .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-right {
  height: 100%;
  top: 0;
  right: 0;
}
.adm-popup-body-position-right .adm-popup-close-icon {
  left: 8px;
  top: 8px;
}
.adm-popup-close-icon {
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  line-height: 1;
  color: var(--adm-color-weak);
}
.adm-mask {
  --z-index: var(--adm-mask-z-index, 1000);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index);
  display: block;
  width: 100%;
  height: 100%;
}
.adm-mask-aria-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.adm-mask-content {
  z-index: 1;
}
.adm-button {
  --color: var(--adm-color-text-light-solid);
  --text-color: var(--adm-button-text-color, var(--adm-color-text));
  --background-color: var(--adm-button-background-color, var(--adm-color-background));
  --border-radius: var(--adm-button-border-radius, 4px);
  --border-width: var(--adm-button-border-width, 1px);
  --border-style: var(--adm-button-border-style, solid);
  --border-color: var(--adm-button-border-color, var(--adm-color-border));
  color: var(--text-color);
  background-color: var(--background-color);
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  height: auto;
  padding: 7px 12px;
  margin: 0;
  font-size: var(--adm-font-size-9);
  line-height: 1.4;
  text-align: center;
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: opacity ease 0.15s;
  -webkit-user-select: none;
          user-select: none;
}
.adm-button:focus {
  outline: none;
}
.adm-button::before {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
  width: 100%;
  height: 100%;
  background-color: var(--adm-color-text-dark-solid);
  border: var(--border-width) var(--border-style) var(--adm-color-text-dark-solid);
  border-radius: var(--border-radius);
  opacity: 0;
  content: ' ';
  box-sizing: content-box;
}
.adm-button:active::before {
  opacity: 0.08;
}
.adm-button-default.adm-button-fill-outline {
  --background-color: transparent;
  --border-color: var(--adm-color-text);
}
.adm-button-default.adm-button-fill-none {
  --background-color: transparent;
  --border-width: 0px;
}
.adm-button:not(.adm-button-default) {
  --text-color: var(--adm-color-text-light-solid);
  --background-color: var(--color);
  --border-color: var(--color);
}
.adm-button:not(.adm-button-default).adm-button-fill-outline {
  --text-color: var(--color);
  --background-color: transparent;
}
.adm-button:not(.adm-button-default).adm-button-fill-none {
  --text-color: var(--color);
  --background-color: transparent;
  --border-width: 0px;
}
.adm-button-primary {
  --color: var(--adm-color-primary);
}
.adm-button-success {
  --color: var(--adm-color-success);
}
.adm-button-danger {
  --color: var(--adm-color-danger);
}
.adm-button-warning {
  --color: var(--adm-color-warning);
}
.adm-button-block {
  display: block;
  width: 100%;
}
.adm-button-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.adm-button-disabled:active::before {
  display: none;
}
.adm-button.adm-button-mini {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: var(--adm-font-size-main);
}
.adm-button.adm-button-mini.adm-button-shape-rounded {
  padding-left: 9px;
  padding-right: 9px;
}
.adm-button.adm-button-small {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: var(--adm-font-size-7);
}
.adm-button.adm-button-large {
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: var(--adm-font-size-10);
}
.adm-button.adm-button-shape-rounded {
  --border-radius: 1000px;
}
.adm-button.adm-button-shape-rectangular {
  --border-radius: 0;
}
.adm-button-loading {
  vertical-align: bottom;
}
.adm-button-loading-wrapper {
  display: flex;
  height: 1.4em;
  align-items: center;
  justify-content: center;
}
.adm-button-loading-wrapper > .adm-loading {
  opacity: 0.6;
}
.adm-dot-loading {
  display: inline-block;
}
.adm-pull-to-refresh-head {
  overflow: hidden;
  position: relative;
}
.adm-pull-to-refresh-head-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--adm-color-weak);
  display: flex;
  justify-content: center;
  align-items: center;
}
.adm-swipe-action {
  --background: var(--adm-color-background);
  background: var(--background);
  cursor: -webkit-grab;
  cursor: grab;
  overflow: hidden;
  touch-action: pan-y;
}
.adm-swipe-action-track {
  position: relative;
  overflow: visible;
}
.adm-swipe-action-actions {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: auto;
  white-space: nowrap;
}
.adm-swipe-action-actions-right {
  left: 100%;
  top: 0;
  height: 100%;
}
.adm-swipe-action-actions-left {
  right: 100%;
  top: 0;
  height: 100%;
}
.adm-swipe-action-action-button.adm-button {
  --border-radius: 0;
  --border-width: 0;
  --text-color: var(--adm-color-text-light-solid);
  padding-left: 20px;
  padding-right: 20px;
}
