﻿/*@font-face {
    font-family: 'Playfair Display';
    src: url('Content/TeeSheet/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}*/

@font-face {
    font-family: 'Inter';
    src: url('/Content/TeeSheet/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('/Content/TeeSheet/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Inter', serif;
}

/* Center header text horizontally and vertically */
#datatable-members th {
    text-align: center;
    vertical-align: middle !important;
}

/* Center body cell text horizontally and vertically */
#datatable-members td {
    text-align: center;
    vertical-align: middle !important;
}

    /* For inner divs (if using Bootstrap rows/cols in cell HTML) */
    #datatable-members td .row {
        display: flex;
        align-items: center;
        justify-content: center;
    }
#datatable-members_filter input[type="search"] {
    font-size: 1.5em;
}

.animation-btn {
    /*font-size: 2em;*/
    /*color: white;*/
    transition: all 0.3s ease;
}

    .animation-btn:hover {
        /*color: #007bff;*/
        transform: scale(1.05);
        /*cursor: pointer;*/
    }
/*badgeIcon*/
.highlight-icon {
    font-size: 2em;
    color: white;
    transition: all 0.3s ease;
}

    .highlight-icon:hover {
        color: #007bff;
        transform: scale(1.2);
        cursor: pointer;
    }

.trash-icon {
    /*font-size: 2em;*/
    color: darkred;
    transition: all 0.3s ease;
}
    .trash-icon:hover {
        color: white;
        transform: scale(1.2);
        cursor: pointer;
    }

/*slider*/
.slider-container {
    width: 80%;
    margin: 20px auto;
    text-align: center;
}

.slider-chart {
    position: relative;
    height: 30px;
    width: 100%;
    margin-top: 20px;
}

/*gradient*/
.gradient-bar {
    width: 100%;
    height: 13px;
    background: linear-gradient(to right, red, orange, yellow, green);
    border-radius: 5px;
}

.arrow {
    position: initial;
    bottom: -20px; /* Position the arrow just below the gradient bar */
    left: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid black; /* The arrow pointing downward */
    transform: rotate(180deg) translateX(-50%); /* Rotate the arrow to point upwards */
    transition: left 0.2s ease; /* Smooth transition when updating */
}

/*cytoscape*/
#cy {
    width: 100%; /* Set fixed width */
    height: 400px; /* Set fixed height */
    border: 1px solid #ccc;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile/Chrome */
    -webkit-touch-callout: none; /* Prevent callout on iOS */
    user-select: none; /* Prevent text selection */
    outline: none;
}

    #cy:active {
        background: none !important;
        outline: none !important;
    }

.no-network-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    text-align: center;
    color: #999;
}

/*expand RoundHistory*/
td.dt-control {
    cursor: pointer;
}

tr.shown td.dt-control::before {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-align: center;
}

tr:not(.shown) td.dt-control::before {
    content: '\f0da';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-align: center;
}

