@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

.mt-15 {
    margin-top: 15px;
}
.mt-25 {
    margin-top: 25px;
}
.mt-40 {
    margin-top: 40px;
}

.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}

.float-clear {
    clear:both;
}

/*Color palette generated by https://mycolor.space 
    #FFBE39 (Yellow)
    #9FB741 
    #4AA362
    #008778
    #006774
    #2F4858 (Blue) */

.bfg-link {
    color: #006774 !important;
    font-weight: 500 !important;
}

    .bfg-link:hover {
        color: #008778 !important;
        font-weight: 500 !important;
    }

.btn-bfg {
    color: #efeeee !important;
    font-weight: 500 !important;
    background-color: #006774 !important; /*#545454 !important;*/
    border-color: #006774 !important; /*#545454 !important;*/
}

.btn-bfg-green {
    color: #efeeee !important;
    font-weight: 500 !important;
    background-color: #008778 !important; /*#545454 !important;*/
    border-color: #008778 !important; /*#545454 !important;*/
}

.btn-bfg-red {
    color: #efeeee !important;
    font-weight: 500 !important;
    background-color: #95163b !important; /*#545454 !important;*/
    border-color: #95163b !important; /*#545454 !important;*/
}

.text-bfg-bold {
    font-weight: 800;
}

.text-bfg {
    color: #006774 !important;
}

.text-bfg-yellow {
    color: #ffbe39 !important;
}

.text-bfg-green {
    color: #008778 !important;
}

.text-bfg-red {
    color:#95163b !important;
}

.bg-bfg {
    background-color: #006774 !important;
}
.bg-bfg a {
    color: white !important;
}
    .bg-bfg a:hover {
        color: white !important;
        text-decoration: underline !important;
    }

.bg-bfg-2 {
    background-color: #545454 !important;
    color: white;
}

.bg-bfg-yellow {
    background-color: #FFBE39 !important;
}

.bg-bfg-green {
    background-color: #008778 !important;
    color: white;
}

.nav-link-bfg {
    display: block;
    padding: 0.5rem 1rem;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.nav-pills .nav-link-bfg.active {
    color: #fff;
    background-color: #006774 !important;
}

.nav-pills .nav-link-bfg {
    background: 0 0;
    border: 0;
    border-radius: 0.25rem;
}

.badge-soft-success {
    color: #51d28c;
    background-color: rgba(81,210,140,.1);
}

.badge-soft-danger {
    color: #f34e4e;
    background-color: rgba(243,78,78,.1);
}

.badge-soft-secondary {
    color: #74788d;
    background-color: rgba(116,120,141,.1);
}

input[type=range]::-webkit-slider-thumb {
    background: #006774 !important;
}
input[type=range]::-moz-range-thumb {
    background: #006774 !important;
}
input[type=range]::-ms-thumb {
    background: #006774 !important;
}

.gradient-bfg-memberships {
    background-image: linear-gradient(to bottom, #666666, #667e92, #3d9da9, #45ba96, #9ccc65);
}

.form-check-input:checked {
    background-color: #006774 !important;
    border-color: #006774 !important;
}

.pointer {
    cursor: pointer;
}

    .pointer:hover {
        cursor: pointer;
    }

.cursor-disabled {
    cursor: not-allowed;
}

    .cursor-disabled:hover {
        cursor: not-allowed;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg5NiAuMDAwMDAwMEEyLjk1NjAwIDAgMCAxIDU2LjY0NDE1IDYyLjkzNDgwIDAgMCAxIDI4OS4wMzYgOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg5IDYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.logo-text {
    margin-left:15px;
    color: black;
}

.logo-text-secondary {
    color: yellow;
}

.menu-link:hover {
    cursor: pointer;
}

.btn-google {
    background-color: #DB4437;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    transition: all .25s;
    text-align: center;
}
    .btn-google:hover {
        background-color: #db4437e0;
        text-decoration: none;
        color: #fff;
    }

.btn-twitter {
    background-color: #1DA1F2;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    transition: all .25s;
    text-align: center;
}
    .btn-twitter:hover {
        background-color: #1da1f2e0;
        text-decoration: none;
        color: #fff;
    }

.btn-facebook {
    background-color: #4267b2;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    transition: all .25s;
    text-align: center;
}
    .btn-facebook:hover {
        background-color: #5e83cf;
        text-decoration: none;
        color: #fff;
    }

.modal-header i {
    margin-right:10px;
}

.terms-header {
    margin-top: 75px;
    margin-bottom:10px;
    text-transform: uppercase;
}

#cookie-banner {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
    right: 0;
    bottom: 0;
    width: 100%;
}

    #cookie-banner > div {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        pointer-events: auto;
        overflow: hidden;
        padding: 15px 15px 15px 30px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        background-position: 15px center;
        background-repeat: no-repeat;
        -moz-box-shadow: 0 0 12px #999;
        -webkit-box-shadow: 0 0 12px #999;
        box-shadow: 0 0 12px #999;
        color: #fff;
        opacity: .9;
        -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
        filter: alpha(opacity=90);
        background-color: #0a0a0a;
    }

.cookie-accept {
    float:right;
    margin-right:10px;
    min-width: 60px;
}

.cookie-title {
    font-weight: 700;
}

/* Image Cropper */
.cropper-modal-container {
    margin: 20px auto;
    max-width: 640px;
    max-height: 640px;
}

.cropper-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Membership Pricing */
.pricing .card {
    background-color: lightgray;
    padding-top: 25px;
    padding-bottom: 25px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.pricing .card:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.popular-pricing-option {
    color: #008778;
}

/* Advertisements */
.ad-large-leaderboard {
    margin: 10px auto 10px auto;
    max-width: 970px;
    max-height: 90px;
    min-height: 5px;
}

.ad-leaderboard {
    display: none;
    margin: 0px;
}

.ad-mobile-leaderboard {
    position: absolute;
    display: none;
}

.ad-medium-rectangle {
    margin: 10px auto 10px auto;
    max-width: 300px;
    max-height: 250px;
    min-height: 5px;
}

@media (max-width:1280px) {
    .ad-large-leaderboard {
        display: none;
        margin: 0px;
    }

    .ad-leaderboard {
        position: relative;
        display: block;
        text-align: center;
        margin: 10px auto 10px auto;
        max-width: 728px;
        max-height: 90px;
        min-height: 5px;
    }

    .ad-mobile-leaderboard {
        position: absolute;
        display: none;
    }
}

@media (max-width:767px) {

    .ad-large-leaderboard {
        display: none;
        margin: 0px;
    }
    
    .ad-leaderboard {
        display: none;
        margin: 0px;
    }

    .ad-mobile-leaderboard {
        position: relative;
        display: block;
        text-align: center;
        margin: 10px auto 10px auto;
        max-width: 320px;
        max-height: 50px;
        min-height: 5px;
    }

    .ad-medium-rectangle {
        margin: 10px auto 10px auto;
        max-width: 300px;
        max-height: 250px;
        min-height: 10px;
    }
}

/* Scrollable Container */
.scrollable-container {
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
}

    .scrollable-container table {
        border-collapse: separate;
        position: relative;
        width: 100%;
        border-spacing: 0;
    }

    .scrollable-container thead {
        display: table-header-group;
    }

    .scrollable-container tbody {
        display: table-row-group;
    }

    .scrollable-container row {
        display: table-row;
    }

    .scrollable-container th {
        display: table-cell;
        position: sticky;
        z-index: 2;
        top: 0;
        box-shadow: 0 2px 2px -1px rgba(0,0,0,0.2);
    }

    .scrollable-container table tbody row td {
        display: table-cell;
    }

    .scrollable-container::-webkit-scrollbar {
        width: 8px;
        height: 8px;
        z-index: 1;
    }

    .scrollable-container::-webkit-scrollbar-thumb {
        background: #c4c4c4;
        width: 30px;
        height: 30px;
        border-radius: 4px;
    }

    .scrollable-container::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Swiper Container */
.swiper-container-pointer-events {
    touch-action: pan-y;
}

.swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000;
}

.hori-timeline .event-list {
    position: relative;
    text-align: center;
    padding: 24px;
}

.hori-timeline.timeline-card .event-list-item {
    background-color: #f5f6f8;
    padding: 24px;
    border-radius: 7px;
    -webkit-transition: all .2s;
    transition: all .2s;
    min-height:150px;
}

.swiper-arrow.arrow-sm .swiper-button-prev {
    height: 24px;
    width: 24px;
}

.swiper-arrow .swiper-button-prev {
    position: absolute;
    left: 0;
}

.swiper-arrow .swiper-button-next, .swiper-arrow .swiper-button-prev {
    height: 30px;
    width: 30px;
    margin: auto 0;
    color: #fff !important;
    background-color: #006774; /*#039ef5;*/
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    left: 10px;
    right: auto;
    padding-left:8px;
    padding-top:1px;
}

.swiper-arrow.arrow-sm .swiper-button-next, .swiper-arrow.arrow-sm .swiper-button-prev {
    height: 24px;
    width: 24px;
}

.swiper-arrow .swiper-button-next {
    position: absolute;
    right: 0;
}

.swiper-arrow .swiper-button-next, .swiper-arrow .swiper-button-prev {
    height: 30px;
    width: 30px;
    margin: auto 0;
    color: #fff !important;
    background-color: #006774;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none;
}

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 10px;
    left: auto;
    padding-left: 8px;
    padding-top: 1px;
}

