/**
 * Team Roster Module Public Styles
 * Following Material UI and Tailwind principles for modern UI/UX
 */

/* Shared Header Styles for Player, League Table, and Team Headers */
.cmp-shared-header {
    position: relative;
    height: 200px;
    overflow: hidden;
    color: #ffffff;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #8b0000; /* Base color for browsers not supporting gradient */
    box-sizing: border-box;
}

.cmp-shared-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(120, 0, 0, 1) 0%, rgba(160, 0, 0, 0.9) 100%);
    z-index: 1;
}

.cmp-shared-header-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 85%;
    width: auto;
    z-index: 3;
}

/* League table specific header image */
.cmp-league-table-container .cmp-shared-header-image {
    right: auto;
    left: 5px;
    height: 70%;
    max-width: 30%;
    object-fit: contain;
    z-index: 2;
}

.cmp-shared-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px 30px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.cmp-shared-header-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 70%;
    width: 100%;
}

.cmp-shared-header-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmp-shared-header-number {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    z-index: 4;
}

.cmp-shared-header-team {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    max-width: 100%;
    overflow: hidden;
}

.cmp-shared-header-team-badge {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    margin-right: 10px;
}

.cmp-shared-header-team-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.cmp-shared-header-position {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 8px;
}

.cmp-shared-header-season {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 10px;
}