.alignAll {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper-flex {
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* makes both main and sidebar same height */
    width: 85%;
    margin-left: 65px;
}
/*.container {
    width: 60%;
}*/
.containerSideBar {
    /*    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;*/
    width: 28%;
    /*    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);*/
    /*margin-right: auto;*/
    /*margin-left: auto;*/
    margin-top: 181px;
    /*margin-right: 200px;*/
}

/*.right-sidebar {
    width: 100%;
    background-color: #f9f9f9;
    padding: 10px;
}*/

.highlight {
    background-color: antiquewhite;
    color: black;
}
.highlight-btn.highlight {
    background-color: antiquewhite !important;
    border: 2px solid orange !important;
    color: black !important;
}

.highlightP {
    background-color: white !important;
    color: black !important;
    border: 1px solid rgb(53, 120, 199) !important;
}

.highlightP-btn.highlightP {
    background-color: rgb(53, 120, 199) !important;
    color: white !important;
    border: 1px solid white !important;
}
.inplayBtn {
    color: black !important;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}
    .inplayBtn:hover {
        background-color: whitesmoke !important;
    }
    .inplayBtn.highlight {
        background-color: #337ab7 !important;
        border: 2px solid #337ab7 !important;
        color: white !important;
        font-weight: bold;
    }
.availableBtn {
    background-color: white !important;
    border: 2px solid #337ab7 !important;
    color: #337ab7 !important;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}
    .availableBtn:hover {
        background-color: whitesmoke !important;
    }
    .availableBtn.highlight {
        background-color: #337ab7 !important;
        border: 2px solid #337ab7 !important;
        color: white !important;
        font-weight: bold;
    }
.reservedBtn {
    background-color: lightgray !important;
    color: black !important;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}
    .reservedBtn:hover {
        background-color: whitesmoke !important;
    }
    .reservedBtn.highlight {
        background-color: #337ab7 !important;
        border: 2px solid #337ab7 !important;
        color: white !important;
        font-weight: bold;
    }
.offlineBtn {
    background-color: darkgray !important;
    color: black !important;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

    .offlineBtn:hover {
        background-color: lightgray !important;
    }

    .offlineBtn.highlight {
        background-color: #337ab7 !important;
        border: 2px solid #337ab7 !important;
        color: white !important;
        font-weight: bold;
    }

.container-border {
    /*border: 2px solid black;*/
    background-color: lightgray;
}

/*datepicker stuff*/
.date-wrapper {
    position: relative;
    display: inline-block;
}

.date-input {
    padding-right: 35px;
    height: 38px;
    font-size: 16px;
}

.calendar-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.ms-close-btn {
    display: none !important;
}

.ms-sel-item {
    display: none !important;
}

.ms-helper {
    display: none !important;
}
.ms-sel-ctn input {
    cursor: default !important;
    caret-color: transparent;
}
.ms-res-ctn .ms-res-item {
    pointer-events: none;
    cursor: default !important;
    min-height: 48px; /* increase row height */
    padding: 12px 16px; /* more space inside */
    font-size: 1.2em; /* larger text */
    line-height: 1.5;
}

/*scorecard stuff*/
.scroll-x {
    overflow-x: auto;
    width: 100%;
}
.sticky-col {
    position: sticky;
    left: 0;
    background: snow;
    z-index: 2;
}
#moreDetailsTable th.sticky-col {
    z-index: 3;
}
.blackColorText {
    color: black;
}
.whiteColorText {
    color: white;
    font-family: 'Playfair Display';
}
.dataTables_filter {
    color: white
}
.dataTables_info {
    color: white
}
.btn-ts-default {
    background-color: dodgerblue
}
.btn-ts-default:hover {
    background-color: dodgerblue
}
.roundEdge-div {
    width: 100%;
    border-radius: 10px;
    /*margin-right: 190px;*/
    /*margin-left: 110px;*/
}
.roundEdge-div2 {
    border-radius: 10px;
    /*margin-right: 190px;*/
}
@media (max-width: 1280px) and (min-width: 700px) {
    .roundEdge-div {
        margin-left: 0 !important;
    }
    #teeTimes {
        width: 68%;
    }
    .centered-container {
        max-width: 1240px; /* or your design size */
    }
/*    .main-header-ts {
        margin-left: 0 !important;
    }*/
/*    .container {
        width: 100%;
    }*/
}
@media (min-width: 1281px) {
  /*  .container {
        width: 100%;
    }*/
}
/*@media (max-width: 1919px) {
    #teeTimesLayout {
        display: contents;
    }*/
}
.main-header-ts {
}
.roundTop-div {
    border-radius: 10px 10px 0px 0px;
}
.roundBottom-div {
    border-radius: 0px 0px 10px 10px;
}
.dataTables_scroll {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    color: white;
}
div.dataTables_wrapper div.dataTables_paginate {
    float: none !important;
    text-align: center !important;
    margin-top: 10px;
}
.pagination .paginate_button.active a {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    outline: none;
    border-radius: 10px;
}
.pagination .paginate_button:not(.active) a {
    color: white;
    background: rgba(0, 0, 0, 0);
    border: none;
    outline: none;
}
.pagination .paginate_button:not(.active):hover {
    background-color: #f0f0f0;
}
#datatable-members {
    color: white;
    table-layout: fixed;
    /*font-size: 12px;*/
    border: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    overflow: hidden;
}
.dataTables_filter input {
    background-color: rgba(0, 0, 0, 0.7);
    color: white !important;
    width: 250px !important;
    margin-left: 0px !important;
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
}
.dataTables_filter input::placeholder {
    color: rgba(255, 255, 255, 1);
}
#datatable-members thead th {
    border: none;
    background: rgba(0, 0, 0, 0.9);
}
#datatable-members tbody td {
    border-bottom: white;
    border-right: none;
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.3px;
}
.panel-default > .panel-heading {
    background-color: white;
}

/* --- Time Picker Styles --- */
.time-picker-bar {
    display: flex;
    flex-direction: row;
    background: rgba(0,0,0,0.8);
    border-radius: 8px 8px 0 0;
    overflow-x: auto;
    /*padding: 10px 0 0 0;*/
    margin-bottom: 0;
    /*border-bottom: 2px solid rgba(0,0,0,0.5);*/
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start; /* Cards and button close together */
    align-items: stretch;
}

.time-picker-card {
    border-left: 2px solid rgba(255,255,255,0.1);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    /*background: #fff;*/
    /*border-radius: 6px;*/
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    /*margin: 0 8px 0 0;*/
    /*min-width: 150px;*/
    /*width: 570px;*/
    flex: 0 0 251px;
    /*padding: 10px 12px 8px 12px;*/
    position: relative;
    cursor: pointer;
    /*border: 2px solid transparent;*/
    transition: border 0.2s;
    padding-bottom: 5px;
}
.time-picker-card:last-child {
    margin-right: 0;
}

 /*   .time-picker-card.selected {
        border: 2px solid #3578c7;
        box-shadow: 0 2px 8px rgba(53,120,199,0.08);
    }*/

.time-picker-card .tp-day {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
}

.time-picker-card .tp-date {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    line-height: 1.1em;
    font-family: 'Playfair Display';
}

.time-picker-card .tp-status {
    font-size: 0.95em;
    /*color: #fff;*/
    margin-bottom: 2px;
}

.time-picker-card .tp-capacity {
    display: flex;
    align-items: center;
    margin-top: 6px;
}

