/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
html,
body,
#root,
#app,
app {
  height: 100%;
}
.colorWeak {
  filter: invert(80%);
}
.ant-layout {
  min-height: 100vh;
}
canvas {
  display: block;
}
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul,
ol {
  list-style: none;
}
.action {
  cursor: pointer;
}
/* ===================================
   GLOBAL TABLE DESIGN SYSTEM
   
   This is the centralized table styling for the entire application.
   All AntDesign tables automatically inherit these styles.
   
   Features:
   - Clean borders and rounded corners
   - Subtle shadows for depth
   - Uppercase headers with letter-spacing
   - Hover effects on rows
   - Responsive design for mobile
   - Even/odd row striping (disabled in modals)
   - Summary row styling
   
   DO NOT add .ant-table styles in individual component files.
   All table customization should be done here to maintain consistency.
   =================================== */

/* Table Container */
.ant-table-wrapper {
  margin-top: 16px;
}

/* Table Base Styling */
.ant-table {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Table Header */
.ant-table-thead > tr > th {
  background: #fafafa;
  color: #6b7280;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e5e7eb;
  padding: 12px 16px;
}

/* Table Body Cells */
.ant-table-tbody > tr > td {
  color: #111827;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
}

/* Table Row Hover */
.ant-table-tbody > tr:hover > td {
  background: #f9fafb;
}

/* Last Row Border */
.ant-table-tbody > tr:last-child > td {
  border-bottom: none;
}

/* Summary/Footer Row */
.ant-table-summary > tr > td {
  font-weight: 700;
  background: #f9fafb;
  color: #111827;
  border-top: 2px solid #e5e7eb;
  padding: 14px 16px;
}

/* Odd Row Striping (Optional) */
.ant-table-tbody > tr:nth-child(even) > td {
  background: #fafafa;
}

.ant-table-tbody > tr:nth-child(even):hover > td {
  background: #f3f4f6;
}

/* Modal Tables - No Striping */
.ant-modal .ant-table-tbody > tr:nth-child(even) > td {
  background: transparent;
}

.ant-modal .ant-table-tbody > tr:nth-child(even):hover > td {
  background: #f9fafb;
}

/* Responsive Mobile Tables */
@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    font-size: 13px;
  }

  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > td {
    white-space: nowrap;
    padding: 10px 12px;
  }

  .ant-table-thead > tr > th {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .ant-table {
    font-size: 12px;
  }

  .ant-table-thead > tr > th,
  .ant-table-tbody > tr > td {
    padding: 8px 10px;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}