/* Responsive Shared Header Styles */
@media (max-width: 768px) {
    .cmp-shared-header {
        height: auto !important;
        min-height: 160px;
        max-height: 200px;
        padding-right: 0;
    }
    
    .cmp-shared-header-content {
        padding: 15px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    
    .cmp-shared-header-info {
        max-width: 100%;
    }
    
    .cmp-shared-header-title {
        font-size: 28px !important;
        line-height: 1.2;
    }
    
    /* Team badge and name adjustments */
    .cmp-shared-header-team {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 10px;
    }
    
    .cmp-shared-header-team-badge {
        height: 30px;
        max-width: 30px;
        margin-right: 8px !important;
    }
    
    .cmp-shared-header-team-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cmp-shared-header {
        height: auto !important;
        min-height: 140px;
        max-height: 180px;
        padding-right: 0;
    }
    
    .cmp-shared-header-content {
        padding: 10px 15px;
    }
    
    .cmp-shared-header-title {
        font-size: 22px !important;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .cmp-shared-header-number {
        font-size: 42px;
        right: 15px;
        padding: 6px 10px;
    }
    
    .cmp-shared-header-position,
    .cmp-shared-header-season {
        font-size: 12px !important;
        padding: 3px 6px !important;
        margin-right: 5px !important;
    }
    
    .cmp-shared-header-team {
        margin-bottom: 8px;
    }
    
    .cmp-shared-header-team-badge {
        height: 28px;
        max-width: 28px;
    }
    
    .cmp-shared-header-team-name {
        font-size: 12px;
    }
}

/* League Table Responsive Styles */
.cmp-league-table-container {
    max-width: 100%;
    overflow-x: auto;
}

.cmp-league-table-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.cmp-league-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.cmp-league-table th,
.cmp-league-table td {
    padding: 8px 6px;
    text-align: center;
    white-space: nowrap;
}

/* Column width adjustments */
.cmp-league-table .cmp-league-table-pos {
    width: 40px;
}

.cmp-league-table .cmp-league-table-team {
    width: auto;
    min-width: 180px;
    text-align: left;
}

.cmp-league-table .cmp-league-table-p,
.cmp-league-table .cmp-league-table-w,
.cmp-league-table .cmp-league-table-otw,
.cmp-league-table .cmp-league-table-otl,
.cmp-league-table .cmp-league-table-l,
.cmp-league-table .cmp-league-table-pts,
.cmp-league-table .cmp-league-table-gap {
    width: 40px;
}

.cmp-league-table .cmp-team-badge-small {
    max-height: 30px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.cmp-league-table .cmp-team-name {
    vertical-align: middle;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cmp-league-table .cmp-league-table-pos {
        width: 30px;
    }
    
    .cmp-league-table .cmp-league-table-team {
        min-width: 140px;
    }
    
    .cmp-league-table .cmp-team-badge-small {
        max-height: 25px;
        margin-right: 5px;
    }
}

/* Single Player Styles - Premium Design */
.cmp-single-player {
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Player Hero Section */
.cmp-player-hero {
    position: relative !important;
    height: 360px !important;
    background-size: cover !important;
    background-position: center !important;
    color: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
}

.cmp-player-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(120, 0, 0, 0.95) 0%, rgba(160, 0, 0, 0.85) 50%, rgba(190, 0, 0, 0.75) 100%);
    z-index: 1;
}

.cmp-player-hero-content {
    position: relative;
    z-index: 2;
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.cmp-player-hero-team {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cmp-player-hero-team-badge {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cmp-player-hero-team-name {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.9;
}

.cmp-player-hero-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.cmp-player-hero-details {
    max-width: 70%;
}

.cmp-player-hero-name {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.cmp-player-hero-position {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    margin-right: 12px;
    margin-bottom: 12px;
}

.cmp-player-hero-season {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 4px;
}

.cmp-player-hero-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.cmp-player-hero-number::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cmp-player-hero-image-container {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 45%;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.cmp-player-hero-image {
    height: 95%;
    max-height: 400px;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

.cmp-player-hero-image-placeholder {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 115, 232, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #ffffff;
    font-size: 120px;
    font-weight: bold;
    margin-right: 40px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .cmp-player-hero {
        height: 320px;
    }
    
    .cmp-player-hero-content {
        width: 70%;
        padding: 30px;
    }
    
    .cmp-player-hero-name {
        font-size: 36px;
    }
    
    .cmp-player-hero-number {
        width: 90px;
        height: 90px;
        font-size: 56px;
    }
    
    .cmp-player-hero-image-container {
        width: 40%;
    }
}

@media (max-width: 768px) {
    /* Force desktop-like layout */
    .cmp-player-hero {
        height: 360px !important;
        display: flex !important;
        flex-direction: row !important;
    }
    
    .cmp-player-hero-content {
        width: 60% !important;
        padding: 30px !important;
        order: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    /* Team badge and name adjustments */
    .cmp-player-hero-team {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .cmp-player-hero-team-badge {
        margin-right: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .cmp-player-hero-team-name {
        font-size: 16px !important;
    }
    
    .cmp-player-hero-image-container {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        height: 100% !important;
        width: 40% !important;
        order: 2 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        z-index: 5 !important;
    }
    
    .cmp-player-hero-image {
        height: 100% !important;
        width: auto !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .cmp-player-hero-main {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .cmp-player-hero-details {
        max-width: 70% !important;
    }
    
    .cmp-player-hero-name {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }
    
    .cmp-player-hero-number {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    /* Force desktop-like layout for small screens */
    .cmp-player-hero {
        height: 320px !important;
    }
    
    .cmp-player-hero-content {
        width: 60% !important;
        padding: 15px !important;
    }
    
    .cmp-player-hero-name {
        font-size: 24px !important;
        margin-bottom: 5px !important;
    }
    
    .cmp-player-hero-position,
    .cmp-player-hero-season {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }
    
    .cmp-player-hero-number {
        width: 60px !important;
        height: 60px !important;
        font-size: 36px !important;
        min-width: 60px !important;
    }
}

/* Roster Container */
.cmp-roster-container {
    margin: 32px 0;
}

.cmp-roster-header {
    margin-bottom: 24px;
}

.cmp-roster-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #1a73e8;
}

.cmp-roster-subtitle {
    font-size: 16px;
    color: #5f6368;
    margin: 0;
}

.cmp-roster-team-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.cmp-roster-team-badge {
    width: 48px;
    height: 48px;
    margin-right: 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #dadce0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-roster-team-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cmp-roster-team-name {
    font-size: 20px;
    font-weight: 500;
    color: #3c4043;
}

.cmp-roster-season {
    font-size: 16px;
    color: #5f6368;
    margin-left: 16px;
}

/* Roster Filters */
.cmp-roster-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cmp-roster-filter {
    flex: 1;
    min-width: 200px;
}

.cmp-roster-filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #5f6368;
    font-size: 14px;
}

.cmp-roster-filter-select {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #3c4043;
    background-color: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
}

.cmp-roster-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 24px;
}

.cmp-roster-filter-button:hover {
    background-color: #1765cc;
}

/* Roster Table */
.cmp-roster-table-container {
    overflow-x: auto;
    margin-bottom: 32px;
}

.cmp-roster-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.cmp-roster-table th,
.cmp-roster-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cmp-roster-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #5f6368;
    position: sticky;
    top: 0;
    z-index: 1;
}

.cmp-roster-table tr:hover {
    background-color: #f8f9fa;
}

.cmp-roster-table-number {
    width: 80px;
    text-align: center;
    font-weight: 500;
    color: #3c4043;
}

.cmp-roster-table-player {
    display: flex;
    align-items: center;
}

.cmp-roster-player-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 1px solid #dadce0;
}

.cmp-roster-player-info {
    display: flex;
    flex-direction: column;
}

.cmp-roster-player-name {
    font-weight: 500;
    color: #3c4043;
    margin-bottom: 2px;
}

.cmp-roster-player-position {
    font-size: 12px;
    color: #5f6368;
    font-weight: 400;
    background-color: #f1f3f4;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
}

.cmp-roster-player-sponsor {
    display: flex;
    align-items: center;
}

.cmp-roster-sponsor-image {
    max-width: 80px;
    max-height: 40px;
    margin-right: 8px;
    object-fit: contain;
}

.cmp-roster-sponsor-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
}

.cmp-roster-sponsor-link:hover {
    text-decoration: underline;
}

.cmp-roster-old-club {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    border: 1px solid #dadce0;
}

/* Player Card Grid */
.cmp-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cmp-player-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.cmp-player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cmp-player-card-header {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cmp-player-avatar {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fff;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cmp-player-card-body {
    padding: 48px 16px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cmp-player-number {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-player-name {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    text-align: center;
    color: #3c4043;
}

.cmp-player-details {
    margin-top: auto;
}

.cmp-player-detail {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #5f6368;
}

.cmp-player-detail-label {
    font-weight: 500;
    width: 80px;
    color: #5f6368;
}

.cmp-player-detail-value {
    flex: 1;
}

.cmp-player-sponsor {
    margin-top: 16px;
    text-align: center;
}

.cmp-player-sponsor-image {
    max-width: 100%;
    max-height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

/* Single Player Page */
.cmp-single-player {
    margin: 32px 0;
}

.cmp-player-header {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cmp-player-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    border-radius: 8px;
}

.cmp-player-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 16px;
    width: 100%;
}

.cmp-player-header-avatar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-player-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cmp-player-header-number {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmp-player-header-title {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.cmp-player-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.cmp-player-info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.cmp-player-info-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 16px 0;
    color: #3c4043;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.cmp-player-info-item {
    display: flex;
    margin-bottom: 12px;
}

.cmp-player-info-label {
    font-weight: 500;
    width: 120px;
    color: #5f6368;
}

.cmp-player-info-value {
    flex: 1;
}

.cmp-player-sponsor-card {
    text-align: center;
    padding: 24px;
}

/* Player Stats Styles */
.cmp-player-stats-card {
    padding: 24px;
}

.cmp-player-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.cmp-player-stats-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 8px;
    background-color: #f5f7fa;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cmp-player-stats-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cmp-player-stats-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1.2;
    margin-bottom: 4px;
}

.cmp-player-stats-label {
    font-size: 14px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Own & Loan Status Styles */
.cmp-player-ol-card {
    padding: 24px;
    margin-bottom: 24px;
    background-color: #f8f9fa;
    border-left: 4px solid #1a73e8;
}

.cmp-player-ol-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.cmp-player-ol-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.cmp-player-ol-home {
    border-left: 3px solid #34a853; /* Green for home */
}

.cmp-player-ol-away {
    border-left: 3px solid #ea4335; /* Red for away */
}

.cmp-player-ol-label {
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 8px;
}

.cmp-player-ol-value {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .cmp-player-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cmp-player-ol-status {
        grid-template-columns: 1fr;
    }
}

.cmp-player-sponsor-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 16px 0;
    color: #5f6368;
}

.cmp-player-sponsor-logo {
    max-width: 200px;
    max-height: 80px;
    margin-bottom: 16px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .cmp-roster-team-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cmp-roster-team-badge {
        margin-bottom: 8px;
    }
    
    .cmp-roster-season {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .cmp-player-header {
        height: 200px;
    }
}

@media screen and (max-width: 600px) {
    .cmp-player-grid {
        grid-template-columns: 1fr;
    }
    
    .cmp-roster-table th:nth-child(3),
    .cmp-roster-table td:nth-child(3) {
        display: none;
    }
}