/*.tp-capacity-ring {
    width: 38px;
    height: 38px;
    margin-right: 8px;
    position: relative;
}*/

/*.tp-capacity-ring svg {
    width: 50px;
    height: 50px;
}*/

/*.tp-capacity-ring .tp-capacity-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1em;
    font-weight: 600;
    color: #357a38;
}

.tp-capacity-label {
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
}*/
.tp-status-row {
    display: flex;
    align-items: center;
}
.tp-attention {
    color: #e67e22;
    font-size: 1.1em;
    margin-left: 4px;
}
.tp-uptodate {
    color: green;
    font-size: 1.1em;
    margin-left: 4px;
}
.text-secondary {
    font-family: Inter;
}

.time-picker-bar .tp-today {
    color: #3578c7;
    font-weight: 200;
}

.time-picker-bar .tp-underline {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    background: #3578c7;
    /*border-radius: 0 0 4px 4px;*/
    width: 100%;
    transition: width 0.2s;
}

.time-picker-bar .tp-date-label {
    color: #bbb;
    font-size: 1.1em;
    margin-top: 10px;
    margin-left: 2px;
}
.tp-date-label {
    color: white;
    font-size: 1.1em;
    /*margin-top: 10px;*/
    margin-left: 10px;
}

.time-picker-calendar-btn {
    background: #3578c7;
    color: #fff;
    border-radius: 0 8px 0 0;
    width: 80px;
    /*height: 100px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    position: static;
    top: 0;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(53,120,199,0.08);
    border: none;
    outline: none;
    transition: background 0.2s;
    margin-left: 0;
    /*margin-right: 8px;*/ /* Small gap at the end */
}
.time-picker-calendar-btn:hover {
    background: #285a8c;
}
.tp-capacity-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.tp-capacity-ring {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.capacity-svg {
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
    border-radius: 50%;
}

.capacity-bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 6;
}

.capacity-fg {
    fill: none;
    stroke: #4caf50;
    stroke-width: 6;
    transition: stroke-dasharray 0.3s;
}

.tp-capacity-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25em;
    font-weight: bold;
    color: #fff;
    pointer-events: none;
    font-family: 'Playfair Display';
}

.tp-capacity-label {
    display: block;
    text-align: center;
    font-size: 1em;
    color: #fff;
    margin-top: 2px;
    font-weight: 500;
}

.custom-green-checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-green-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.custom-check {
    width: 23px;
    height: 23px;
    border: 2px solid #21b563;
    border-radius: 5px;
    background: rgba(0,0,0,0);
    display: inline-block;
    position: relative;
    transition: border-color 0.2s;
    /*clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);*/
}

.custom-green-checkbox:checked + .custom-check {
    /*background: #21b563;*/
    border-color: #21b563;
}

.custom-check:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-green-checkbox:checked + .custom-check:after {
    display: block;
}

.custom-check:after {
    left: 7px;
    top: -5px;
    width: 12px;
    height: 18px;
    border: solid #21b563;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    content: "";
    position: absolute;
}
.not-clickable {
    pointer-events: none;
}

.cut-border-square {
    width: 100px;
    height: 100px;
    border: 4px solid green;
    clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}

    /* Example: Cut top-right corner */
    .cut-border-square::after {
        content: "";
        position: absolute;
        top: -4px; /* match border width */
        right: -4px;
        width: 30px; /* size of cut */
        height: 30px;
        background: rgba(0,0,0,0); /* or match parent background */
        z-index: 1;
    }

@media (max-width: 768px) {
    .wrapper-flex {
        flex-direction: column;
        margin-top: 20px;
    }

/*    .container.body,
    .containerSideBar {
        width: 100%;
        margin: 0;
        padding: 0 5px;
    }*/

    .time-picker-bar {
        flex-direction: column;
        min-width: 0;
    }

    .time-picker-card {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }

/*    .roundEdge-div {
        position: static !important;
        margin-left: 0 !important;
    }*/
}

/*Nav Tabs*/
#sideNavTabs > li > a {
    background: rgba(0,0,0,0.1);
    color: gray;
    display: block;
    padding: 10px 16px;
    border: 10px;
}

#sideNavTabs > li.active > a,
#sideNavTabs > li.active > a:focus,
#sideNavTabs > li.active > a:hover {
    /*background: #fff;*/
    color: white;
    border: none;
}
.innerContainer {
    background-color: rgba(0,0,0,0.7);
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 0 10px 10px 10px;
    min-width: 350px;
}
.btn-assignment {
    background-color: black;
    color: white;
    border-color: white;
    max-width: 134px;
    width: 30%;
}
    .btn-assignment:focus {
        background-color: black;
        color: white;
        border-color: white;
    }
    .btn-assignment:hover,
    .btn-assignment:active {
        background-color: #449d44;
        color: black;
        border-color: white;
    }

/*.btn-assignment-active {
    background-color: #449d44;
    color: black;
}*/
/*New Player Profile*/
#modalSidebar {
    width: 70px;
    background: black;
    border-radius: 16px;
    /*padding: 16px 0;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    /*min-height: 500px;*/
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: -15px;
}

