/* Custom League Team Modal Styles */
.cl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1050;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cl-modal-overlay.open {
    display: flex;
}

.cl-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 750px;
    height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cl-modal-header {
    padding: 18px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: #e8620a;
}

.cl-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.cl-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cl-modal-close:hover {
    opacity: 0.8;
}

.cl-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Team Stats Grid */
.team-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.team-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.team-stat-val {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.team-stat-lbl {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Team Player Chip */
.team-player-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-weight: 500;
}

.team-player-chip:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Fixture Row */
.cl-tm-fx-row {
    cursor: pointer;
    transition: background 0.12s;
}

.cl-tm-fx-row:hover {
    background: #f9fafb !important;
}

@media (max-width: 768px) {
    .cl-modal-box {
        max-width: 100%;
        height: 100vh;
    }
}
