/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* =========================
   BODY
========================= */

body{

    font-family: "Inter", sans-serif;

    background:#121212;

    color:#F5F5F5;

}


/* =========================
   NAVBAR
========================= */

.navbar{

    background:#1A1A1A !important;

    border-bottom:2px solid #2ECC71;

}


/* =========================
   CARDS
========================= */

.card{

    background:#1E1E1E;

    border:1px solid #333;

    border-radius:18px;

    transition:all .25s ease;

}


.card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(46,204,113,.25);

}


/* =========================
   BUTTONS
========================= */

.btn-success{

    background:#2ECC71;

    border:none;

}


.btn-success:hover{

    background:#27AE60;

}


/* =========================
   PLAYER NAME
========================= */

h5{

    font-weight:600;

}


/* =========================
   CLUB NAME
========================= */

.text-secondary{

    color:#AFAFAF !important;

}


/* =========================
   BADGES
========================= */

.badge{

    font-size:.85rem;

    padding:8px 10px;

    border-radius:8px;

}


/* =========================
   SECTION TITLES
========================= */

h3,h4{

    font-weight:600;

}


/* =========================
   BOTTOM NAVIGATION
========================= */

body{

    padding-bottom:90px;

}

.fixed-bottom{

    height:70px;

    background:#1A1A1A !important;

    border-top:2px solid #2ECC71 !important;

}

.fixed-bottom .nav-link{

    color:#CCCCCC !important;

    transition:.2s;

}

.fixed-bottom .nav-link:hover{

    color:#2ECC71 !important;

}


/* =========================
   TEXT COLORS
========================= */

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6{

    color:#F5F5F5;

}

.card p{

    color:#D0D0D0;

}

.card strong{

    color:#FFFFFF;

}


.player-button {

    width: 100%;
    max-width: 86px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.card-header {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 576px) {

    .player-button {

        font-weight:600;

    }

    #forwardsContainer,
    #midfieldersContainer,
    #defendersContainer,
    #goalkeeperContainer {

        margin-bottom: .6rem !important;

    }

    .card-body {

        padding: 1rem;

    }

}

.player-button small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}


.player-name {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.fixture-line{
    margin-top:4px;
    font-size:0.75rem;
    opacity:.9;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:4px;
}

.fixture-logo{
    width:16px;
    height:16px;
    object-fit:contain;
}

/* =========================
   MODAL PLAYER COLORS
========================= */

.modal-position-P {
    background: rgba(46,204,113,.12) !important;
}

.modal-position-D {
    background: rgba(243,156,18,.12) !important;
}

.modal-position-C {
    background: rgba(52,152,219,.12) !important;
}

.modal-position-A {
    background: rgba(155,89,182,.12) !important;
}

.player-button {

    position: relative;
    overflow: hidden;

}

/* =========================
   POSITION STRIPE
========================= */

.pitch-player.position-P::before,
.pitch-player.position-D::before,
.pitch-player.position-C::before,
.pitch-player.position-A::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:3px;

}

.pitch-player.position-P::before{
    background:#2ECC71;
}

.pitch-player.position-D::before{
    background:#F39C12;
}

.pitch-player.position-C::before{
    background:#3498DB;
}

.pitch-player.position-A::before{
    background:#9B59B6;
}

.league-table{
    width:100%;
    border-collapse:collapse;
}

.league-table th{
    padding:12px;
    text-align:center;
    border-bottom:2px solid #444;
    color:#F5F5F5;
}

.league-table td{
    padding:12px;
    text-align:center;
    border-bottom:1px solid #333;
}

.league-table tbody tr:hover{
    background:#2A2A2A;
}

.league-table .manager{
    text-align:left;
}

.league-table .manager a{
    color:#F5F5F5;
    text-decoration:none;
    font-weight:600;
}

.league-table .manager a:hover{
    color:#2ECC71;
}

.league-table .position{
    width:60px;
    font-size:20px;
}

.league-table .form{
    white-space:nowrap;
    font-size:18px;
}

.manager-link {

    color: inherit;
    text-decoration: none;
    font-weight: 700;

}

.manager-link:hover {

    color: #0dcaf0;
    text-decoration: underline;

}

.dashboard-match-link{

    transition:background-color .15s ease;

    cursor:pointer;

}

.dashboard-match-link:hover{

    background:rgba(255,255,255,.06);

}

.dashboard-team-link{

    transition:color .15s ease;

}

.dashboard-team-link:hover{

    color:#6ea8fe !important;

}

/* =========================
   LINEUP PLAYER BUTTONS
========================= */

.pitch-player{

    width: 100%;
    max-width: 110px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.pitch-player .player-name{

    font-size:0.91rem;
    font-weight:700;
    line-height:1.05;
    margin-bottom:3px;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;

}

.pitch-player .fixture-line{

    margin-top:2px;
    font-size:0.65rem;

}

/* =========================
   PLAYER HISTORY
========================= */

.player-history-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.player-history-item {
    background: #2b2b2b;
    border: 1px solid #3b3b3b;
    border-radius: 14px;
    padding: 16px;
}

.player-history-date {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 12px;
}

.player-history-type {
    color: white;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.player-history-transfer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 700;
    color: white;
}

.player-history-arrow {
    color: #22c55e;
    font-size: 22px;
}

.player-history-empty {
    text-align: center;
    color: #9ca3af;
    padding: 20px;
}

/* =========================
   PLAYER HISTORY BADGES
========================= */

.player-history-manager{

    display:inline-block;

    padding:6px 12px;

    border-radius:999px;

    font-size:.88rem;

    font-weight:700;

    background:#2ECC71;

    color:#111;

    min-width:90px;

    text-align:center;

}

.player-history-market{

    background:#6c757d;

    color:#fff;

}

.player-history-arrow{

    color:#2ECC71;

    font-size:22px;

    margin:0 8px;

}