﻿:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --accent-cyan: #00d9ff;
    --accent-purple: #b74aff;
    --accent-orange: #ff6b35;
    --accent-green: #35ff90;
    --text-primary: #e8eaed;
    --text-secondary: #9ca3af;
    --border-color: #3d4050;
    /* #2a2f4a; */
    --success: #10b981;
    --warning: #030303;
    --failure: #8b2942;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.success {
    color: var(--accent-green) !important;
}

.failure {
    color: var(--accent-orange) !important;
}

.info {
    color: var(--accent-cyan) !important;
}



body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #141938 100%);
    color: var(--text-primary);
    font-family: 'Garet', sans-serif;
    font-size: 0.8rem;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ensures container is at least viewport height */
    margin: 0;
    /* Remove default body margin */
    color-scheme: dark;

    overflow-x: hidden;
}

div#legendGames {
    max-height: 200px;
    overflow: auto;
 
}

div#legendGames div {
    margin-bottom: 0.75rem;
}
 


.striked {
    text-decoration: line-through;
}


/* Header Styles */
.dashboard-header {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}


/* Top Filters */
.top-filters {
    background: var(--secondary-dark);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.filter-label {
    font-size: 0.80rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.form-select,
.form-control {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline;
}

.form-select:focus,
.form-control:focus {
    background: var(--primary-dark);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--accent-cyan);
}

.form-select option {
    background: var(--secondary-dark);
    color: var(--text-primary);
}

.btn-apply {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    padding: 0.65rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-cyan);
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.65rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.btn-reset:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}



/* Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.listAthletes {
    display: flex;
    align-items: center;
    padding-bottom: 6px;
}

/* Side Filters */
.side-filters {
    background: var(--secondary-dark);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: sticky;
    height: fit-content;
    top: 1rem; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    /* max-height: calc(100vh - 140px); */
    /* overflow-y: auto; */
}

.side-filters h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.dotStyle {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    margin-right: 8px;

}

/* Chart Container */
.chart-container {
    background: var(--secondary-dark);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.chart-title {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.chart-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



.chart-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 600;
}

.chart-tab.active {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    border-color: var(--accent-cyan);
}

.chart-tab:hover:not(.active) {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.buttonRadar {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 1rem;
}

.stat-card {
    background: var(--primary-dark);
    padding: 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-right:1rem;
    grid-column: span 6; background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%); border-left: 3px solid #00d9ff;
}

.stat-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-align: center;
}


.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.stat-value-green {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--accent-orange);
}