.tabIcon2,
.tabIcon {
    width: 48px;
    height: 48px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: background 0.3s, opacity 0.3s;
    border-radius: 12px;
}

    /*.tabIcon.active,*/
    .tabIcon2:hover,
    .tabIcon:hover {
        background: #444;
        opacity: 1;
    }

        .tabIcon.active img,
        .tabIcon.active svg {
            border-color: #4caf50;
            stroke: #4caf50 !important;
        }

    .tabIcon img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #fff;
        object-fit: cover;
        transition: border-color 0.3s;
    }
    .tabIcon2 svg,
    .tabIcon svg {
        stroke: #fff;
        transition: stroke 0.3s;
    }
    .tabIcon2.active i,
    .tabIcon.active i {
        color: #4caf50;
    }
    .tabIcon2 i,
    .tabIcon i {
        color: #fff;
        font-size: 25px;
        transition: color 0.3s;
    }

.parent-flex-center {
    display: flex;
    align-items: center; /* vertical centering */
    height: 100%; /* or 100vh, or set to modal height */
}

/*.history-container {
    background: black;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 0 auto;
}*/

.history-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32px;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.timeline-line {
    flex: 1;
    width: 4px;
    background: #fff;
    margin-top: 2px;
    border-radius: 2px;
    opacity: 0.2;
}

/*RoundHistoryStuff*/
.history-title {
    margin-bottom: 480px;
    position: absolute;
    padding-left: 180px;
    font-size: 2em;
    color: white;
}

.history-container-wrapper {
    position: relative; /* needed for absolute child */
    margin-top: 32px; /* or as needed */
}
.history-container {
    background: #090909;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    width: 850px;
}

.history-scroll {
    max-height: 400px;
    overflow-y: auto;
    direction: rtl; /* Flip scroll bar to left */
    padding-right: 10px; /* Space for left scrollbar */
}

    .history-scroll > * {
        direction: ltr; /* Keep content normal */
    }

.history-scroll-right {
    max-height: 500px;
    overflow-y: auto;
    direction: ltr; /* Flip scroll bar to left */
    margin-left: 2px; /* Space for left scrollbar */
}

.history-scroll-right-sidebar {
    max-height: 542px;
    overflow-y: auto;
    direction: ltr; /* Flip scroll bar to left */
    margin-left: 2px; /* Space for left scrollbar */
}

    .history-scroll-right > *,
    .history-scroll-right-sidebar > * {
        direction: ltr; /* Keep content normal */
    }
    /* Webkit browsers */
    .history-scroll-right::-webkit-scrollbar,
    .history-scroll-right-sidebar::-webkit-scrollbar {
        width: 12px;
        background: transparent;
    }

    .history-scroll-right::-webkit-scrollbar-track,
    .history-scroll-right-sidebar::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 8px;
        margin: 4px 0; /* Optional: space at top/bottom */
    }

    .history-scroll-right::-webkit-scrollbar-thumb,
    .history-scroll-right-sidebar::-webkit-scrollbar-thumb {
        background: #21b563;
        border-radius: 8px;
        min-height: 40px; /* Makes the thumb longer */
        margin: 2px 0;
        /*border: 4px solid #fff;*/ /* Creates the "small green bar" effect */
    }

        .history-scroll-right::-webkit-scrollbar-thumb:vertical,
        .history-scroll-right-sdebar::-webkit-scrollbar-thumb:vertical {
            min-height: 40px;
        }

.history-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32px;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.timeline-line {
    /*flex: 1;*/
    /*width: 4px;*/
    background: #fff;
    margin-top: 2px;
    border-radius: 2px;
    opacity: 0.2;
}

/*.history-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
}*/
.player-container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.player-name {
    font-weight: bold;
    color: #fff;
}

.cart-badge {
    background: #4C8E34;
    color: #fff;
    border-radius: 8px;
    padding: 0.2rem 0.7rem;
    font-size: 0.9em;
}

.date, .members {
    color: #bbb;
    font-size: 0.95em;
}

.avatars {
 /*   display: flex;
    align-items: center;*/
}

.avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
}

.history-expand {
    color: #fff;
    font-size: 1.5em;
    margin-left: 1rem;
    cursor: pointer;
}

    /* Webkit browsers */
    .history-scroll::-webkit-scrollbar {
        width: 16px;
        background: transparent;
    }

    .history-scroll::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 8px;
        margin: 4px 0; /* Optional: space at top/bottom */
    }

    .history-scroll::-webkit-scrollbar-thumb {
        background: #4caf50;
        border-radius: 8px;
        min-height: 40px; /* Makes the thumb longer */
        margin: 2px 0;
        /*border: 4px solid #fff;*/ /* Creates the "small green bar" effect */
    }

        .history-scroll::-webkit-scrollbar-thumb:vertical {
            min-height: 40px;
        }
.history-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.3rem;
}

.history-row-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 20px;
}

    .history-row-top .history-expand {
        margin-left: auto;
        color: #fff;
        font-size: 1.5em;
        cursor: pointer;
    }

.history-row-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 45px;
}