.hori-timeline.timeline-card .event-list::before {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
}

.hori-timeline .event-list::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    top: 7px;
    background-color: #eff0f2;
}

/* Wizard Steps */
.wizard-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

    .wizard-nav .wizard-list-item {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        text-align: center;
    }

    .wizard-nav .list-item.active {
        color: #006774;
        background-color: transparent;
    }

    .wizard-nav .list-item-last.active {
        color: #006774;
        background-color: transparent;
    }

    .wizard-nav .wizard-list-item .list-item {
        width: 100%;
        font-size: 14px;
        position: relative;
    }

    .wizard-nav .wizard-list-item .list-item-last {
        width: 100%;
        font-size: 14px;
        position: relative;
    }

    .wizard-nav .list-item {
        font-size: 14px;
        position: relative;
    }

    .wizard-nav .list-item-last {
        font-size: 14px;
        position: relative;
    }

    .wizard-nav .list-item.active .step-icon {
        background-color: rgba(0,103,116,.2);
        color: #006774;
        border-color: rgba(0,103,116,.2);
    }

    .wizard-nav .list-item-last.active .step-icon {
        background-color: rgba(0,103,116,.2);
        color: #006774;
        border-color: rgba(0,103,116,.2);
    }

    .wizard-nav .step-icon {
        display: inline-block;
        width: 56px;
        height: 56px;
        line-height: 54px;
        border: 1px solid rgba(0,103,116,.2);
        color: #006774;
        text-align: center;
        border-radius: 50%;
        position: relative;
        z-index: 1;
        font-size: 20px;
    }

