a {
    color: #212529;
}

.ts-dropdown-content {
    background-color: #fff;
}

#search_player_form label {
    display: none;
}

.player {
    border-bottom: 1px solid #ccc;
}

.player-title {
    align-items: center;
    padding: 10px 0;
}
.player-title .teamlogo {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: -7px;
}
.player-title .bi {
    font-size: 16px;
    vertical-align: -2px;
}
.player-name {
    display: inline-block;
    vertical-align: -2px;
}

.player-detail {
    display: flex;
    /*background-color: #eee;*/
}
.player-detail-container {
    /*display: flex;*/
    /*flex-direction: column;*/
}
.player-detail-content {
    /*display: flex;*/
}

.detail-data {
    float: left;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
    margin: 0 8px 8px 0;
    width: 70px;
    height: 70px;
}

.detail-data .teamlogo {
    width: 45px;
    height: 45px;
}

.detail-data .where {
    font-size: 35px;
}

.detail-data .remove {
    font-size: 35px;
}

.player .badge {
    margin-right: 6px;
}

.auction-player-list,
.auction-scroll-panel {
    max-height: 65vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: .5rem;
    scrollbar-gutter: stable;
}

.auction-player-list .player.is-owned > .player-title {
    background-color: #d1e7dd;
}

.auction-player-list .player.is-excluded > .player-title,
.auction-target-card.is-excluded > .player-title {
    background-color: #e9ecef;
    color: #6c757d;
}

.player.is-excluded .player-name strong {
    text-decoration: line-through;
}

.auction-sold-badge {
    font-size: .65rem;
    margin-left: .5rem;
}

.auction-swipe-underlay {
    display: none;
}

.auction-player-search {
    width: 50%;
}

#auction-budget-dashboard {
    position: relative;
}

.auction-config-button {
    line-height: 1;
    padding: .35rem;
    position: absolute;
    right: .35rem;
    top: .25rem;
    z-index: 2;
}

.auction-dashboard-warnings {
    display: grid;
    gap: .25rem;
}

.navbar-team-selector {
    flex: 0 1 10rem;
    min-width: 0;
}

.navbar-team-selector form {
    display: block !important;
    margin: 0;
    max-width: 100%;
    min-width: 0;
}

.navbar-team-selector .form-select {
    max-width: 100%;
}

.auction-player-details {
    display: grid;
    gap: .5rem;
    padding: 0 0 .75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.auction-history {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem 1rem;
    min-width: 0;
}

.auction-target-editor {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(10rem, .75fr) 8rem;
    gap: .5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.auction-target-editor > * {
    min-width: 0;
}

.auction-target-note {
    grid-column: 1 / -1;
}

@media (max-width: 575.98px) {
    .navbar-team-selector {
        flex-basis: 7.5rem;
        max-width: 7.5rem;
    }

    .auction-list-controls {
        flex-wrap: wrap;
        gap: .5rem;
    }

    .auction-player-search {
        flex: 1 0 100%;
        margin-right: 0 !important;
        width: 100%;
    }

    .auction-exclude-button {
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;
        height: 1px !important;
        margin: -1px !important;
        overflow: hidden !important;
        padding: 0 !important;
        position: absolute !important;
        white-space: nowrap !important;
        width: 1px !important;
    }

    .auction-sold-badge {
        display: none;
    }

    .auction-player-list .player-title {
        touch-action: pan-y;
    }

    .auction-player-list .player {
        overflow: hidden;
        position: relative;
    }

    .auction-player-list .player > .player-title {
        background-color: #fff;
        position: relative;
        transform: translateX(0);
        will-change: transform;
        z-index: 1;
    }

    .auction-player-list .player > .player-title.is-swiping {
        transition: none;
    }

    .auction-player-list .player > .player-title.is-settling {
        transition: transform .18s ease-out;
    }

    .auction-player-list .auction-swipe-underlay {
        align-items: center;
        color: #fff;
        display: flex;
        font-size: .75rem;
        font-weight: 700;
        gap: .4rem;
        inset: 0 0 auto;
        min-height: 44px;
        opacity: 0;
        padding: 0 1rem;
        position: absolute;
        transition: opacity .12s ease-out;
    }

    .auction-player-list .auction-swipe-underlay-sold {
        background-color: #dc3545;
        justify-content: flex-end;
    }

    .auction-player-list .auction-swipe-underlay-restore {
        background-color: #198754;
        justify-content: flex-start;
    }

    .auction-player-list .player.swipe-left > .auction-swipe-underlay-sold,
    .auction-player-list .player.swipe-right > .auction-swipe-underlay-restore {
        opacity: 1;
    }

    .auction-player-list .player.is-owned > .player-title {
        background-color: #d1e7dd;
    }

    .auction-player-list .player.is-excluded > .player-title {
        background-color: #e9ecef;
    }

    .auction-target-editor {
        grid-template-columns: minmax(0, 1fr) 6.5rem auto;
    }

    .auction-target-note {
        grid-column: 1 / -1;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .auction-target-editor {
        grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 7rem;
    }
}

.role-p {
    background-color: orange;
}
.role-d {
    background-color: green;
}
.role-c {
    background-color: blue;
}
.role-a {
    background-color: red;
}
.odds {
    color: #999;
    display: inline-block;
    vertical-align: -1px;
}
.odds.success {
    border-right: 5px solid limegreen;
    padding-right: 4px;
}
.odds.warning {
    border-right: 5px solid orange;
    padding-right: 4px;
}
.odds.danger {
    border-right: 5px solid red;
    padding-right: 4px;
}
.nav-link, .navbar-brand a {
    color: #212529;
}

.updates-icon {
    font-size: 20px;
    cursor: pointer;
    vertical-align: -3px;
}
.bold {
    font-weight: bold;
}
.modeSelection {
    border-color: #212529;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: 1;
}

@media (max-width: 410px) {
    .schemas .mx-1 {
        margin-left: .10rem !important;
        margin-right: .10rem !important;
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}
.pricing-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-10px);
}
.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #28a745;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(45deg);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.red {
    color: red;
}

.green {
    color: green;
}

.gray {
    color: lightgray;
}

.comparator-role-p {
    color: orange;
    border-color: orange;
}
.comparator-role-d {
    color: green;
    border-color: green;
}
.comparator-role-c {
    color: blue;
    border-color: blue;
}
.comparator-role-a {
    color: red;
    border-color: red;
}
.fantacalcio {
    border-bottom: 2px solid darkblue;
}
.gazzetta {
    border-bottom: 2px solid pink;
}
.sky {
    border-bottom: 2px solid red;
}
.status-0 {
    color: green;
}
.status-1 {
    color: orange;
}
.status-3 {
    color: red;
}
.status-2 {
    color: purple;
}
.status-4 {
    color: gray;
}

.role-mantra-p {
    background-color: orange;
    width: 35px;
}
.role-mantra-ds,
.role-mantra-dc,
.role-mantra-dd,
.role-mantra-b {
    background-color: green;
    width: 35px;
}
.role-mantra-c,
.role-mantra-m,
.role-mantra-e {
    background-color: blue;
    width: 35px;
}
.role-mantra-w,
.role-mantra-t {
    background-color: purple;
    width: 35px;
}
.role-mantra-a,
.role-mantra-pc {
    background-color: red;
    width: 35px;
}