@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .side-filters {
        position: relative;
        top: 0;
        max-height: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

.dropdown-item {
    background-color: var(--secondary-dark);
    color: #D2DDE4;
}

.dropdown-menu.show {
    background-color: var(--secondary-dark);
    color: #D2DDE4;
    border: 1px solid var(--primary-dark);
}

.notify {
    background-color: #8b2942 !important;

}

.no-results {
    background-color: #8b2942 !important;
    color: #D2DDE4 !important;
    padding: 10px;
    text-align: center;
}

a:not([href]):hover {
    color: #565a5e !important;
    text-decoration: none;
}

.btn.dropdown-toggle.btn-light {
    background-color: var(--primary-dark);
    color: var(--text-primary) !important;
    border-color: var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-size: 0.80rem;
    transition: all 0.3s ease;
    /* display: block; */
    width: 100% !important;
}

.bootstrap-select {
    width: 100% !important;
}

.show>.btn-light.dropdown-toggle {
    background-color: var(--accent-purple) !important;
    border-color: #d3d9df;
}



.minLabel {
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    min-width: 38px;
    padding-right: 10px;
}

.shot-tooltip{
    opacity: 0.90;
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 20px;
    aspect-ratio: 1;
    background: #25b09b;
    box-shadow: 0 0 60px 15px #25b09b;
    transform: translate(-80px);
    clip-path: inset(0);
    animation:
        l4-1 0.5s ease-in-out infinite alternate,
        l4-2 1s ease-in-out infinite;
}

@keyframes l4-1 {
    100% {
        transform: translateX(80px)
    }
}

@keyframes l4-2 {
    33% {
        clip-path: inset(0 0 0 -100px)
    }

    50% {
        clip-path: inset(0 0 0 0)
    }

    83% {
        clip-path: inset(0 -100px 0 0)
    }
}

a {
    font-size: 14px;
    color: #d9d9d9;
}

.main-wrapper {
    flex-grow: 1;
    /* Pushes footer down */
    /* Ensures container is at least viewport height */
}

.footer {
    border-top: 1px solid #182c39;
    font-size: 12px;
}

.fa6 {
    font-size: 1.25em;
    cursor: pointer;
}

.dateField {
    width: 130px;
}




input[type=text],
input[type=date],
input[type=datetime-local],
input[type=month],
input[type=time] {
    background-color: var(--primary-dark);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

input::placeholder {
    color: var(--text-primary) !important;
}

input[type="checkbox"]:checked+label,
input[type="radio"]:checked+label {
    color: var(--success);
    /* Example style: change text color */
    font-weight: bold;
    /* Example style: make text bold */
}


.dropdown-header {
    /* OptGroup Titles */
    color: #D6E264;
    cursor: grab;
}

.notify {
    background-color: #8b2942 !important;
}

.switchData {
    text-align: right;
}

table {

    background-color: var(--secondary-dark) !important;
    margin-bottom: 2.5rem;
}

.table td{
    padding: 0.5rem !important;
}

table tbody tr:nth-child(odd) {
    background-color: var(--secondary-dark);
}

table tbody tr:nth-child(even) {
    background-color: var(--primary-dark);
}

.table-scroll-container {
    /* This container helps manage the overall layout, if needed */
    max-height: 800px;
    /* Optional: define a maximum height for the entire scroll area */
    overflow-y: auto;
    /* The actual scrolling is applied here */
    position: relative;
}
.table-scroll-container-small {
    /* This container helps manage the overall layout, if needed */
    max-height: 500px;
    /* Optional: define a maximum height for the entire scroll area */
    overflow-y: auto;
    /* The actual scrolling is applied here */
    position: relative;
}

.table-fixed-header thead th {
    position: sticky;
    /* Keeps the header at the top of the scrolling container */
    top: 0;
    /* Aligns it to the top */
    background-color: var(--primary-dark);
    z-index: 10;
    font-size: 12px;
    /* Ensures the header is above other table content */
}

.table-fixed-header {
    width: 100%;
    border-collapse: collapse;
    /* Optional: helps with table border consistency */
}


img.resize {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 2%;
}

.userImage {
    max-width: 100px;
}

.jghpiLogo {
    width: 75px;
    max-height: 75px;
    padding: 5px 10px 5px 5px;
}

.jgrLogo {
    height: 50px;
    padding: 5px 10px 5px 5px;
}

.nav-link {
    color: var(--accent-cyan) !important;
}

.nav-bg {
    background-color: var(--secondary-dark)
}


.tab-content {
    padding: 10px;
}


.quick-jump-container {
    position: fixed;
    right: 0;
    top: 184px;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
    text-align: right;
}

.fixTop {
    background-color: #29678b;
    color: white;
    padding: 15px 15px;
    border-radius: 5px 0 0 5px;
    white-space: nowrap;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    right: 100%;
    position: fixed;
    bottom: 10px;
    right: 0;
    cursor: pointer;
}

.errorNoData {

    background-color: #8b2942;
    color: white;
    width: 100%;
    padding: 5px 5px;
    border-radius: 5px;

}

.quick-jump-toggle {
    background-color: #8b2942;
    color: white;
    padding: 15px 15px;
    border-radius: 5px 0 0 5px;
    white-space: nowrap;
    /* Prevents text wrap */
}

.quick-jump-menu {
    display: none;
    flex-direction: column;
    background-color: #444;
    padding: 10px;
    border-radius: 0 0 0 5px;
    position: absolute;
    right: 100%;
    top: 0;
    overflow-y: auto;
    max-height: 600px;
}

.quick-jump-menu div {
    text-align: left;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.quick-jump-menu div:hover {
    background-color: #555;
}

.quick-jump-container:hover .quick-jump-menu {
    display: flex;
}

.title {
    color: #D6E264;
    font-size: 14px;
    padding: 4px 0px;
}

.title2 {
    font-size: 16px;
    padding: 4px 0px;
}

.hr {
    padding: 1px;
    height: 1px;
    background: linear-gradient(180deg, transparent 41%, #3983DC 41%, #3983DC 76%, transparent 76%);
}

.bootstrap-select {
    width: 100% !important;
}

.max300 {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    border: 1px solid #565a5e;
    padding: 10px;
    background-color: var(--secondary-dark)
}

.text-muted {
    display: none;
}


.btn:hover {
    color: #030F17;
    background-color: #D6E264;
    box-shadow: 0 10px 15px rgba(145, 92, 182, .4);
}


.radarChart {
    max-height: 300px;
}

.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc,
.tablesorter-default thead .tablesorter-headerSortUp {
    background-image: url("../images/up.png");
    background-position: 90% 70%;
    background-repeat: no-repeat;
    background-size: 15px;
    border-bottom: #D6E264 2px solid;
}

.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc,
.tablesorter-default thead .tablesorter-headerSortDown {
    background-image: url("../images/down.png");
    background-position: 90% 70%;
    background-repeat: no-repeat;
    background-size: 15px;
    border-bottom: #D6E264 2px solid;
}

.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
    background-image: url("../images/neutral.png");
    background-position: 90% 70%;
    background-repeat: no-repeat;
    background-size: 15px;
}

.downloadCSV {
    cursor: pointer;
}


.leaderboard tr {
    padding: 0.5em 0;
}



.rank1 {
    background-image: url("../images/1-gold.png");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 35px;
}

.rank2 {
    background-image: url("../images/2-silver.png");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 35px;
}

.rank3 {
    background-image: url("../images/3-bronze.png");
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 35px;

}

.drop-zone {
    min-height: 150px;
    transition: background-color 0.3s;
}

.drop-zone.drag-over {
    background-color: #e9ecef !important;
    border: 2px dashed #007bff;
}

/* Style for the item being dragged */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f8f9fa;
}

.styleRow {
    background: var(--secondary-dark);
    border: 1px solid #1f3746;
    border-radius: 5px;
    align-items: center;
}



/* Optional: adjust the height of the container to suit your design */
/* .table-scroll-container { height: 200px; } */


.compare-box {
    width: 23%;
    padding: 8px;
    margin: 2px;
}

.compareDataHeader {
    background-color: #343a40;
    font-weight: bold;
}

.duplicate:nth-child(even) {
    background-color: rgba(255, 255, 255, .05);
}

.duplicate:nth-child(odd) {
    background-color: var(--secondary-dark);

}

.columnColor>div {
    border-left: 1px solid rgba(255, 255, 255, .1);
}


.password-container {
    position: relative;
    /* Essential for absolute positioning of the icon inside */
    display: flex;
    /* Optional: helps align input and icon if they are inline-block */
    align-items: center;
    /* Centers items vertically using Flexbox */
}

#password {
    width: 100%;
    padding: 10px;
    /* Add padding to the right to prevent text from going under the icon */
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    /* Positions the icon relative to the container */
    right: 10px;
    /* Adjust as needed for spacing */
    top: 50%;
    /* Moves the top edge of the icon to the middle of the container */
    transform: translateY(-50%);
    /* Pulls the icon up by half its own height to perfectly center it */
    cursor: pointer;
    /* Makes it clear the icon is clickable */
    color: #6c757d;
    /* Example color */
}

#responseMessage {
    background-color: #8b2942;
}


.grid-options {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
    border-left: 3px solid #00d9ff;
    border-right: 3px solid #00d9ff;
    padding: 10px 0px 10px 5px;
    border-radius: 10px;
}

.grid-options:hover {
    border-color: var(--accent-orange);
}


#hoopContainer {
  width: 100%;
  align-items: center;
  aspect-ratio: 1;
  max-width: 400px;
}

#heatLegend{
    width: 50%;
}
.heat-bar{
    width: 120px;
    height: 8px;
    background: linear-gradient(to right,#420053, #44307f,#335c8e,#22808f,#19a288,#a0db37,#a0db37,#fde820);
    margin: 5px;
    min-width: 00px;
}