.wizard-nav .list-item::after {
    content: "";
    position: absolute;
    width: 75%;
    height: 2px;
    background-color: #cce1e3;
    left: 62%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (max-width: 720px) {
    .wizard-nav .list-item::after {
        content: none;
    }

    .wizard-nav .list-item, .list-item-last {
        padding: 0.5rem;
    }

    .wizard-nav .step-icon {
        width: 40px;
        height: 40px;
        line-height: 38px;
    }
} 

/* Drag and drop */
.drag-drop-selected {
    background-color: #b8e3bd;
}

.drop-zone {
    height: 50px;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
    border: dashed 1px black;
}

.drop-zone-highlight {
    height: 50px;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
    border: solid 2px green;
}

/* Tier Badge Colors */
.badge-A {
    color: #fff;
    background-color: #000075;
}

.badge-B {
    color: #fff;
    background-color: #E6194B;
}

.badge-C {
    color: #fff;
    background-color: #3CB44B;
}

.badge-D {
    color: #fff;
    background-color: #F58231;
}

.badge-E {
    color: #fff;
    background-color: #003EAA;
}

.badge-F {
    color: #fff;
    background-color: #D62899;
}

.badge-G {
    color: #fff;
    background-color: #00AA76;
}

.badge-H {
    color: #fff;
    background-color: #BE8B00;
}

.badge-I {
    color: #fff;
    background-color: #006AC9;
}

.badge-J {
    color: #fff;
    background-color: #8E5CD7;
}

.badge-K {
    color: #fff;
    background-color: #4B744B;
}

.badge-L {
    color: #fff;
    background-color: #936244;
}

.badge-M {
    color: #fff;
    background-color: #0094D3;
}

.badge-N {
    color: #fff;
    background-color: #00919F;
}

.badge-O {
    color: #fff;
    background-color: #2A272A;
}

.badge-P {
    color: #fff;
    background-color: #00BCCD;
}

.badge-Q {
    color: #fff;
    background-color: #5B4F8E;
}

.badge-R {
    color: #fff;
    background-color: #A1AFA0;
}

.badge-S {
    color: #fff;
    background-color: #677381;
}

.badge-T {
    color: #fff;
    background-color: #800000;
}

.badge-bfg-green {
    color: #fff;
    background-color: #008778;
}

.badge-bfg-yellow {
    color: #fff;
    background-color: #ffbe39;
}

.badge-bfg-red {
    color: #fff;
    background-color: #95163b;
}

.badge-bfg-grey {
    color: #fff;
    background-color: #545454;
}

/* Sticky */
.sticky {
    position: fixed !important;
    top: 80px;
    z-index: 5;
}

/* Partner Pages */
.bg-home-2 {
    /* padding: 250px 0px 220px 0px; */
    background-image: url(../img/bg-1.png);
    background-size: cover;
    background-position: center center;
    position: relative;
}

/* League Interface Styling */
.new-league-button {
    min-width: 120px;
}

.league-navbar {
    border-top-left-radius: 0.20rem;
    border-top-right-radius: 0.20rem;
}

.league-img-container {
    height: 210px;
    border-top: solid 1px #ffbe39;
}

    .league-img-container .backstretch {
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
    }

.league-img-container h4 {
    color: white !important;
}

.league-img-gradient {
    width: 100%;
    height: 100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+98&0.65+26,0+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.65) 26%, rgba(0,0,0,0.02) 98%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.65) 26%,rgba(0,0,0,0.02) 98%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.65) 26%,rgba(0,0,0,0.02) 98%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

.league-classic-img {
    border: 2px solid #000;
    width: 230px;
    float: left;
    border-radius: 5px;
}

/* ToolTip */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
    /*cursor: help;*/
}

.tooltip-text {
    max-width: 160px;
    white-space: normal;
    word-wrap: break-word;
}

    .tooltip-wrapper .tooltip-text {
        visibility: hidden;
        position: absolute;
        width: 160px;
        bottom: 100%;
        left: 50%;
        margin-left: -80px;
        background-color: #363636;
        color: #fff;
        text-align: center;
        padding: 5px 0;
        border-radius: 6px;
        z-index: 99999999;
        font-size: 10px;
    }

        .tooltip-wrapper .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip-wrapper:hover .tooltip-text {
        visibility: visible;
    }

.tooltip-wrapper .tooltip-text-below {
    visibility: hidden;
    position: absolute;
    width: 160px;
    top: 100%;
    left: 50%;
    margin-left: -80px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 99999999;
    font-size: 10px;
}

    .tooltip-wrapper .tooltip-text-below::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #555 transparent;
    }

.tooltip-wrapper:hover .tooltip-text-below {
    visibility: visible;
}

    /* Selected golfer table */
.table-selected-golfers td {
    vertical-align: middle;
    padding: 5px !important;
}
.golfer-text-sm {
    font-size: 13px;
    font-weight: 600;
}
.table-selected-golfers img {
    height: 100px;
    border-radius: 5px;
    margin: 5px;
}

.golfer-img-xs {
    height: 30px;
    border: 1px solid #b1b1b1;
}
.golfer-img-sm {
    height: 40px;
}
.golfer-img-md {
    height: 80px;
}
.golfer-img-lg {
    height: 100px;
}
.golfer-img-light {
    border: 4px solid #b1b1b1;
}
.golfer-img-dark {
    border: 4px solid #006774;
}
.golfer-img-light-thin {
    border: 2px solid #b1b1b1;
}
.golfer-img-dark-thin {
    border: 2px solid #006774;
}

.golfer-row-even {
    background-color: #f1f1f1;
}
.golfer-row-odd {
    background-color: white;
}
.golfer-row-header {
    background-color: #e2e2e2;
    border-bottom: 1px solid #d1d1d1 !important;
    border-top: none !important;
}
.golfer-row-header th {
    background-color: #e2e2e2 !important;
    border-bottom: 1px solid #d1d1d1 !important;
    border-top: none !important;
}
.row-no-bottom-border {
    border-bottom: none !important;
    border-top: none !important;
}
.row-bottom-border {
    border-bottom: 1px solid #d1d1d1 !important;
    border-top: none !important;
}
.row-no-bottom-border td {
    border-bottom: none !important;
    border-top: none !important;
}

