

/* =========================================================
   GENERAL
   ========================================================= */

body {
    font-family: "Lato", sans-serif;
}

#top {
    padding-bottom: 180px;
}

#crfc6002-player-name,
#crfc6002-profile,
#crfc6002-eligibility,
#crfc6002-clubs,
#crfc6002-jersey-minutes,
#crfc6002-radar-panel,
#crfc6002-appearances,
#crfc6002-performance-details,
#crfc6002-performance-breakdown {
    box-sizing: border-box;
}

.crfc6002-appearance-season-image {
    width: 30px;
    height: 30px;
}

.crfc6002-section-heading {
    min-height: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    line-height: 2.2rem;
    color: #ffffff;
    background-color: #000000;
}

.crfc6002-note {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}

.playerProfileHold {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 920px;
    margin: 0 auto;
}

.playerProfileHold > .crfc6002-panel {
    flex: 0 1 450px;
    max-width: 450px;
    box-sizing: border-box;
    margin-top: 10px;
}


/* =========================================================
   PLAYER NAME
   ========================================================= */

.crfc6002-player-panel {
    text-align: center;
    margin-top: 10px;
}

.crfc6002-player-name {
    padding: 10px;
    font-size: 24px;
    font-weight: 700;
}

.crfc6002-player-head {
    text-align: center;
}

.crfc6002-player-image {
    width: 140px;
    height: 140px;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 50%;
}

.crfc6002-edit-note {
    padding: 10px;
    text-align: center;
}


/* =========================================================
   PLAYER PROFILE
   ========================================================= */

.crfc6002-profile {
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #D3D3D3;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;	
}

.crfc6002-profile-row {
    display: flex;
    align-items: center;
    min-height: 45px;
}

.crfc6002-profile-label {
    display: flex;
    align-items: center;
    width: 50%;
}

.crfc6002-profile-tag {
    margin-left: 10px;
}

.crfc6002-profile-value {
    display: flex;
    align-items: center;
    width: 50%;
}

.crfc6002-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}


/* =========================================================
   ELIGIBILITY
   ========================================================= */

.crfc6002-eligibility-content {
    padding: 5px;
    background-color: #d3d3d3;
    border-radius: 0 0 10px 10px;
}

.crfc6002-eligibility-row {
    display: flex;
    align-items: center;
}

.crfc6002-eligibility-cell {
    display: flex;
    align-items: center;
    padding: 5px;
}

.crfc6002-eligibility-flag {
    width: 60px;
    height: 60px;
    padding: 5px;
    box-sizing: border-box;
}


/* =========================================================
   CLUBS
   ========================================================= */

.crfc6002-clubs-content {
    padding: 10px;
    background-color: #d3d3d3;
    border-radius: 0 0 10px 10px;
}

.crfc6002-clubs-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.crfc6002-club {
    display: flex;
    align-items: center;
}

.crfc6002-club-crest {
    width: 60px;
    height: 60px;
    margin: 10px;
}


/* =========================================================
   JERSEYS WORN
   ========================================================= */

.crfc6002-jersey-content {
    padding: 10px;
    background-color: #d3d3d3;
    border-radius: 0 0 10px 10px;
}

.crfc6002-jersey-card {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    margin: 10px;
    text-align: center;
    vertical-align: top;
}

.crfc6002-jersey-svg {
    display: block;
    width: 100px;
    height: 110px;
    margin: 0 auto;
}

.crfc6002-jersey-tooltip {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 100%;
    display: none;
    width: 180px;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 5px;
    color: #ffffff;
    background-color: #333333;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    transform: translateX(-50%);
}

.crfc6002-jersey-card:hover .crfc6002-jersey-tooltip {
    display: block;
}

.crfc6002-jersey-minutes {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    color: white;
    background: #333333;
    border-radius: 5px;
    padding: 2px 5px;
}

.crfc6002-jersey-note {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}


/* =========================================================
   RADAR
   ========================================================= */

.crfc6002-radar-mobile {
    display: none;
}

.crfc6002-radar-desktop {
    display: block;
}

#crfc6002-radar-panel-desktop {
    width: 920px;
    overflow: hidden;
}

.crfc6002-radar-chart {
    width: 100%;
    text-align: center;
}

.crfc6002-radar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    line-height: 2.2rem;
    color: #ffffff;
    background-color: var(--crfc6002-radar-heading-color);
}

.crfc6002-radar-heading span {
    padding: 0;
}

.crfc6002-radar-season {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.crfc6002-radar-content {
	display: flex;
	flex-direction: column;
	align-items: center;
    box-sizing: border-box;
    width: 100%;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    border-radius: 0 0 10px 10px;
}

#crfc6002-radar {
    width: 100%;
    overflow: hidden
}

#crfc6002-radar svg {
    display: block;
    width: 100%;
    height: auto;
}

.crfc6002-radar-note {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}


/* =========================================================
   APPEARANCES
   ========================================================= */

.crfc6002-appearance-card {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px 0;
    border-radius: 10px;
    overflow: hidden;
}

.crfc6002-appearance-heading {
    min-height: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    line-height: 2.2rem;
    color: #ffffff;
    background-color: #000000;
}

