/* DOSYA YOLU: home/osm_helper/public_html/scout/scout.css */
/* Modal content */
.modal-content .icons-row {
    text-align: center;
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}
.modal-content .favorite-btn,
.modal-content .select-btn {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: cover;
    cursor: pointer;
    vertical-align: middle;
    margin-left: var(--space-sm);
}
/* Icons */
.favorite-icon,
.select-icon,
.position-icon {
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: cover;
    margin-right: 5px;
    vertical-align: middle;
}
.favorited,
.selected-icon {
    cursor: pointer;
}
/* Boost */
.boost-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-left: var(--margin-xs);
    font-weight: bold;
}
.boost-amount {
    color: var(--primary-color);
    font-weight: bold;
}
/* Rating bar */
.rating-bar {
    height: 20px;
    border-radius: var(--radius-md);
    background: var(--border-color);
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
}
.rating-fill {
    height: 100%;
    border-radius: var(--radius-md);
    background-color: #8ab0ff;
    position: absolute;
    left: 0;
    top: 0;
}
.rating-text {
    position: relative;
    font-weight: 700;
    z-index: 1;
}
/* Compare modal */
.compare-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-top: 10px;
      overflow: hidden; /* Başlık dışarı taşmasın diye */
}
.compare-table-wrapper {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.compare-table-wrapper::-webkit-scrollbar {
    display: none;
}
#compareModal .modal-content {
    width: auto;
    max-width: 785px;
    max-height: 100%;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
    background: white;
}
.compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    table-layout: fixed; /* SÜTUN GENİŞLİKLERİNİ SABİT TUTMAK İÇİN EKLENDİ */
}
#compareContent {
    overflow-x: hidden; /* modal panel içinde kaydırma */
}
.compare-table th,
.compare-table td {
    padding: var(--space-sm);
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color-text);
    white-space: nowrap;
    background: var(--first-layer-color);
    vertical-align: middle;
}
.compare-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
    color: red;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    vertical-align: middle;
    padding: var(--space-sm);
}
.compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 150px;
    text-align: left;
    font-weight: 500;
    color: var(--secondary-text-color);
    background: var(--first-layer-color);
}
.compare-table th:first-child {
    position: sticky;
    left: 0;
    background: white;
    z-index: 3;
}
.compare-table th:first-child,
.compare-table td:first-child {
    width: 150px;
}
.compare-table th:nth-child(2),
.compare-table th:nth-child(3),
.compare-table th:nth-child(4),
.compare-table td:nth-child(2),
.compare-table td:nth-child(3),
.compare-table td:nth-child(4) {
    width: 200px;
}
.compare-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}
.compare-table th .player-name {
    display: block;
    margin: var(--space-md);
    padding-bottom: var(--space-xs);
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 3px solid var(--primary-color);
    text-transform: none;
    -webkit-background-clip: text;
    background-clip : text;
    -webkit-text-fill-color: transparent;
    cursor: default;
}
.compare-table .group-header-row td {
    background: var(--border-color) !important;
}
.compare-table .group-header-row td:first-child {
    color: var(--primary-text-color) !important;
    font-weight: 700 !important;    
}
/* Others */
.no-favorited-container {
  display: none;
  justify-content: center;
}
.no-favorited-info {
  margin-top: 20px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: bold;
}
@media (max-width: 768px) {
    .compare-table th,
    .compare-table td {
        font-size: var(--font-size-sm);
    }
    .compare-table-wrapper {
        overflow-x: auto; /* Yatay scroll */
    }
    .compare-table th .player-name {
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .rating-bar {
        min-width: 60px;
    }
    .boost-icon {
        width: 18px;
        height: 18px;
    }
    .favorite-icon,
    .select-icon {
        width: 20px;
        height: 20px;
    }
}