.row-bottom-border td {
    border-bottom: 1px solid #d1d1d1 !important;
    border-top: none !important;
}

.bg-golfer-started {
    background-color: #fdeab4;
}

.team-img-sm {
    height: 40px;
    border: 2px solid #2F4858;
}

.img-border {
    padding: 0.25rem;
    background-color: #c4c4c5;
    border: #eff0f2;
    max-width: 100%;
    height: auto;
}

/* Custom tab styles */
.nav-tabs-custom {
    border-bottom: 2px solid var(--bs-gray-300);
}
.nav-tabs-custom .nav-item {
    position: relative;
    color: #343a40;
}
.nav-tabs-custom .nav-item .nav-link.active {
    color: #006774;
}

.nav-tabs-custom .nav-item .nav-link {
    border: none;
}
    .nav-tabs-custom .nav-item .nav-link.active:after {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    .nav-tabs-custom .nav-item .nav-link::after {
        content: "";
        background: #006774;
        height: 2px;
        position: absolute;
        width: 100%;
        left: 0;
        bottom: -2px;
        -webkit-transition: all 250ms ease 0s;
        transition: all 250ms ease 0s;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

.btn-outline-light {
    color: #b9b9b9 !important;
    border-color: #e4e4e5 !important;
}

/* Chat List */
.chat-list li a {
    position: relative;
    display: block;
    color: var(--bs-text-muted);
    -webkit-transition: all .4s;
    transition: all .4s;
    padding: 12px;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    margin: 12px 0;
}
    .chat-list li a:hover {
        color: #FFF;
        background-color: #006774;
    }
    .chat-list li a:hover h5 {
        color: #FFF;
    }

.strikethrough {
    text-decoration: line-through;
    color: red;
}

.chat-list li.active a {
    background-color: rgba(0,103,116, 0.5);
    border-color: transparent;
}

/* Custom striped table */
/*.bfg-table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8f9fa;
    color: #495057;
}
.bfg-table-striped > tbody > tr.bg-bfg-yellow:nth-of-type(odd) {
    background-color: #FFBE39 !important;
    color: #495057;
}*/

/* Premium Content */
.premium-content-box {
    border: 1px dashed #FFBE39;
}

/* muted text - originally for tranaction log */
.text-soft-italic {
    color: #b5b5b5;
    /*opacity: .3;*/
    font-style: italic;
}
.text-italic {
    font-style: italic;
}
.text-bold {
    font-weight: 500;
}

/* Messages */
.chat-conversation .chat-day-title {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
    border: none;
}

    .chat-conversation .chat-day-title:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 0px;
        left: 0;
        right: 0;
        background-color: #98a1a6;
        top: 16px;
    }

    .chat-conversation .chat-day-title .title {
        display: inline-block;
        background-color: #0f1518;
        color: #e6eef0;
        position: relative;
        z-index: 1;
        padding: 4px 16px;
        border-radius: 30px;
    }

    .chat-conversation .chat-day-title .load-more {
        display: inline-block;
        color: #efeeee;
        background-color: #006774;
        position: relative;
        z-index: 1;
        padding: 4px 16px;
        border-radius: 30px;
    }

.chat-conversation li {
    clear: both;
}

.chat-conversation .conversation-list {
    margin-bottom: 24px;
    position: relative;
}

    .chat-conversation .conversation-list .dropdown .dropdown-toggle {
        font-size: 18px;
        padding: 4px;
        color: #74788d;
    }

.chat-conversation .right .conversation-list {
    float: right;
    text-align: right;
}

.chat-conversation .right-removed .conversation-list {
    float: right;
    text-align: right;
}

.dropdown-toggle {
    white-space: nowrap;
}

.chat-conversation .conversation-list .ctext-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
}

.chat-conversation .conversation-list .ctext-wrap-content {
    padding: 12px 20px;
    background-color: rgb(0,103,116, 0.3);
    border-radius: 0 8px 8px 8px;
    color: var(--bs-secondary-color);
    position: relative;
    margin-left: 6px;
}

    .chat-conversation .conversation-list .ctext-wrap-content:before {
        content: "";
        position: absolute;
        border: 5px solid transparent;
        border-right-color: rgb(0,103,116, 0.3);
        border-top-color: rgb(0,103,116, 0.3);
        left: -10px;
        top: 0;
    }

.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    background-color: rgba(255,190,57,.3);
    text-align: right;
    border-radius: 8px 0 8px 8px;
    margin-left: 0;
    margin-right: 6px;
}

    .chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content:before {
        border: 5px solid transparent;
        border-top-color: rgba(255,190,57,.3);
        border-left-color: rgba(255,190,57,.3);
        left: auto;
        right: -10px;
    }

.chat-conversation .right-removed .conversation-list .ctext-wrap .ctext-wrap-content {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    background-color: rgba(243,78,78,.25);
    text-align: right;
    border-radius: 8px 0 8px 8px;
    margin-left: 0;
    margin-right: 6px;
}

    .chat-conversation .right-removed .conversation-list .ctext-wrap .ctext-wrap-content:before {
        border: 5px solid transparent;
        border-top-color: rgba(243,78,78,.25);
        border-left-color: rgba(243,78,78,.25);
        left: auto;
        right: -10px;
    }

.chat-conversation .conversation-list .conversation-name {
    margin-bottom: 4px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 13px;
}

.chat-conversation .conversation-list .conversation-name .time {
    font-size: 12px;
    color: var(--bs-secondary-color);
    margin-left: 8px;
    font-weight: 400;
}

.chat-conversation .chat-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.chat-conversation .right .conversation-list .chat-avatar {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}

.chat-conversation .right-removed .conversation-list .chat-avatar {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}