.custom-modal-content {
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10;
    background: transparent;
    border: none;
    font-size: 4.5rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 0;
}

    .close-modal-btn:hover,
    .close-modal-btn:focus {
        opacity: 1;
        outline: none;
    }

.custom-modal-body {
    height: 600px;
    /*margin-left: -15px;*/
    background-color: rgba(100, 100, 100, 0.7);
}
.timeline-dot-inline {
    width: 16px;
    height: 16px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.history-row-details {
    display: none;
    background: #000;
    color: #fff;
    padding: 1em;
    margin-bottom: 1em;
}

.history-row.expanded .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s;
}
.profile-img-inline {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}
/*PlayerCard*/
.player-modal-content {
    background: #5a5757;
    border-radius: 8px;
    padding: 40px 30px 30px 30px;
    margin: 0;
    font-family: 'Georgia', serif;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.player-modal-flex {
    display: flex;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.player-card {
    flex: 0 0 320px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.player-card-border {
    background: #181818;
    border: 4px solid #222;
    border-radius: 24px 48px 24px 48px/48px 24px 48px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.player-stats {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.stat-summary-row {
    display: flex;
    gap: 0;
    margin-top: 36px;
    width: 100%;
}

.stat-summary-box {
    flex: 1 1 0;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 18px 0;
    text-align: center;
    color: #fff;
    background: rgba(255,255,255,0.04);
    min-width: 0;
}

@media (max-width: 900px) {
    .player-modal-flex {
        flex-direction: column;
        gap: 24px;
    }
    .player-card {
        flex: none;
        width: 100%;
        justify-content: center;
        margin-bottom: 24px;
    }
    .player-stats {
        width: 100%;
    }
}

/*PlayerCard END*/

/*Player Modal Outer*/
.player-modal-outer {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5a5757;
    border-radius: 12px;
    box-sizing: border-box;
}

/*Player Modal Inner*/
.player-modal-inner {
    display: flex;
    gap: 48px;
    width: 90%;
    max-width: 1100px;
    align-items: center;
    justify-content: center;
}

/*Player Modal Card*/
.player-modal-card {
    background: #181818;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
    max-width: 340px;
    flex: 0 0 340px;
}

.player-modal-photo {
    border: 4px solid #fff;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    overflow: hidden;
    margin-bottom: 18px;
}

.player-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-modal-name {
    color: #fff;
    font-size: 2.2em;
    font-family: 'Georgia', serif;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.1;
}

.player-modal-id {
    color: #ccc;
    font-size: 1.1em;
    margin-bottom: 18px;
    text-align: center;
}

.player-modal-plus {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    font-size: 2em;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.player-modal-plus:hover {
    background: #333;
}

.player-modal-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    margin-top: 8px;
    background: #fff;
    color: #222;
    text-align: center;
}

/*Player Modal Stats*/
.player-modal-stats {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.player-modal-stat {
    margin-bottom: 36px;
}

.player-modal-stat-title {
    font-size: 2em;
    color: #fff;
    font-family: 'Georgia', serif;
    margin-bottom: 4px;
}

.player-modal-bar-wrap {
    display: flex;
    align-items: center;
    margin: 12px 0 0 0;
    position: relative;
}

.player-modal-bar {
    flex: 1;
    height: 10px;
    border-radius: 6px;
    position: relative;
    background: linear-gradient(to right, #e74c3c, #f1c40f, #27ae60);
}

.player-modal-bar-3 {
    background: linear-gradient(to right, #27ae60, #f1c40f, #e74c3c);
}

.player-modal-bar-knob {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: #fff;
    border: 3px solid #888;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.player-modal-stat-value {
    width: 60px;
    text-align: right;
    color: #fff;
    font-size: 1.5em;
    margin-left: 18px;
    font-family: 'Georgia', serif;
}

.player-modal-stat-desc {
    color: #fff;
    font-size: 1.1em;
    margin-top: 6px;
    margin-left: 2px;
}

/*Player Modal Summary Row*/
.player-modal-summary-row {
    display: flex;
    gap: 20px;
}

.player-modal-summary-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.player-modal-summary-num {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.player-modal-summary-label {
    font-size: 0.9em;
    color: #666;
    text-align: center;
}

.player-card-fancy {
    background: black;
    color: #fff;
    width: 350px;
    padding: 32px 18px 28px 18px;
    margin: 0 auto;
    text-align: center;
    /*border: 4px solid #fff;*/
    position: relative;
    box-sizing: border-box;
    /* Fancy corners using clip-path */
    /*clip-path: polygon( 0% 12px, 12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px) );*/
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    border-radius: 40px;
}

    .player-card-fancy::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border: 2px solid #fff;
        pointer-events: none;
        z-index: 1;
        border-radius: 40px;
        /*clip-path: polygon( 0% 12px, 12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px) );*/
    }
    .player-card-fancy::after {
        content: "";
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border: 2px solid #fff;
        pointer-events: none;
        z-index: 1;
        border-radius: 40px;
        /*clip-path: polygon( 0% 12px, 12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px) );*/
    }

.player-photo-fancy {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px auto;
    /*border: 4px solid #fff;*/
    background: #222;
    z-index: 2;
    position: relative;
}

    .player-photo-fancy img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.player-plus-fancy {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 12px auto;
    background: #000;
    z-index: 2;
    position: relative;
    transition: box-shadow 0.3s;
}

    .player-plus-fancy:hover {
        box-shadow: 0 0 7px 2px #fff, 0 0 15px 4px #00eaff;
    }
/*.player-plus-fancy {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 12px auto;
    background: #000;
    z-index: 2;
    position: relative;
    overflow: hidden;*/ /* Needed for the shine effect */
/*}*/

    /* Shine effect */
    /*.player-plus-fancy::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 150%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
        transform: skewX(-20deg) translateX(-100%);
        transition: none;
        pointer-events: none;
    }

    .player-plus-fancy:hover::before {
        animation: shine-move 0.7s forwards;
    }

@keyframes shine-move {
    0% {
        transform: skewX(-20deg) translateX(-100%);
    }

    100% {
        transform: skewX(-20deg) translateX(100%);
    }
}*/

/*.player-plus-fancy {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 12px auto;
    background: #000;
    z-index: 2;
    position: relative;
}*/

.player-name-fancy {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 4px;
    font-family: 'Georgia', serif;
}

.player-id-fancy {
    color: #ccc;
    font-size: 1em;
    margin-bottom: 18px;
}

.player-select-fancy {
    width: 70%;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    font-size: 1em;
    background: #fff;
    color: #222;
    font-weight: bold;
   /* margin-top: 8px;*/
    margin-bottom: 0;
    text-align: center;
}
    .player-select-fancy option {
        min-height: 40px;
        padding: 12px 16px;
        font-size: 1.1em;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

#magicsuggestp1,
#magicsuggestp2 {
    width: 400px;
    margin-bottom: 10px;
    margin-top: 2px;
    border-radius: 4px !important;
    height: 45px;
    margin-bottom: 50px;
    background-color: black;
    font-size: 1.6em;
}
    #magicsuggestp1 .ms-ctn,
    #magicsuggestp2 .ms-ctn,
    #magicsuggestp1 .ms-ctn.form-control,
    #magicsuggestp2 .ms-ctn.form-control,
    #magicsuggestp1 .ms-input,
    #magicsuggestp2 .ms-input,
    #magicsuggestp1 .ms-res-ctn,
    #magicsuggestp2 .ms-res-ctn,
    #magicsuggestp1 .ms-res-item,
    #magicsuggestp2 .ms-res-item {
        background: black !important;
        color: #fff !important;
    }
        #magicsuggestp1 .ms-ctn *,
        #magicsuggestp2 .ms-ctn * {
            background: black !important;
            color: #fff !important;
            border-color: #444 !important;
        }
    #magicsuggestp1 .ms-ctn.form-control,
    #magicsuggestp2 .ms-ctn.form-control {
        background-color: black !important;
        color: #fff !important;
        border-color: #444 !important;
    }

        #magicsuggestp1 .ms-ctn.form-control .ms-input,
        #magicsuggestp2 .ms-ctn.form-control .ms-input {
            background-color: black !important;
            color: #fff !important;
        }

        #magicsuggestp1 .ms-ctn.form-control .ms-res-ctn,
        #magicsuggestp2 .ms-ctn.form-control .ms-res-ctn {
            background-color: black !important;
            color: #fff !important;
        }

        #magicsuggestp1 .ms-ctn.form-control .ms-res-item,
        #magicsuggestp2 .ms-ctn.form-control .ms-res-item {
            background-color: black !important;
            color: #fff !important;
        }
        #magicsuggestp1 .ms-ctn.form-control.ms-ctn-focus,
        #magicsuggestp2 .ms-ctn.form-control.ms-ctn-focus {
            background-color: #000 !important;
            color: #fff !important;
            border-color: #888 !important; /* Optional: darker border on focus */
        }


            #magicsuggestp1 .ms-ctn.form-control .ms-res-item.ms-hover,
            #magicsuggestp2 .ms-ctn.form-control .ms-res-item.ms-hover,
            #magicsuggestp1 .ms-ctn.form-control .ms-res-item:hover,
            #magicsuggestp2 .ms-ctn.form-control .ms-res-item:hover {
                background-color: black !important;
                color: #fff !important;
            }

        #magicsuggestp1 .ms-ctn.form-control .ms-sel-item,
        #magicsuggestp2 .ms-ctn.form-control .ms-sel-item {
            background-color: black !important;
            color: #fff !important;
            border-color: #444 !important;
        }
    #magicsuggestp1 .ms-sel-ctn,
    #magicsuggestp2 .ms-sel-ctn {
        background: black !important; /* or #111 if you want it even darker */
        color: #fff !important;
        border-color: #444 !important;
    }

        /* If the selected items are direct children (e.g. spans): */
        #magicsuggestp1 .ms-sel-ctn span,
        #magicsuggestp2 .ms-sel-ctn span,
        #magicsuggestp1 .ms-sel-ctn div,
        #magicsuggestp2 .ms-sel-ctn div {
            background: black !important;
            color: #fff !important;
            border-color: #444 !important;
        }

        /* Optional: If you want to cover all descendants */
        #magicsuggestp1 .ms-sel-ctn *,
        #magicsuggestp2 .ms-sel-ctn * {
            background: black !important;
            color: #fff !important;
            border-color: #444 !important;
            width: 350px !important;
        }

    #magicsuggestp1 .ms-ctn .ms-trigger {
        border: none;
    }
    #magicsuggestp1 .ms-trigger,
    #magicsuggestp2 .ms-trigger {
        background: black !important;
        color: #fff !important;
        border: none;
    }

        #magicsuggestp1 .ms-trigger:hover,
        #magicsuggestp2 .ms-trigger:hover {
            background: #000 !important;
            color: #fff !important;
            border-color: #888 !important;
        }

    #magicsuggestp1 .ms-trigger-ico,
    #magicsuggestp2 .ms-trigger-ico {
        color: #fff !important;
        fill: #fff !important; /* In case the icon is an SVG */
        vertical-align: baseline;
        border-top: 4px solid white;
        margin-left: 0px;
    }



