.page-informes #ic-shared-modal .modal-dialog {
  max-width: min(730px, 88vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  --bs-modal-margin: 10px !important;
}

#ic-shared-modal .modal-dialog,
.ic-shared-modal-premium .modal-dialog {
  max-width: min(730px, 88vw) !important;
  width: min(730px, 88vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  --bs-modal-margin: 10px !important;
}

#ic-shared-modal .modal-dialog.modal-dialog-centered,
.ic-shared-modal-premium .modal-dialog.modal-dialog-centered {
  min-height: calc(100vh - 20px) !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.page-informes #ic-shared-modal .modal-content {
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(201, 162, 39, 0.70) !important;
  box-shadow:
    0 22px 60px rgba(0, 21, 64, 0.34),
    0 0 0 1px rgba(201, 162, 39, 0.20) !important;
  max-height: calc(100vh - 20px) !important;
  height: calc(100vh - 20px) !important;
  display: flex !important;
  flex-direction: column !important;
}

.ic-shared-modal-premium .modal-content {
  max-height: calc(100vh - 20px) !important;
  height: calc(100vh - 20px) !important;
  display: flex !important;
  flex-direction: column !important;
}

.page-informes #ic-shared-modal .modal-header {
  background: linear-gradient(135deg, #00489A 0%, #003270 100%) !important;
  padding: 11px 16px !important;
  border-bottom: none !important;
  box-shadow: inset 0 -2px 0 0 rgba(195,148,0,0.70), 0 2px 8px rgba(0,0,0,0.18) !important;
}

.page-informes #ic-shared-modal #ic-shared-modal-close {
  color: #c9a227 !important;
  opacity: 0.95 !important;
}

.page-informes #ic-shared-modal .modal-body {
  background: linear-gradient(180deg, #f6f9fe 0%, #eff4fb 100%) !important;
  padding: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.ic-shared-modal-premium .modal-body {
  background: linear-gradient(180deg, #f6f9fe 0%, #eff4fb 100%) !important;
  padding: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.page-informes #ic-shared-modal .modal-body > div,
.ic-shared-modal-premium .modal-body > div {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

.page-informes #ic-shared-modal table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #f8fbff 0%, #f0f5fc 100%) !important;
  border-bottom: 1px solid rgba(0, 53, 128, 0.12) !important;
}

.page-informes #ic-shared-modal table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.62);
}

.ic-shared-modal-premium .ic-shared-table tbody tr.ic-shared-row {
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.ic-shared-modal-premium .ic-shared-table tbody tr.ic-shared-row:hover {
  background-color: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(0, 72, 154, 0.12);
}

.ic-shared-modal-premium .ic-shared-table tbody tr.ic-shared-row td {
  vertical-align: middle;
}

.page-informes #ic-shared-modal .modal-header .modal-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

.ic-shared-modal-premium .ic-shared-table-wrap {
  border: 1px solid rgba(201, 162, 39, 0.52) !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  padding-right: 0 !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
  scrollbar-gutter: stable;
}

.ic-shared-modal-premium .ic-shared-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}


.ic-shared-modal-premium .ic-context-pill {
  border-color: #c9a227 !important;
  color: #9d7b0f !important;
  background: rgba(201, 162, 39, 0.14) !important;
}

.ic-shared-modal-premium .ic-compare-now-btn {
  border: 1px solid rgba(0, 72, 154, 0.34) !important;
  background: linear-gradient(180deg, #f8fbff 0%, #e9f2ff 100%) !important;
  color: #0a4e99 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 1px 4px rgba(0, 32, 78, 0.08) !important;
  transition: box-shadow 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.ic-shared-modal-premium .ic-compare-now-btn:hover {
  filter: brightness(0.995);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 72, 154, 0.18) !important;
}

.ic-shared-modal-premium .ic-compare-now-btn:focus-visible {
  outline: 2px solid rgba(0, 72, 154, 0.35) !important;
  outline-offset: 1px;
}

.ic-shared-modal-premium .ic-shared-table-compact {
  table-layout: fixed;
  width: 100%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(1),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(1) {
  width: 23%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(2),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(2) {
  width: 17%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(3),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(3) {
  width: 9%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(4),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(4) {
  width: 11%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(5),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(5) {
  width: 22%;
}

.ic-shared-modal-premium .ic-shared-table-compact th:nth-child(6),
.ic-shared-modal-premium .ic-shared-table-compact td:nth-child(6) {
  width: 10%;
}

.ic-shared-modal-premium .ic-shared-table-comparables th,
.ic-shared-modal-premium .ic-shared-table-comparables td {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.ic-shared-modal-premium .ic-shared-table-comparables {
  width: 100% !important;
  margin: 0 auto !important;
}

.ic-shared-modal-premium .ic-shared-table-comparables thead th {
  font-size: 8.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.15 !important;
}

.ic-shared-modal-premium .ic-player-cell {
  min-width: 0;
}

.ic-shared-modal-premium .ic-player-cell > div {
  min-width: 0;
}

.ic-shared-modal-premium .ic-scout-chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.ic-shared-modal-premium .ic-open-report-chip {
  box-shadow: 0 1px 2px rgba(0, 21, 64, 0.08) !important;
}

.ic-shared-modal-premium .ic-player-avatar-stack {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.ic-shared-modal-premium .ic-player-club-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  background: #fff;
  border: 1px solid rgba(0, 53, 128, 0.14);
  border-radius: 50%;
  padding: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-player {
  text-align: left !important;
}

.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-scouts {
  text-align: left !important;
}

.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-count,
.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-date,
.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-action {
  text-align: center !important;
}


.ic-shared-modal-premium .ic-shared-table-comparables .ic-col-reports {
  text-align: left !important;
}