/* Alert Button */
.alert-with-button {
    padding-right: 150px !important;
    min-height: 30px;
}
.alert-button-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    margin: 15px !important;
}

/* Countdown Timer */
.countdown-timer .xxl {
    font-size: 80px;
}
.countdown-timer .xl {
    font-size: 40px;
}
.countdown-timer .lg {
    font-size: 30px;
}
.countdown-timer .md {
    font-size: 22px;
}
.countdown-timer .sm {
    font-size: 16px;
}
.countdown-timer .xs {
    font-size: 11px;
}

/* Sortable Drag & Drop */
.drag-handle :hover {
    cursor: move;
}
.sortable-ghost {
    visibility: hidden;
}

.sortable-fallback {
    opacity: 1 !important;
}

.sortable-list-item {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Live Draft */
.draft-room-container {
    padding: 20px;
    margin-top: 160px;
}

.draft-selections-sticky {
    z-index: 5;
    position: sticky;
    top: 0px;
    position: fixed !important;
}

.draft-selections-card {
    margin: 0px 20px 0px 0px;
}

.draft-board-column {
    max-width: 110px;
}

.draft-selections-container {
    position: relative;
    z-index: 2;
    height: 4.7rem;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.draft-selections-container ul {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1.1rem;
    padding-left: 0;
    margin-block: 0;
    overflow-x: auto;
    list-style: none;
    text-align: center;
    white-space: nowrap;
}

.draft-selection-box {
    display: block;
    margin: .1rem .75rem;
    border: 1px solid #d1d1d1;
    width: 190px;
    padding: 2px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    line-height: 16px;
}

.active-draft-selection {
    border: 3px solid #008778 !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 12px, rgba(0, 0, 0, 0.22) 0px 5px 7px;
}

/* Scorecards */
.scorecard-hole {
    width: 4%;
}

.bg-scorecard-light-grey {
    background-color: #eff0f2;
}

.bg-scorecard-medium-grey {
    background-color: #dbdbdb;
}

.bg-scorecard-dark-grey {
    background-color: #b1afaf;
}

/* League Pricing */
.league-pricing {
    min-height: 500px;
}

.league-pricing-selected {
    min-height: 480px;
    border: 1px solid #95163b !important;
}
.list-img {
    height: 70px;
    padding: 5px;
    border-radius: 10px;
}
/* ==========================
   Dark theme (scoped) — toggle by adding/removing
   the "dark-theme" class on <body>.
   Appended block — do NOT duplicate if already present.
   ========================== */

body.dark-theme {
    --bg: #0b0f12;
    --surface: #0f1518;
    --surface-2: #0c1113;
    --text: #e6eef0;
    --muted: #98a1a6;
    --primary: #00907e;
    --primary-2: #00a187;
    --accent: #ffbe39;
    --danger: #c94b54;
    --onPrimary: #eff0ee;
    --card-border: rgba(255,255,255,0.04);
    --table-row-odd: #0f1518;
    --table-row-even: #13171a;
}

/* Base page */
body.dark-theme {
    background-color: var(--bg) !important;
    color: var(--text) !important;
}

/* Links */
body.dark-theme a,
body.dark-theme .bfg-link {
    color: var(--primary) !important;
}
body.dark-theme a:hover,
body.dark-theme .bfg-link:hover {
    color: var(--accent) !important;
}

/* Cards, panels, modals */
    body.dark-theme .card,
    body.dark-theme .card-body,
    body.dark-theme .modal-content,
    body.dark-theme .modal-header,
    body.dark-theme .popular-pricing-option,
    body.dark-theme .list-group-item,
    body.dark-theme .pricing .card {
        background-color: var(--surface) !important;
        color: var(--text) !important;
        border: 1px solid var(--card-border);
        box-shadow: none !important;
    }
.list-group-flush > .list-group-item {
    border-width: 0 0 1px !important;
}

    /* Background helpers */
    body.dark-theme .bg-bfg {
        background-color: #031f2a !important;
        color: var(--onPrimary) !important;
    }

    body.dark-theme .bg-bfg-2 {
        background-color: #121619 !important;
        color: var(--text) !important;
    }

    body.dark-theme .bg-bfg-green {
        background-color: var(--primary-2) !important;
        color: var(--onPrimary) !important;
    }

    body.dark-theme .bg-bfg-yellow {
        background-color: var(--accent) !important;
        color: #111 !important;
    }

/* Headers */
    body.dark-theme h1,
    body.dark-theme h2,
    body.dark-theme h3,
    body.dark-theme h4,
    body.dark-theme h5,
    body.dark-theme h6{
        color: var(--text) !important;
    }

    body.dark-theme .card-header,
    body.dark-theme .nav-tabs-custom .nav-tabs .nav-item .nav-link.active {
        background-color: var(--surface-2) !important;
        color: var(--text) !important;
        border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    }

    body.dark-theme .nav-tabs {
        background-color: #031f2a !important;
        color: var(--text) !important;
        border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    }

    body.dark-theme .nav-link.active {
        background-color: rgba(255, 255, 255, 0.02) !important;
        color: var(--accent) !important;
        border: none !important;
    }
.nav-tabs {
    padding: 5px !important;
    border-radius: 5px !important;
}
.nav-tabs .nav-link {
    border: none !important;
}

/* Buttons */
body.dark-theme .btn-bfg {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--onPrimary) !important;
}
body.dark-theme .btn-bfg:hover {
    background-color: var(--primary-2) !important;
    border-color: var(--primary-2) !important;
}
body.dark-theme .btn-bfg-green {
    background-color: var(--primary-2) !important;
    border-color: var(--primary-2) !important;
    color: var(--onPrimary) !important;
}
body.dark-theme .btn-bfg-red {
    background-color: var(--danger) !important;
    border-color: var(--danger) !important;
    color: var(--onPrimary) !important;
}



/* Badges */
body.dark-theme .badge-soft-success { color: #7be3b7; background-color: rgba(123,227,183,.08); }
body.dark-theme .badge-soft-danger  { color: #f79b9b; background-color: rgba(199,95,95,.06); }
body.dark-theme .badge-soft-secondary { color: var(--muted); background-color: rgba(150,160,170,.06); }

/* Tables */
body.dark-theme .table,
body.dark-theme .table-hover {
    color: var(--text) !important;
    background-color: transparent !important;
    border-color: var(--card-border) !important;
}
body.dark-theme .table thead th {
    background-color: var(--surface-2) !important;
    color: var(--text) !important;
}
body.dark-theme .bfg-table-striped > tbody > tr:nth-of-type(odd) { background-color: var(--table-row-odd) !important; }
body.dark-theme .bfg-table-striped > tbody > tr:nth-of-type(even) { background-color: var(--table-row-even) !important; }

/* Scrollbars */
body.dark-theme .scrollable-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
}
body.dark-theme .scrollable-container::-webkit-scrollbar {
    background: transparent;
}

/* Inputs & forms */
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select,
body.dark-theme .form-control {
    background-color: #0c1113 !important;
    color: var(--text) !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
}
body.dark-theme .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Avatars / images */
body.dark-theme .avatar img,
body.dark-theme .golfer-img-sm,
body.dark-theme .golfer-img-xs,
body.dark-theme .golfer-img-md,
body.dark-theme .golfer-img-lg {
    border: 2px solid rgba(255,255,255,0.06) !important;
}

/* Tooltips / cookie banner */
body.dark-theme .tooltip-wrapper .tooltip-text,
body.dark-theme .tooltip-wrapper .tooltip-text-below,
body.dark-theme #cookie-banner > div {
    background-color: #121519 !important;
    color: var(--muted) !important;
    border: 1px solid rgba(255,255,255,0.04);
}

/* Nav / pills */
body.dark-theme .nav-pills .nav-link-bfg.active,
body.dark-theme .nav-pills .nav-link-bfg {
    color: var(--text) !important;
}
body.dark-theme .nav-pills .nav-link-bfg.active { background-color: var(--primary) !important; }

/* Chat bubbles */
body.dark-theme .chat-conversation .conversation-list .ctext-wrap-content {
    background-color: rgba(255,255,255,0.03) !important;
    color: var(--text) !important;
}
body.dark-theme .chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content {
    background-color: rgba(255,190,57,0.08) !important;
    color: #111 !important;
}

/* Alerts */
body.dark-theme .blazor-error-boundary {
    background-color: #641b1b !important;
    color: #fff !important;
}

/* Misc visuals */
body.dark-theme .league-img-container h4,
body.dark-theme .logo-text { color: var(--text) !important; }
body.dark-theme .logo-text-secondary { color: var(--accent) !important; }

body.dark-theme .drop-zone,
body.dark-theme .drop-zone-highlight {
    background-color: rgba(255,255,255,0.01) !important;
    border-color: rgba(255,255,255,0.06) !important;
}

/* Tier badges */
body.dark-theme .badge-A, body.dark-theme .badge-B, body.dark-theme .badge-C,
body.dark-theme .badge-D, body.dark-theme .badge-E, body.dark-theme .badge-F,
body.dark-theme .badge-G, body.dark-theme .badge-H, body.dark-theme .badge-I,
body.dark-theme .badge-J, body.dark-theme .badge-K, body.dark-theme .badge-L,
body.dark-theme .badge-M, body.dark-theme .badge-N, body.dark-theme .badge-O,
body.dark-theme .badge-P, body.dark-theme .badge-Q, body.dark-theme .badge-R,
body.dark-theme .badge-S, body.dark-theme .badge-T {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.03);
}