/*new search bar*/
input::placeholder {
    color: white !important;
    padding-left: 15px;
}


.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-danger {
    color: darkred;
    background-color: white;
}
.trash-absolute {
    position: absolute;
    right: -22px;
    top: 7%;
    /*transform: translateY(-50%);*/
    z-index: 2;
}


.modal-footer-new {

}
#bulleted-editor:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
}
.btn-tags {
    color: limegreen;
    background-color: #333333;
    border-radius: 10px;
    border: 2px solid limegreen;
    cursor: default;
}
.btn-tags-new {
    color: black;
    background-color: limegreen;
    border-radius: 10px;
    border: 2px solid limegreen;
}
    .btn-tags-new:hover {
        color: white;
    }
.btn-notes {
    color: black;
    background-color: limegreen;
    border-radius: 10px;
    border: 2px solid limegreen;
}
.btn-hideTag {
    color: black;
    background-color: red;
    border-radius: 10px;
    border: 2px solid red;
}
    .btn-hideTag:hover {
        color: white;
    }
.btn-notes-save {
    font-size: 1.2em;
    color: black;
    background-color: limegreen;
    border-radius: 6px;
    border: 2px solid limegreen;
}
    .btn-notes-save:hover {
        color: white;
    }
.btn-notes-cancel {
    font-size: 1.2em;
    color: black;
    border-radius: 6px;
    border: 2px solid;
}
    .btn-notes-cancel:hover {
        background-color: white;
    }
