/* ===== Company detail page only ===== */

.company-detail-info-card {
  border: 0 !important;
  box-shadow: none !important;
}

.company-detail-info-card .rates-card-top {
  border-bottom: 0 !important;
  background: transparent !important;
  padding-left: 0;
  padding-right: 0;
}

.company-detail-table-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden; /* needed for rounded table corners */
  background: #fff;
}

/* Override widths only for company detail table */
.company-detail-table-custom {
  table-layout: fixed;
  width: 100%;
}


.company-detail-table-custom th:not(:first-child),
.company-detail-table-custom td:not(:first-child) {
  width: auto;
}

/* Ensure full grid borders including right edge */
.company-detail-table-custom th,
.company-detail-table-custom td {
  border: 1px solid var(--border);
}

/* Keep body cell content compact in currency column */
.company-detail-table-custom td.text-start img {
  margin-right: 8px;
  vertical-align: middle;
}

.company-detail-table-custom th:first-child,
.company-detail-table-custom td:first-child {
  white-space: nowrap;
  max-width: 90px;
}

.company-detail-table-custom th,
.company-detail-table-custom td {
  padding: 8px 10px;
}

.aed-note {
  font-size: 0.85rem;
  color: #64748b;
  white-space: nowrap;
}