/* Cookie / privacy banner specifics */
body.dark-theme #cookie-banner > div { background-color: rgba(10,10,10,0.9); color: var(--text); }

/* Small UI niceties */
body.dark-theme .countdown-timer .xxl, body.dark-theme .countdown-timer .xl, body.dark-theme .countdown-timer .lg { color: var(--text); }

/* Swiper arrows */
body.dark-theme .swiper-arrow .swiper-button-next,
body.dark-theme .swiper-arrow .swiper-button-prev {
    background-color: var(--primary) !important;
}

/* Images and borders */
body.dark-theme .img-border { background-color: transparent !important; border: 1px solid rgba(255,255,255,0.04) !important; }

/* Make small text readable */
/*body.dark-theme .text-soft-italic, body.dark-theme .text-italic, body.dark-theme .text-bold, body.dark-theme .tooltip-text { color: var(--muted) !important; }*/

/* end dark-theme appended block */


/* ===========================
   Dark theme overrides for app frame, header, nav, footer
   Activated when body has class "dark-theme"
   Appended block
   =========================== */

body.dark-theme {
    --bfg-bg: #0b0f12;
    --bfg-surface: #0f1518;
    --bfg-surface-2: #0c1113;
    --bfg-text: #e6eef0;
    --bfg-muted: #98a1a6;
    --bfg-primary: #00907e;
    --bfg-accent: #ffbe39;
    --bfg-border: rgba(255,255,255,0.04);
}

    /* Page topbar / header */
    body.dark-theme #page-topbar {
        background-color: var(--bfg-surface) !important;
        -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.6);
        box-shadow: 0 2px 3px rgba(0,0,0,0.6);
        color: var(--bfg-text);
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

body.dark-theme .navbar-header,
body.dark-theme .navbar-brand-box,
body.dark-theme .header-item {
    color: var(--bfg-text) !important;
}