.tag-remove {
    font-size: 1.3em;
    transition: transform 0.2s;
    display: inline-block;
    cursor: pointer;
    margin-left: 8px; /* Use margin instead of spaces */
    /* Optional: Control scaling origin */
    transform-origin: center center;
}
    .tag-remove:hover {
        transform: scale(1.3);
    }
.tag-add {
    font-size: 1.3em;
    margin-left: 8px; /* Use margin instead of spaces */
    /*transition: transform 0.2s;
    display: inline-block;*/ /* Needed for transform to work correctly */
    cursor: pointer;
}

    .tag-add:hover {
        /*transform: scale(1.3);*/
    }
#tagInput {
    border: none;
    outline: none;
    box-shadow: none;
}

    #tagInput:focus {
        border: none;
        outline: none;
        box-shadow: none;
    }

.blur-content {
    filter: blur(5px); /* Adjust 5px to control the amount of blur */
}
.frosted-glass {
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); /* Safari support */
    /*border-radius: 12px;*/ /* optional, for style */
    /*padding: 2rem;*/ /* optional */
    color: #222; /* keeps text readable */
}
.frosted-glass-parent {
    background: rgba(37, 33, 30, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 16px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Children - transparent background, no blur */
.roundTop-div,
.roundBottom-div,
.stat-card {
    background: transparent;
    margin: 0;
    border: none;
}

#datatable-members td {
    border-top: 1px solid #222 !important; /* Only top border, change color as needed */
    border-bottom: none !important; /* Remove bottom border */
}
#go-to-page {
    background-color: #000;
    color: white;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 2px 5px;
}

#go-button {
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 2px 8px;
    cursor: pointer;
}

    #go-button:hover {
        background-color: #000;
    }

.containerSideBar {
    order: 2;
}

/*.container {
    order: 1;
}*/

.wrapper-flex {
    display: flex;
    flex-direction: row;
}

/*.centered-container {
    margin-left: auto;
    margin-right: auto;*/
    /* or shorthand: margin: 0 auto; */
    /*max-width: 1605px;*/ /* or whatever max-width you want */
    /*width: 100%;*/ /* will shrink/grow with screen */
    /*display: block;*/ /* required for margin:auto to work */
/*}*/

.centered-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* optional, for centering children horizontally */
    align-items: flex-start; /* or stretch */
    margin: 0 auto;
}

/*keypass*/
.keypad-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 60px);
    grid-template-rows: repeat(4, 60px);
    grid-gap: 10px;
}

    .keypad button {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
        border-radius: 4px;
        border: none;
        background: rgba(0, 0, 0, 0.9);
        cursor: pointer;
        transition: background 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2em;
    }

        .keypad button:hover,
        .clear-btn:hover {
            background: #e0e0e0;
        }

    .keypad .del-btn {
        color: #444;
    }

    .keypad .check-btn {
        color: #3cb371;
    }

