html {
    font-size: 14px;
}
/* fuzzy-list custom rules removed to restore original dynamic width behavior */

/* this was added stop account for width of scroll bar to keep page from jumping when scroll bar appears from javascript action */
@media screen and (min-width: 960px) {
    html {
        margin-left: calc(100vw - 100%);
        margin-right: 0;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


@font-face {
    font-family: 'JerseyM54';
    src: url('/fonts/Jersey M54.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.h2-large {
    font-size: 30pt !important;
}

.list-button-edit {
    margin-right: 5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.list-button-delete {
    margin-right: 5px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

.force-hide {
    display: none !important;
}

.force-show {
    display: block !important;
}

/* --- centers loading icon and adds padding --- */
.spinner-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 25px;
}

.form-view-text {
    font-weight: 600;
    font-size: 13pt;
}

.form-view-larg-text {
    font-weight: bold;
    font-size: 18pt;
}

.form-view-med-text {
    font-weight: 500;
    font-size: 16pt;
}

.bg-loss {
    background-color: rgba(211, 47, 47,0.2);
}

.bg-win {
    background-color: rgba(78, 160, 81,0.2);
}

.min-h {
    min-height: 250px;
}

.min-h-300 {
    min-height: 300px;
}

.min-h-200 {
    min-height: 200px;
}

/* --- tooltip --- */
.tt {
    font-size: 11pt;
}

    .tt:hover {
        font-weight: bold;
    }

.avatar-school {
    vertical-align: middle;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: solid 2px #3a73cf;
}

.card-home-data {
    height: 100px !important;
    padding: 15px
}

.dot-inactive {
    height: 12px;
    width: 12px;
    background-color: rgba(133, 133, 133,0.2);
    border-radius: 50%;
    display: inline-block;
}

.dot-active {
    height: 12px;
    width: 12px;
    background-color: #35db3d;
    border-radius: 50%;
    display: inline-block;
}


.dot-primary {
    height: 12px;
    width: 12px;
    background-color: #159eed;
    border-radius: 50%;
    display: inline-block;
}

.dot-pink {
    height: 12px;
    width: 12px;
    background-color: #e61232;
    border-radius: 50%;
    display: inline-block;
}

.dot-wizard {
    margin-top: 6px;
    margin-right: 5px
}

.dot-active-penalty {
    height: 12px;
    width: 12px;
    background-color: #FDD458;
    border-radius: 50%;
    display: inline-block;
}


.wizard-text-active {
    color: #35db3d;
}

.wizard-text-inactive {
    color: rgba(133, 133, 133,0.2);
    transition: color 1s;
}

    .wizard-text-inactive:hover {
        color: rgba(53, 219, 61,0.4);
        cursor: pointer;
    }

.mr-15 {
    margin-right: 15px;
}

.mr-30 {
    margin-right: 30px;
}

.table-edit-icon {
    cursor: pointer;
    opacity: 0.7 !important;
    margin-right: 10px;
}

    .table-edit-icon:hover {
        color: #72e640 !important;
        opacity: 1 !important;
    }

.table-delete-icon {
    cursor: pointer;
    opacity: 0.7 !important;
    margin-right: 10px;
}

    .table-delete-icon:hover {
        color: red !important;
        opacity: 1 !important;
    }

.table-info-icon {
    cursor: pointer;
    opacity: 0.7 !important;
    margin-right: 10px;
}

    .table-info-icon:hover {
        color: #039eff !important;
        opacity: 1 !important;
    }




.pill-text-lg {
    font-size: 9pt !important;
}

.box-separator {
    position: relative;
}

    .box-separator ul {
        position: absolute;
        z-index: 1000;
    }

.box-separator-color {
    background-color: rgba(5, 80, 171,0.1);
}

.box-separator-color2 {
    background-color: rgba(5, 80, 171,0.2);
}

.field-container {
    position: relative; /* Allows the slider to be positioned relative to this container */
    overflow: visible; /* Ensure the overlay isn't cut off */
}

#field-detail-box {
    position: absolute;
    bottom: 72%;
    left: 15%;
    transform: translateX(-10%);
    width: 88%;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
}

.field-detail-offense {
    /*background-color: #7ff083;*/
    border: 2px solid #54bf58;
}

.field-detail-defense {
    /*background-color: #fa6171;*/
    border: 2px solid #d9182b;
}

.field-detail-sp {
    /*background-color: #ffc273;*/
    border: 2px solid #f0a13c;
}

.slider-container {
    position: absolute; /* Ensures the slider can be positioned freely within the parent */
    bottom: 23%; /* Adjust as needed to position relative to the bottom */
    left: 19%; /* Center horizontally */
    transform: translateX(-10%); /* Correct centering offset */
    width: 78%; /* Set slider width relative to the parent (adjust as needed) */
}

#yardLineSlider {
    width: 100%; /* Ensures it takes up the full width of the slider container */
    height: 11px; /* Adjust the slider height */
    background-color: #ddd; /* Example background for the slider track */
    border-radius: 4px; /* Optional: Add rounded edges */
}

/*@media (max-width: 768px) {
    .slider-container {
        width: 79%;*/ /* Make the slider narrower for smaller screens */
/*bottom: 10%;*/ /* Adjust the vertical position */
/*}
}*/

/* --- validation --- */
.form-control-invalid {
    border: 2px solid red !important;
}

.form-label-invalid {
    color: #bf190d !important;
}

.table-transparent {
    border-radius: 5px;
    background-color: rgba(75, 99, 128,0.1)
}

.table-transparent-bold {
    border-radius: 5px;
    background-color: rgba(5, 80, 171,0.2);
}

.transparent-green {
    border: rgba(11, 49, 102,0.3) solid 2px;
    border-radius: 5px;
    background-color: rgba(27, 148, 27,0.1);
    padding: 15px;
    transition: 0.4s;
}

    .transparent-green:hover {
        border: rgba(11, 49, 102,0.3) solid 2px;
        border-radius: 5px;
        background-color: rgba(27, 148, 27,0.2);
        padding: 15px;
    }

.card-offense {
    border-right: 3px solid #0dbd45 !important;
}

.card-offense {
    border: 1px solid rgba(13, 189, 69,0.1) !important;
    border-right: 3px solid #0dbd45 !important;
}

.card-defense {
    /*border: 1px solid rgba( 227, 0, 0,0.2) !important;*/
    border-right: 3px solid #de3333 !important;
}

.numberCircle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    padding: 8px;
    border: 5px solid #dec11b;
    color: white;
    text-align: center;
    font-size: 36pt;
    font-weight: 200;
}

.numberCircle2 {
    border-radius: 50%;
    width: 105px;
    height: 105px;
    padding: 8px;
    text-align: center;
    font-size: 36pt;
    font-weight: 200;
    border: 5px solid transparent; /*2*/
    background: linear-gradient(45deg,#e66f00,#ffce3d) border-box; /*3*/
    -webkit-mask: /*4*/
    linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; /*5'*/
    mask-composite: exclude; /*5*/
}

.count-up-text {
    z-index: 5;
    margin-left: 39px;
    top: 15px;
    font-size: 36pt;
    font-weight: 200;
    position: absolute;
}

.iq-icon {
    width: 16px;
    filter: invert(40%) sepia(75%) saturate(4811%) hue-rotate(190deg) brightness(100%) contrast(101%);
}

.iq-icon-color {
    filter: invert(19%) sepia(75%) saturate(4811%) hue-rotate(190deg) brightness(90%) contrast(101%);
}

.tr-great {
    background-color: rgba(23, 212, 74,0.2) !important;
    border-radius: 4px;
    border-top: 2px solid rgba(23, 212, 74,0.7);
    border: 1px solid rgba(23, 212, 74,0.7);
}

.tr-good {
    background-color: rgba(162, 207, 27,0.2) !important;
    border-radius: 4px;
    border: 1px solid rgba(162, 207, 27,0.7)
}

.tr-ok {
    background-color: rgba(214, 170, 9,0.2) !important;
    border-radius: 4px;
    border: 1px solid rgba(214, 170, 9,0.7)
}

.tr-bad {
    background-color: rgba(201, 9, 2,0.2) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(201, 9, 2,0.7)
}

.td-shaded {
    background-color: rgba(68, 97, 133,0.1) !important;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

.gold-text {
    background-image: linear-gradient( to right, #462523 0, #cb9b51 22%, #f6e27a 45%, #f6f2c0 50%, #f6e27a 55%, #cb9b51 78%, #462523 100% ) !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
}

.blue-border {
    border: 1px solid rgba(5, 137, 245,0.5);
    border-radius: 5px;
}

.clickable {
    cursor: pointer;
}

.breadcrumb-item {
    margin-right: 10px;
}

    .breadcrumb-item::before {
        display: none;
    }

.img-feature {
    border: none;
}

    .img-feature:hover {
        border: 3px solid #2d87ff !important;
    }

.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #0C9;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.my-float-btn {
    margin-top: 22px;
}

.scoreboard-box {
    width: 50px;
    height: 50px;
    font-size: 13pt;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid rgba(21, 158, 237, 0.6);
    background-color: #f0f9ff; /* light blue background for visibility */
    margin-right: 8px;
    margin-bottom: 5px;
}

.scoreboard-top {
    width: 50px;
    height: 30px;
    font-size: 11pt;
    font-weight: 600;
    text-align: center;
    margin-right: 8px;
    color: #157edb; /* theme color for clarity */
}

.scoreboard-team-label {
    width: 60px;
    font-size: 11pt;
    font-weight: 500;
    text-align: right;
    padding-top: 12px;
    margin-right: 8px;
    color: #333;
}


/* Inner shadow with multiple insets */
.scoreboard-inner-shadow {
    width: 40px;
    height: 40px;
    box-shadow: inset 0px 0px 15px -2px rgba(21, 100, 179,0.1);
}

/*.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e6eef2;
    
    width: auto;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    padding: 12px 16px;
    padding-left: 10px;
    z-index: 1;
    font-size: 9pt;
    overflow:scroll;
}

    .dropdown-content a {
        display: block;
        color: black;
        padding: 8px 0;
        text-decoration: none;
    }

        .dropdown-content a:hover {
            background-color: #d3dee3;
            color: #0280c9;
            text-decoration: none;
        }*/

/* Custom CSS for the dropdown */
.dropdown-content {
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    /*border: 1px solid #ccc;*/ /* Add border */
    border-top: none; /* Remove top border */
    max-height: 320px; /* Limit max height */
    overflow-y: auto; /* Enable scrolling if needed */
    min-width: 250px;
    width: auto; /* Adjust width */
    display: inline-block; /* Ensure it only takes necessary width */
    font-size: 10pt;
}

    /* Style for list items */
    .dropdown-content a {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        color: #333;
    }

        /* Add circle span before each item */
        .dropdown-content a::before {
            content: "\2022"; /* Unicode character for bullet point */
            display: inline-block;
            width: 1em; /* Adjust size as needed */
            margin-right: 10px;
            color: #007bff; /* Color of the circle */
        }

        /* Hover style */
        .dropdown-content a:hover {
            background-color: #f2f2f2;
            cursor: pointer;
            text-decoration: none;
        }

.profile-pic-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

    .profile-pic-container img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 50%;
        object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.profile-pic-container-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding-top: 2px;
    overflow: hidden;
    display: inline-block;
    position: relative;
    text-align: center;
    font-family: JerseyM54;
}

    .profile-pic-container-small img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 50%;
        object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


.ellipsis-cell {
    max-width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .icon-container .bi {
        font-size: 2rem; /* Adjust icon size */
    }

    .icon-container .badge {
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(50%, -50%);
        border-radius: 50%;
        padding: .25rem .75rem;
        font-size: 0.75rem;
    }



.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar {
    width: 30px; /* Adjust the size of the avatar */
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff; /* Optional: add a border around the avatar */
}

.footer-total-row-bg {
    background-color: rgba(55, 71, 130,0.1);
}

/*custom sort for alpine tables*/
.sortable {
    cursor: pointer;
}

.fuzzy-list {
    position: absolute;
    z-index: 5;
    width: 160px
}

.border-offense {
    border: 1px solid #35db3d;
}

.border-defense {
    border: 1px solid red;
}

.invalid-input {
    border: 1px solid #c90606 !important;
}

.border-add {
    border: solid 2px #0d85e0 !important;
}

.border-edit {
    border: solid 2px #e38b19 !important;
}

.not-included-icon{
    background-color:red;
    color:white
}

.extra-small {
    font-size: 0.75rem !important; /* 12px */
}

.game-link {
    color: inherit;
    transition: color 0.4s ease;
}

    .game-link:hover {
        color: var(--bs-primary, #0d6efd) !important;
        opacity: 1 !important;
    }

.players-popover-custom .popover-body {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px; /* space between columns */
    min-width: 450px; /* adjust depending on number of columns */
}

.players-popover-custom .column {
    flex: 0 0 200px; /* fixed width for each column */
}