/* Logo swap: show light logo on dark theme */
body.dark-theme .logo-dark {
    display: none !important;
}

body.dark-theme .logo-light {
    display: block !important;
}

/* Navbar brand box (logo area) */
body.dark-theme .navbar-brand-box {
    background-color: var(--bfg-surface-2) !important;
    -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.6);
    box-shadow: 0 2px 3px rgba(0,0,0,0.6);
    border-right: 1px solid rgba(255,255,255,0.03);
}

/* Top navigation bar */
body.dark-theme .topnav,
body.dark-theme .topnav .navbar-nav .nav-link,
body.dark-theme .topnav .navbar-nav .dropdown-item {
    background-color: var(--bfg-surface-2) !important;
    color: var(--bfg-text) !important;
}

    body.dark-theme .topnav .navbar-nav .nav-link:hover,
    body.dark-theme .topnav .navbar-nav .nav-link:focus {
        color: var(--bfg-accent) !important;
    }

/* Vertical menu / sidebar */
body.dark-theme .vertical-menu {
    background: linear-gradient(180deg, #02232e 0%, #031f2a 100%) !important;
    border-right: 1px solid rgba(255,255,255,0.03) !important;
}

body.dark-theme #sidebar-menu ul li a {
    color: #9fb4bd !important;
}

    body.dark-theme #sidebar-menu ul li a .nav-icon {
        color: #86a6af !important;
    }

    body.dark-theme #sidebar-menu ul li a:hover,
    body.dark-theme #sidebar-menu ul li.mm-active > a {
        color: var(--bfg-accent) !important;
    }

body.dark-theme #sidebar-menu ul li.mm-active > a {
    background-color: rgba(255,255,255,0.02) !important;
    color: var(--bfg-accent) !important;
}

/* Main content area */
body.dark-theme .main-content,
body.dark-theme .page-content {
    background-color: var(--bfg-bg) !important;
    color: var(--bfg-text) !important;
}

/* Footer */
body.dark-theme .footer {
    background-color: var(--bfg-surface-2) !important;
    color: var(--bfg-muted) !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* Right bar / overlays */
body.dark-theme .right-bar,
body.dark-theme .right-bar .rightbar-content {
    background-color: var(--bfg-surface) !important;
    color: var(--bfg-text) !important;
    -webkit-box-shadow: 0 0 24px 0 rgba(0,0,0,0.6);
    box-shadow: 0 0 24px 0 rgba(0,0,0,0.6);
}

body.dark-theme .rightbar-overlay {
    background-color: rgba(0,0,0,0.6) !important;
}

/* Notification dropdowns and items */
body.dark-theme .notification-item .d-flex {
    background-color: transparent !important;
    color: var(--bfg-text) !important;
}

    body.dark-theme .notification-item .d-flex:hover {
        background-color: rgba(255,255,255,0.02) !important;
    }

/* Simplebar (scrollbars inside sidebar) */
body.dark-theme .simplebar-scrollbar:before {
    background: rgba(255,255,255,0.06) !important;
}

/* Avatar title */
body.dark-theme .avatar-title {
    background-color: var(--bfg-primary) !important;
    color: var(--bfg-text) !important;
    border: 1px solid var(--bfg-border) !important;
}

/* Dropdowns, menus and hover states */
body.dark-theme .dropdown-icon-item:hover,
body.dark-theme .dropdown-menu,
body.dark-theme .dropdown-item {
    background-color: var(--bfg-surface) !important;
    color: var(--bfg-text) !important;
    border-color: rgba(255,255,255,0.02);
}

/* Search and form controls */
body.dark-theme .app-search .form-control,
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select,
body.dark-theme .form-control {
    background-color: #0c1113 !important;
    color: var(--bfg-text) !important;
    border: 1px solid var(--bfg-border) !important;
}

/* Page-title box and breadcrumb */
body.dark-theme .page-title-box {
    color: var(--bfg-text) !important;
}

    body.dark-theme .page-title-box .breadcrumb {
        color: var(--bfg-muted) !important;
    }

/* Buttons and icon color in header */
body.dark-theme .header-item i,
body.dark-theme .noti-icon i {
    color: var(--bfg-text) !important;
}

body.dark-theme .noti-dot {
    -webkit-box-shadow: 0 0 0 3px #0b0f12;
    box-shadow: 0 0 0 3px #0b0f12;
}

/* Ensure printable styles unaffected */
@media print {
    body.dark-theme #page-topbar {
        display: none;
    }

    body.dark-theme .vertical-menu {
        display: none;
    }
}

/* end dark-theme overrides for app frame, header, nav, footer */