.pin-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.pin-box {
    color: white;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(37, 33, 30, 1);
    border-radius: 5px;
    background: rgba(0,0,0,1);
    font-size: 2em;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.clear-btn {
    margin-top: 10px;
    padding: 12px 32px;
    font-size: 1em;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

    .clear-btn:active {
        background: #d32f2f;
    }

@keyframes buzz {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-2px);
    }

    20% {
        transform: translateX(2px);
    }

    30% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    50% {
        transform: translateX(-4px);
    }

    60% {
        transform: translateX(4px);
    }

    70% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }

    90% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

.buzz {
    animation: buzz 0.5s linear;
    color: white;
}



/*image upload*/
#uploadImageDropArea {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropbox-content {
    background: #111;
    border-radius: 12px;
    padding: 32px 24px 28px 24px;
    width: 350px;
    text-align: center;
    position: relative;
    border: 2px dashed #333;
}

    .dropbox-content img {
        width: 80px;
        margin-bottom: 12px;
    }

.drop-text {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 500;
}

.support-text {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 18px;
}

.browse-btn {
    display: inline-block;
    padding: 7px 26px;
    font-size: 16px;
    color: #3ec46d;
    background: transparent;
    border: 2px solid #3ec46d;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 6px;
    transition: background .2s, color .2s;
}

    .browse-btn:hover {
        background: #3ec46d;
        color: #111;
    }

#fileElem {
    display: none;
}

.close-dropbox {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
}

    .close-dropbox:hover {
        color: #fff;
    }

#uploadImageDropArea.highlight .dropbox-content {
    border-color: #3ec46d;
    background: #181818;
}

/*select, option {
    color: #FFB855;
    background: transparent;
}*/

.custom-dropdown {
    position: relative;
    width: 220px;
    font-family: 'Inter';
    margin-left: 15px;
}

.dropdown-label {
    background: rgba(0,0,0,0.9);
    color: white;
    border-radius: 10px;
    padding: 7px;
    font-size: 18px;
    cursor: pointer;
}
    .dropdown-label::after {
        content: '⌵';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        font-size: 1.1em;
        transition: transform 0.2s;
        pointer-events: none;
    }
.custom-dropdown.open .dropdown-label::after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-list {
    position: absolute;
    left: 0;
    right: 0;
    background: #222;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin: 0;
    padding: 0;
    z-index: 100;
    list-style: none;
}

.dropdown-option {
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .dropdown-option:hover {
        background: #333;
        color: #FFB855;
        border-radius: 10px;
    }

.actionBtn {

}
.actionBtn:hover {
    background-color: whitesmoke !important;
}

/*ANALYTICS TAB START*/
.analytics-carousel {
    position: relative;
    color: white;
    overflow: hidden;
}

.analytics-page {
    display: none;
    background: #090909;
    border-radius: 12px;
    transition: opacity 0.4s ease-in-out;
    height: 325px;
    margin-top: 25px;
    width: 100% !important;
}

    .analytics-page.active {
        display: block;
    }

.analytics-chart {
    background: #090909;
    border-radius: 10px;
    height: 275px;
}
#playerAnalyticsChart{
    width: 100% !important;
    height: 100% !important;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 20px;
    height: 315px;
    margin-left: 65px;
}

.trend-card {
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 300px;
    height: 145px;
}

    .trend-card.green {
        background: linear-gradient(180deg, #116611, #1a8f1a);
        border: solid 2px #1a8f1a;
    }

    .trend-card.yellow {
        background: linear-gradient(180deg, #a08b00, #e3c900);
        border: solid 2px #a08b00;
    }

    .trend-card.blue {
        background: linear-gradient(180deg, #003366, #0066cc);
        border: solid 2px #0066cc;
    }

    .trend-card.red {
        background: linear-gradient(180deg, #660000, #cc0000);
        border: solid 2px #cc0000;
    }

.trend-gauge {
    font-size: 2em;
    margin-top: 3px;
}

.heatmap {
    margin-left: 50px;
}
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(19, 32px);
    grid-auto-rows: 32px;
    gap: 6px;
}

.heatmap-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #222;
    color: #fff;
}

.heat-cell {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1px solid #333;
    background: #888;
}

    .heat-cell.good {
        background: #43e543;
    }

    .heat-cell.bad {
        background: #f44;
    }

    .heat-cell.neutral {
        background: #ddd;
    }

.heatmap-hole {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #222;
    color: #fff;
}

.carousel-controls-container {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    user-select: none;
    flex-shrink: 0;
    margin-top: auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: solid 2px white;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 0 12px;
    transition: color 0.3s;
}

    .carousel-arrow:hover {
        color: #5CB85C;
        border: solid 2px #5CB85C;
    }

    .carousel-arrow.left {
        left: 0;
    }

    .carousel-arrow.right {
        right: 0;
    }

.carousel-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 25px;
    height: 10px;
    background-color: #888;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .dot.active {
        background-color: #5CB85C;
        width: 60px;
        border-radius: 8px;
    }
/*ANALYTICS TAB END*/
