.table td,
.table th {
  vertical-align: middle;
}

.stat-card {
  min-height: 118px;
}

.form-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5d6678;
  text-transform: uppercase;
  letter-spacing: 0;
}

.asset-code {
  font-family: Consolas, Monaco, monospace;
  font-size: 0.88rem;
}

.card-stats {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a .card-stats:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 45, 61, 0.12);
}

.nav-collapse .sub-item i {
  width: 18px;
  text-align: center;
}

.argox-locked-action {
  cursor: not-allowed;
  border-color: #d7dce5;
}

.argox-status-filter .dropdown-menu {
  min-width: 260px;
}

.argox-status-summary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.system-link-card {
  overflow: hidden;
}

.system-link-preview {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3f5f9;
  border-bottom: 1px solid #e4e8f0;
}

.system-link-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.system-link-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #7b8496;
  font-size: 32px;
}

.system-link-category {
  font-size: 0.76rem;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 700;
}

.system-link-title {
  display: block;
  margin-top: 2px;
  color: #111827;
  font-size: 1.08rem;
  font-weight: 700;
}

.system-link-desc {
  margin-top: 6px;
  color: #4b5563;
  min-height: 38px;
}

.print-document {
  max-width: 960px;
  margin: 0 auto;
  color: #1f2937;
  background: #fff;
}

.print-doc-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid #1f2937;
}

.print-doc-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
}

.print-doc-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
}

.print-doc-code {
  padding: 8px 12px;
  border: 1px solid #1f2937;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.doc-section-title {
  margin: 18px 0 8px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #111827;
}

.doc-info-table,
.doc-line-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-info-table th,
.doc-info-table td,
.doc-line-table th,
.doc-line-table td {
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  vertical-align: top;
}

.doc-info-table th,
.doc-line-table th {
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
}

.doc-info-table th {
  width: 17%;
}

.doc-info-table td {
  width: 33%;
}

.doc-signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  text-align: center;
}

.doc-signature-line {
  height: 62px;
  border-bottom: 1px solid #111827;
  margin-bottom: 8px;
}

.dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.dashboard-quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 45, 61, 0.05);
}

.dashboard-quick-action:hover {
  color: #1d67e9;
  border-color: #cbdcff;
  transform: translateY(-1px);
}

.dashboard-quick-action i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: #1d67e9;
  flex: 0 0 auto;
}

.dashboard-quick-action strong {
  display: block;
  font-size: 0.92rem;
}

.dashboard-quick-action small {
  color: #6b7280;
  display: block;
  line-height: 1.25;
}

.dashboard-stat-card {
  min-height: 104px;
}

.dashboard-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f5;
}

.dashboard-status-row:last-child {
  border-bottom: 0;
}

@media print {
  @page {
    size: A4;
    margin: 14mm;
  }

  body {
    background: #fff !important;
  }

  .sidebar,
  .main-header,
  .footer,
  .no-print,
  .card-header {
    display: none !important;
  }

  .main-panel,
  .container,
  .page-inner,
  .card,
  .card-body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .print-document {
    max-width: none;
    font-size: 11px;
  }

  .doc-info-table th,
  .doc-info-table td,
  .doc-line-table th,
  .doc-line-table td {
    padding: 6px 8px;
  }
}