/* Dark-theme: table header, striped rows, links and primary buttons (append into dark-theme block) */
body.dark-theme .scrollable-container th,
body.dark-theme .table thead th,
body.dark-theme .table th {
    background-color: var(--bfg-surface-2, var(--surface-2)) !important;
    color: var(--bfg-text, var(--text)) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

body.dark-theme .table tbody tr:nth-child(odd) {
    background-color: var(--table-row-odd);
}

body.dark-theme .table tbody tr:nth-child(even) {
    background-color: var(--table-row-even);
}
body.dark-theme .table-hover > tbody > tr:hover {
    background-color: var(--table-row-even) !important;
}

body.dark-theme .bfg-table-striped > tbody > tr:nth-of-type(odd) {
    background-color: var(--table-row-odd) !important;
}

body.dark-theme .bfg-table-striped > tbody > tr:nth-of-type(even) {
    background-color: var(--table-row-even) !important;
}

body.dark-theme a,
body.dark-theme .bfg-link,
body.dark-theme .nav-link-bfg,
body.dark-theme .topnav .navbar-nav .nav-link {
    color: #9fb4bd !important;
}
    body.dark-theme .nav-link:hover {
        color: var(--accent) !important;
        border: none !important;
    }

    body.dark-theme a:hover,
    body.dark-theme .bfg-link:hover,
    body.dark-theme .nav-link-bfg:hover,
    body.dark-theme .topnav .navbar-nav .nav-link:hover {
        color: #fffbe6 !important;
        text-decoration: underline;
    }

/*body.dark-theme .btn-bfg {
    background-color: var(--bfg-accent, var(--accent)) !important;
    border-color: var(--bfg-accent, var(--accent)) !important;
    color: #111 !important;
}*/

/*    body.dark-theme .btn-bfg:hover,
    body.dark-theme .btn-bfg:active,
    body.dark-theme .btn-bfg:focus {
        background-color: #ffc84d !important;
        border-color: #ffc84d !important;
        color: #111 !important;
    }*/

body.dark-theme .header-item.btn,
body.dark-theme .header-item.button {
    color: var(--bfg-accent, var(--accent)) !important;
}

body.dark-theme .table,
body.dark-theme .table td,
body.dark-theme .table th {
    border-color: rgba(255,255,255,0.04) !important;
}

    body.dark-theme .table thead th small,
    body.dark-theme .table thead th .small {
        color: var(--bfg-muted, var(--muted)) !important;
    }


body.dark-theme .card-footer {
    background-color: var(--surface) !important;
    border-top: none !important;
}
body.dark-theme .page-link {
    background-color: var(--surface) !important;
    border-color: var(--surface) !important;
}
body.dark-theme .accordion-button {
    color: var(--muted) !important;
}
body.dark-theme .accordion-item {
    border-bottom: none !important;
}
.modal-footer {
    border-top: none;
}
body.dark-theme .progress {
    background-color: #222 !important;
}
body.dark-theme .form-check-input {
    background-color: #eee !important;
}

/* Hide Blazor's built-in reconnect overlay (we'll use a subtle header indicator) */
#blazor-error-ui {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Connection status dot in header */
.connection-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.25) inset;
    vertical-align: middle;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

/* States */
.connection-dot.connected {
    background-color: #3ddc84; /* green */
    box-shadow: 0 0 0 6px rgba(61,220,132,0.08);
}
.connection-dot.reconnecting {
    background-color: #ff9f1a; /* orange */
    box-shadow: 0 0 0 6px rgba(255,159,26,0.08);
}
.connection-dot.disconnected {
    background-color: #e04b4b; /* red */
    box-shadow: 0 0 0 6px rgba(224,75,75,0.08);
}

/* Provide small tooltip-like text on hover */
.connection-dot[title] {
    cursor: default;
}

/* small spacing for header */
#connection-status-dot {
    margin: 0 0 5px 5px;
}

/* Live scoring standings tweaks: taller rows, team logo and responsive column hiding */

/* Row height / spacing */
.live-standings-row td {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    vertical-align: middle;
}

/* Team logo */
.team-logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px; /* rounded corners */
    border: 1px solid rgba(0,0,0,0.06);
}

/* Team name & golfers */
.team-name {
    font-size: 1.05rem; /* increased font size */
    font-weight: 600;
    line-height: 1.3;
}
.team-golfers {
    font-size: 0.85rem;
    margin-top: 0.15rem;
    color: #74788d;
}

/* Highlight rows owned by the logged-in user */
.owned-row, .highlight-row {
    background-color: rgba(0, 153, 255, 0.2) !important; /* subtle blue highlight */
}

/* Make sure the highlight stays visible on hover */
.live-standings-row.owned-row:hover {
    background-color: rgba(0, 153, 255, 0.2);
}

@media (min-width: 1024px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Hide change & owner columns on small screens */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    /* Slightly reduce spacing on mobile */
    .live-standings-row td {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .team-logo {
        width: 42px;
        height: 42px;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-golfers {
        font-size: 0.6rem;
    }
}

/* Live-standings: force Pos and Chg columns to max 50px */
.live-standings-table {
    table-layout: fixed; /* respect explicit column widths */
}

    /* target header and body cells */
    .live-standings-table th.col-pos,
    .live-standings-table td.col-pos,
    .live-standings-table th.col-change,
    .live-standings-table td.col-change {
        width: 60px;
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* target header and body cells */
    .live-standings-table th.col-owner,
    .live-standings-table td.col-owner,
    .live-standings-table th.col-points,
    .live-standings-table td.col-points
    {
        width: 120px;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* keep change column hidden on small screens as already controlled by .hide-mobile */
@media (max-width: 767px) {
    .live-standings-table th.col-change,
    .live-standings-table td.col-change {
        display: none !important;
    }

    .table-selected-golfers img {
        height: 60px;
        border-radius: 5px;
        margin: 2px;
    }
    /*    .page-content {
        padding: calc(70px + 20px) 0 60px 0;
    }
*/
    /* Reduce horizontal padding for main layout containers and cards */
    .page-content,
    .content,
    .container,
    .container-fluid,
    .modal-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .card-body, .card-header {
        padding: 0.75rem 0.75rem !important;
    }

    /* Slightly reduce card margins so cards use available width */
    .card {
        margin-left: 0;
        margin-right: 0;
    }

    /* List items and grouped content should also tighten */
    .list-group-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Make the VS column have a smaller footprint on md+ screens (reused class) */
    .matchup-vs {
        padding: 0 !important;
        font-size: 0.9rem;
        line-height: 1;
    }

    .row > * {
        padding-right: calc(var(--bs-gutter-x) * .2) !important;
        padding-left: calc(var(--bs-gutter-x) * .2) !important;
    }
}

    .page-content {
        max-width: 1600px !important;
    }

    #components-reconnect-modal {
        display: none !important;
        visibility: hidden !important;
    }

    .quicklinks {
        padding: 0 10px 0 10px;
    }