.crfc6002-appearance-heading span {
    padding: 0;
}

.crfc6002-appearance-table {
    width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.crfc6002-appearance-column-headings,
.crfc6002-appearance-data-row,
.crfc6002-appearance-total {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    width: 100%;
    box-sizing: border-box;
}

.crfc6002-appearance-column-headings {
    padding: 5px 0;
    background-color: #d3d3d3;
    font-weight: 700;
}

.crfc6002-appearance-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
}

.crfc6002-appearance-season-image {
    width: 30px;
    height: 30px;
}

.crfc6002-appearance-total {
    color: var(--crfc6002-total-font, #ffffff);
    background-color: var(--crfc6002-total-background, #000000);
    line-height: 2.4;
    border-radius: 0 0 10px 10px;
}

.crfc6002-appearance-total-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
}

.crfc6002-appearance-total-label {
    border-radius: 0 0 0 10px;
}

.crfc6002-appearance-total-last {
    border-radius: 0 0 10px 0;
}

.crfc6002-appearance-no-data {
    width: 100%;
    box-sizing: border-box;
}

.crfc6002-appearance-no-data-text {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}


/* =========================================================
   PERFORMANCE DETAILS
   ========================================================= */

.crfc6002-performance-details {
    width: 920px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.crfc6002-performance-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 16px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    line-height: 2.2rem;
    color: #ffffff;
    background-color: #000000;
}

.crfc6002-performance-table {
    width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    border-radius: 0 0 10px 10px;
    overflow-x: auto;
}

.crfc6002-performance-seasons,
.crfc6002-performance-measure {
    display: grid;
    grid-template-columns: 140px repeat(var(--crfc6002-season-count), minmax(70px, 1fr));
    width: 100%;
    min-width: 500px;
    box-sizing: border-box;
}

.crfc6002-performance-seasons {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #d3d3d3;
}

.crfc6002-performance-seasons .crfc6002-performance-variable {
    background-color: #d3d3d3;
    z-index: 3;
}

.crfc6002-performance-measure:nth-child(even) {
    background-color: #f5f5f5;
}

.crfc6002-performance-measure:nth-child(odd) {
    background-color: #ffffff;
}

.crfc6002-performance-measure:nth-child(even) .crfc6002-performance-variable {
    background-color: #f5f5f5;
}

.crfc6002-performance-measure:nth-child(odd) .crfc6002-performance-variable {
    background-color: #ffffff;
}

.crfc6002-performance-variable,
.crfc6002-performance-season,
.crfc6002-performance-value {
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
}

.crfc6002-performance-variable {
    text-align: left;
    position: sticky;
    left: 0;
    z-index: 2;
    padding: 5px;
    box-sizing: border-box;
    text-align: left;
    background-color: #ffffff;
}

.crfc6002-performance-season,
.crfc6002-performance-value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.crfc6002-performance-season img {
    width: 30px;
    height: 30px;
}

.crfc6002-performance-note {
    padding: 15px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}


/* =========================================================
   PERFORMANCE BREAKDOWN
   ========================================================= */

.crfc6002-performance-breakdown {
    width: 100%;
    box-sizing: border-box;
}

.crfc6002-breakdown-content {
    width: 100%;
    box-sizing: border-box;
}


.crfc6002-breakdown-variable {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 140px;
    min-width: 140px;
    padding: 5px 10px;
    box-sizing: border-box;
    background-color: #ffffff;
    font-size: 12px;
    height: 100%;
}

.crfc6002-breakdown-games .crfc6002-breakdown-variable {
    z-index: 2;
}

.crfc6002-breakdown-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.crfc6002-breakdown-tabs li {
    display: inline-block;
    margin: 5px;
}

.crfc6002-breakdown-tabs img {
    width: 30px;
    height: 30px;
}

.crfc6002-breakdown-tab-content {
    width: 100%;
    box-sizing: border-box;
}

.crfc6002-breakdown-note {
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666666;
    text-align: center;
}


/* =========================================================
   SEASON IMAGES
   ========================================================= */

.crfc6002-season-icon {
    width: 30px;
    height: 30px;
}


.crfc6002-performance-scroll-note {
    display: none;
}

/* =========================================================
   PERFORMANCE DETAILS BREAKDOWN
   ========================================================= */

.crfc6002-breakdown-tabs {
    padding: 8px 10px 10px;
    box-sizing: border-box;
}

.crfc6002-breakdown-tabs ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crfc6002-breakdown-tabs li {
    margin: 0;
    padding: 0;
}

.crfc6002-season-icon {
    display: block;
    width: 36px;
    height: 36px;
}

.crfc6002-breakdown-tab-note {
    margin-top: 5px;
    text-align: center;
    font-size: 11px;
    color: #555555;
}

.crfc6002-breakdown-tab {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    font-size: 12px;
}

.crfc6002-breakdown-row {
    display: grid;
    grid-auto-columns: 70px;
    grid-auto-flow: column;
    grid-template-columns: 140px;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
}

.crfc6002-breakdown-measure {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    min-width: 70px;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
    font-size: 12px;
    height: 100%;
}

.crfc6002-breakdown-games {
    background-color: #d3d3d3;
    min-height: 40px;
}

.crfc6002-breakdown-games .crfc6002-breakdown-variable {
    background-color: #d3d3d3;
    z-index: 3;
}

.crfc6002-breakdown-games .crfc6002-breakdown-measure {
    background-color: #d3d3d3;
}

.crfc6002-breakdown-games img {
    width: 17px;
    height: 17px;
}

.crfc6002-breakdown-row:not(.crfc6002-breakdown-games) {
    border-top: 1px solid #d3d3d3;
}

.crfc6002-breakdown-row:nth-child(odd):not(.crfc6002-breakdown-games) {
    background-color: #ffffff;
}

.crfc6002-breakdown-row:nth-child(even):not(.crfc6002-breakdown-games) {
    background-color: #f5f5f5;
}

.crfc6002-breakdown-row:nth-child(even):not(.crfc6002-breakdown-games) {
    background-color: #f5f5f5;
}

.crfc6002-breakdown-row:not(.crfc6002-breakdown-games) {
    border-top: 1px solid #d3d3d3;
}

.crfc6002-breakdown-variable,
.crfc6002-breakdown-measure {
    background-color: transparent;
}

.crfc6002-breakdown-total {
    font-weight: 900;
}

.crfc6002-breakdown-variable,
.crfc6002-breakdown-tab, 
.crfc6002-breakdown-measure {
    font-size: 12px;
}

.crfc6002-breakdown-tabs li.selected .crfc6002-season-icon {
    width: 46px;
    height: 46px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .crfc6002-panel {
        margin-bottom: 15px;
    }
    
    .crfc6002-radar-desktop {
        display: none;
    }
    
    .crfc6002-radar-mobile {
        display: block;
    }

    #crfc6002-radar-mobile {
        width: 350px !important;
    	max-width: 350px !important;
    }    

    .crfc6002-section-heading {
        font-size: 15px;
    }

    .crfc6002-player-name {
        font-size: 21px;
    }

    .crfc6002-player-image {
        width: 120px;
        height: 120px;
    }

    .crfc6002-profile {
        padding: 5px;
    }

    .crfc6002-profile-row {
        min-height: 42px;
    }

    .crfc6002-profile-label,
    .crfc6002-profile-value {
        width: 50%;
    }

    .crfc6002-profile-tag {
        margin-left: 5px;
    }

    .crfc6002-clubs-content {
        padding: 5px;
    }

    .crfc6002-club-crest {
        width: 50px;
        height: 50px;
        margin: 5px;
    }

    .crfc6002-jersey-content {
        padding: 5px;
        gap: 5px;
    }

    .crfc6002-jersey-card {
        width: 100px;
        margin: 5px;
    }

    .crfc6002-jersey-svg {
        width: 90px;
        height: 100px;
    }

    .crfc6002-jersey-tooltip {
        width: 150px;
    }

    .crfc6002-jersey-minutes {
        font-size: 12px;
    }

    .crfc6002-appearance-card {
        margin-bottom: 15px;
    }

    .crfc6002-appearance-heading {
        font-size: 15px;
    }

    .crfc6002-appearance-column-headings {
        font-size: 12px;
    }

    .crfc6002-appearance-cell {
        padding: 4px 2px;
        font-size: 13px;
    }

    .crfc6002-appearance-total-cell {
        padding: 7px 2px;
        font-size: 12px;
    }

    .crfc6002-performance-seasons,
    .crfc6002-performance-measure {
        grid-template-columns: 110px repeat(6, 1fr);
    }

    .crfc6002-performance-variable,
    .crfc6002-performance-value {
        font-size: 12px;
    }

    .crfc6002-breakdown-variable {
        flex: 0 0 110px;
        font-size: 12px;
    }

    .crfc6002-breakdown-measure {
        font-size: 12px;
    }

    .crfc6002-season-icon {
        width: 30px;
        height: 30px;
    }

	.crfc6002-performance-scroll-note {
	    display: none;
	    margin-left: auto;
	    padding-left: 10px;
	    font-size: 11px;
	    line-height: 18px;
	    color: #ffffff;
	    white-space: nowrap;
	}
		
    .playerProfileHold > .crfc6002-panel {
        flex: 0 1 95vw;
        max-width: 95vw;
    }
    
    #crfc6002-radar-panel-mobile, .playerProfileHold, .crfc6002-performance-details {
    	width: 95vw;
    }
    
    .crfc6002-performance-heading {
        font-size: 15px;
    }

    .crfc6002-performance-scroll-note {
        display: block;
    }
    
    .crfc6002-breakdown-variable {
        width: 110px;
        min-width: 110px;
        font-size: 12px;
    }

    .crfc6002-breakdown-measure {
        width: 60px;
        font-size: 12px;
    }

    .crfc6002-season-icon {
        width: 30px;
        height: 30px;
    }
    
    .crfc6002-breakdown-tabs li.selected .crfc6002-season-icon {
	    width: 40px;
	    height: 40px;
	}

}



