﻿.report-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #dce4ee;
  border-radius: 10px;
}

/* Header */
.report-table thead th {
  background: #074390;
  color: #fff;
  padding: 14px 18px;
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.report-table thead th:last-child {
  border-left: 0;
}

/* Cells */
.report-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #e4e9ef;
  vertical-align: middle;
}

/* Zebra rows */
.report-table tbody tr:nth-child(odd) {
  background: #fff;
}

.report-table tbody tr:nth-child(even) {
  background: #f1f5fa;
}

/* Hover */
.report-table tbody tr {
  transition: background-color 0.2s ease;
}

.report-table tbody tr:hover {
  background: #e7eef7;
}

/* Last row */
.report-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Download */
.report-table .download-link {
  color: #074390;
  text-decoration: none;
}

.report-table .download-link:hover {
  text-decoration: underline;
}

.report-table .download-link i {
  margin-left: 6px;
}
.codal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  direction: rtl;
}

.codal-pagination .pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 40px;
  height: 40px;
  padding: 0 13px;

  background: transparent;
  color: #5f6b7a;

  border: 1px solid #e1e6ec;
  border-radius: 8px;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.codal-pagination .pagination-btn:hover:not(:disabled):not(.active) {
  color: #074390;
  background: #f3f7fb;
  border-color: #b8c9dd;
  transform: translateY(-1px);
}

.codal-pagination .pagination-btn.active {
  color: #fff;
  background: #074390;
  border-color: #074390;
  box-shadow: 0 4px 12px rgba(7, 67, 144, 0.18);
}

.codal-pagination .pagination-btn:disabled {
  color: #b8bec7;
  background: #f8f9fb;
  border-color: #edf0f3;
  cursor: default;
  opacity: 1;
}

/* Previous / Next */
.codal-pagination .pagination-btn:first-child,
.codal-pagination .pagination-btn:last-child {
  min-width: 72px;
  padding: 0 16px;
}

/* Mobile */
@media (max-width: 576px) {
  .codal-pagination {
    gap: 5px;
    margin-top: 20px;
  }

  .codal-pagination .pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }

  .codal-pagination .pagination-btn:first-child,
  .codal-pagination .pagination-btn:last-child {
    min-width: 60px;
  }
}

.shareholder-name-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shareholder-color-indicator {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #074390;
}

.shareholder-color-indicator.is-others {
  background: #d7e5f5;
  border: 1px solid #9dbce0;
}

.shareholder-others-row {
  background: rgba(7, 67, 144, 0.035);
}

.shareholder-chart-wrapper {
  position: relative;
  width: 100%;
  height: 430px;
}
.shareholder-total-row td {
    font-weight: 700;
    background: #f4f7fb;
    color: #074390;
    border-top: 2px solid #074390;
}

.shareholder-total-row .col-title {
    font-weight: 700;
}