@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
    --black: #000000;
    --white: #ffffff;
    --border: rgba(255,255,255,0.2);
}

html, body {
    width: 100%;
    height: 100%;
}
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--white);
    background-color: #202020;
    overflow-x: hidden;
    font-weight: 300;
}

.bg_span {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    background: linear-gradient(93deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.52) 12%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0.25) 36%, rgba(0, 0, 0, 0.6) 56%, rgba(0, 0, 0, 0.7) 75%, rgba(0, 0, 0, 0.9) 100%);
}
.navbar {
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.12) 90%, rgba(0, 0, 0, 0) 100%);
}
.navbar-brand img {
    z-index: 10;
}
.nav-link {
    color: var(--white) !important;
}

a {
    text-decoration: unset !important;
}
.btn {
     border-radius: 2px;
}
.text-secondary {
    color: #9f9c9c !important;
}

/* Owl Carausal */
.carousel-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}
.owl-carousel, .owl-carousel .item, .owl-carousel .item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Wizard */
    .form_main .step { display: none; }
    .form_main .step.active { display: block; }

    .form_main .panel {
      background-color: white;
      box-shadow: 0 0 7px rgba(0,0,0,.2);
      border-radius: 5px;
      font-size: 90%;
      text-align: center;
      padding: 30px 20px;
      max-width: 700px;
      margin: auto;
    }
    .form_main h1 { font-size: 20px; font-weight: 600; }
    .form_main .rating > input { display: none; }
    .form_main .rating > label:before {
      margin: 5px;
      font-size: 24px;
      font-family: FontAwesome;
      display: inline-block;
      content: "\f005";
    }
    .form_main .rating > .half:before { content: "\f089"; position: absolute; }
    .form_main .rating > label { color: #ddd; float: right; }
    .form_main .rating > input:checked ~ label,
    .form_main .rating:not(:checked) > label:hover,
    .form_main .rating:not(:checked) > label:hover ~ label {
      color: #FFD700;
    }
    .form_main .rating > input:checked + label:hover,
    .form_main .rating > input:checked ~ label:hover,
    .form_main .rating > label:hover ~ input:checked ~ label,
    .form_main .rating > input:checked ~ label:hover ~ label {
      color: #FFED85;
    }
    .form_main .confirmation-message {
      display: none;
      background-color: #d4edda;
      color: #155724;
      padding: 20px;
      border-radius: 5px;
      margin-top: 20px;
    }
    .form_main .form-check-input.is-valid~.form-check-label, 
    .form_main .was-validated .form-check-input:valid~.form-check-label {
        color: initial;
    }
    .form_main .form-check-input.is-valid, 
    .form_main .was-validated .form-check-input:valid {
        border-color: initial;
    }
    .form_main .form-check-input.is-valid:checked, 
    .form_main .was-validated .form-check-input:valid:checked {
        background-color: initial;
    }
    .form_main .form-check-input:checked {
        background-color: #0d6efd !important;
        border-color: #0d6efd !important;
    }
.form_main .form-label{
    color: var(--white);
}
.list-group-item {
    background-color: #000000;
    color: var(--white);
}

/* banner test */
.banner_text h1{
    font-size: 80px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 24px;
}
.banner_text h5{
    line-height: 1.5;
    font-weight: 400;
    color: var(--white);
}


/* Form */
.main_content {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
}
.form_main {
    padding: 40px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
}
.form_title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* input.form-control {
  background-color: #0d1012 !important;
  color: white !important;
  border: 1px solid var(--border) !important;
}

input.form-control::placeholder, .form-check-label {
  color: #ccc !important;
  opacity: 1; 
}
.form_main .form-check-input, .list-group-item {
    border-color: var(--border) !important;
}

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:focus,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0d1012 inset !important;
  -webkit-text-fill-color: white !important;
} */

input.form-control,
select.form-select {
  background-color: #0d1012 !important;
  color: white !important;
  border: 1px solid var(--border) !important;
}

input.form-control::placeholder,
.form-check-label {
  color: #ccc !important;
  opacity: 1;
}

.form_main .form-check-input,
.list-group-item {
  border-color: var(--border) !important;
}

/* Autofill fix */
input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:focus,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0d1012 inset !important;
  -webkit-text-fill-color: white !important;
}

/* Form-select placeholder-like styling (if any custom options) */
select.form-select option {
  background-color: #0d1012;
  color: white;
}



.main_content .form-control:focus, .main_content .form-select:focus {
    border-color: initial;
    box-shadow: none;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: rgba(142, 151, 161, 0.06);
  background-color: rgba(142, 151, 161, 0.06);
  border: 1px solid white;
}

/* When selected */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
  accent-color: rgba(142, 151, 161, 0.06);
}

/* Optional: keep label text white */
.form-check-label {
  color: white;
}
.main_content .form-control, .main_content .form-select, .main_content .btn {
    border-radius: 2px;
    height: 38px;
}
.main_content .btn {
    padding-left: 24px;
    padding-right: 24px;
}

/* Footer */
.footer_main {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.12) 90%, rgba(0, 0, 0, 0) 100%);
    padding-top: 16px;
    z-index: 11;
}
.footer_copyright {
    position: relative;
    z-index: 11;
}


.subpage_main {

}
.player_card {
    position: relative;
    padding: 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, rgba(32, 32, 32, 0.8) 40%, rgba(0, 0, 0, 0.8) 40%);
    border: 1px solid #202020;
    color: var(--white);
}
.player_card.dark_box {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.8) 40%);
}
.player_card .player_medals, .player_card .player_team{
    width: 50px;
    position: absolute;
    right: 5px;
    top: 5px;
}
.player_card .player_team {
    right: unset;
    left: 5px;
}
.player_card_details .player_medals{
    width: 100px;
    position: absolute;
    right: 5px;
    top: 5px;
}
.player_card_img {
    width: 90px;
    height: 90px;
    border-radius: 5px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 12px;
}
.player_card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.player_card p, .player_card_details p {
    margin-bottom: 5px;
}
.player_card p .c_label, .player_card_details p .c_label {
    color: #9f9c9c;
}
.player_card p small:first-child, .player_card_details p small:first-child {
    padding-left: 0;
}
.player_card p small:last-child, .player_card_details p small:last-child {
    padding-right: 0;
    border-right: none;
}
.player_card p small, .player_card_details p small {
    padding-left: 8px;
    padding-right: 8px;
    border-right: 1px solid var(--border);
}
.player_card hr, .player_card_details hr {
    opacity: 0.1;
}

.player_card_details {
    padding: 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.15);
    border: 1px solid #202020;
    color: var(--white);
    margin-bottom: 16px;
}
.player_card_details p .c_label {
    display: block;
}
.player_card_details p small, .player_card_details ul li small {
    font-size: 20px;
}
.player_card_details ul li small {

}

.ratings_list li, .sport_participated li {
    margin-bottom: 10px;
}
.ratings_list small {
    display: flex;
    align-items: center;
    width: 100%;
}
.ratings_list small span.star-rating {
    display: inline-flex;
    width: 50%;
    margin-left: auto;
    font-size: 22px;
    gap: 10px;
}

.player_next_prev {
    position: absolute;
    top: 42%;
    left: -50px;
    right: -50px;
    display: flex;
    align-items: center;
}
.player_next_prev .player_prev, .player_next_prev .player_next {
    padding-left: 13px;
    padding-right: 13px;
}
.player_next_prev .player_next {
    margin-left: auto;
}

.subpage_title {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
}
.subpage_title img {
    height: 100px;
    margin-bottom: 12px;
}
.subpage_title h2 {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.page_title {
    position: relative;
    text-align: center;
}
.page_title h1{
    font-size: 32px;
    font-weight: 100;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.filter-container .form-group label {
    margin-bottom: 4px;
}

/* Fixtures */
.fixture-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}
.fixture-double .col {
    padding: 0;
    margin: 0;
}
.fixture-double .player_card, .fixture-single .player_card{
    border:none;
    border-radius:unset;
    height: 100%;
    background: transparent;
}
.fixture-double .mb-4{
    margin: 0 !important;
}


.fixture-double .col:last-child .player_card .player_team {
    display: none;
}

@media (max-width: 600px){
    .fixture-container {
        display: block;
        grid-template-columns: unset;
        grid-gap: unset;
    }
    .fixture-double .col:first-child .player_card .player_team {
        width: 50px;
        top: 26%;
        left: 86%;
    }
}


.fixture_card {
    position: relative;
    border: 1px solid #202020;
}
.fixture_card_players_top {
    position: relative;
    background-color: rgba(32, 32, 32, 0.8);
}
.fixture_card_players_btm {
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #202020;
}
.fixture-double .player_card .player_card_img {
    width: 46px;
    height: 46px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.fixture-double .player_card h5{
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0;
}
.fixture-double .col:first-child .player_card .player_team {
    padding: 2px;
    width: 36px;
    height: auto;
    top: 26%;
    left: 91%;
    right: unset;
    z-index: 1;
}
.fixture_card_players_top .fixture-double .col:first-child .player_card .player_team, .fixture_card_players_top .fixture-single .col:first-child .player_card .player_team {
    background: rgba(0, 0, 0, 0.8);
}
.fixture_card_players_btm .fixture-double .col:first-child .player_card .player_team, .fixture_card_players_btm .fixture-single .col:first-child .player_card .player_team {
    background: rgba(32, 32, 32, 0.8);
}
.fixture_card_schedule {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
    border-left: 1px solid #202020;
    font-size: 14px;
    text-align: center;
}
.fixture_card_schedule p {
    margin-bottom: 0;
}
.fixture_card_points {
    position: relative;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #202020;
}
.fixture_card_points p {
    margin-bottom: 0;
}
.fixture_card_points p span {
    position: relative;
    display: block;
}

.winner_arrow_top {
    position: absolute;
    right: 0;
    top: 39%;
    height: 0px;
    width: 0px;
    border-right: solid 10px green;
    border-bottom: solid 10px transparent;
    border-top: solid 10px transparent;
}
.winner_arrow_btm {
    position: absolute;
    right: 0;
    top: 39%;
    height: 0px;
    width: 0px;
    border-right: solid 10px green;
    border-bottom: solid 10px transparent;
    border-top: solid 10px transparent;
}

.fixture-single .player_card .player_card_img {
    width: 46px;
    height: 46px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.fixture-single .player_card h5{
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 0;
}
.fixture-single .player_card .player_team {
    padding: 2px;
    width: 36px;
    height: auto;
    top: 5px;
    left: 5px;
    right: unset;
    z-index: 1;
}

/* .fixture_round_title {
    padding: 8px 0;
    border-bottom: 1px solid #202020;
    margin-bottom: 16px;
}
.fixture_round_title h5 {
    font-size: 16px;
    margin-bottom: 0;
    text-transform: capitalize;
} */
.vs_text {
    position: absolute;
    bottom: -11px;
    left: 47.2%;
    font-size: 12px;
    z-index: 1;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Makes dark icon white */
}

/* Accordian */
.accordion-dark .accordion-item {
  background-color: rgba(0, 0, 0, 0.8);
  border: none;
}

.accordion-dark .accordion-button {
  background-color: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(32,32,32,0.8);
  color: #f1f1f1;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--white);
    box-shadow: none;
}

.accordion-dark .accordion-body {
    background-color: rgba(32,32,32,0.6);
    color: var(--white);
}

.accordion-dark .accordion-button:focus {
  box-shadow: none;
}

.accordion-dark .accordion-button::after {
  filter: invert(1); /* Makes arrow icon white */
}
.accordion-dark .accordion-body ol li ul {
    margin-bottom: 12px;
}
.accordion-dark .accordion-body li {
    font-weight: 200;
    margin-bottom: 3px;
}
.accordion-dark .accordion-body li strong {
    font-weight: 600;
}
.accordion-dark .accordion-body li a {
    word-break: break-all;
}

/* Point Table */
.point_table_head {
    position: relative;
    padding: 0 12px;
    margin-bottom: 12px;
}
.point_table_body {
    position: relative;
    padding: 12px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #202020;
    color: var(--white);
    margin-bottom: 6px;
    overflow: hidden;
}
.point_table_body p, .point_table_head p {
    border-right: 1px solid #202020;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}
.point_table_body .col:last-child p, .point_table_head .col:last-child p {
    border-right: none;
}
.point_table_body p.pt_team {
    text-align: start !important;
    display: flex;
    align-items: center;
    justify-content: start;
}
.point_table_body p.pt_team img {
    width: 36px;
    height: 36px;
    margin-right: 6px;
}
.point_table_body p small {
    display: none;
}

.pt_player img {
    border-radius: 4px;
}
.pt_point {
    padding: 3px 8px;
    background-color: rgba(32, 32, 32, 0.7);
    border-radius: 2px;
}
.pt_player_dbl p:last-child {
    margin-top: 2px;
}
.pt_player_dbl {
    display: inline-flex;
    width: 100%;
    height: 100%;
}
.point_table_body .pt_player_dbl p.pt_player {
    flex: 1;
}

.pt_badge {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 15px;
    display: none;
}
.pt_badge span {
    padding: 1px 4px;
    font-size: 12px;
    line-height: 12px;
}
.pt_winner_badge span {
    background-color: #bd8d15;
}
.pt_runnerup_badge span {
    background-color: #787676;
}
.pt_2runnerup_badge span {
    background-color: #784412;
}

/* .point_table_main .point_table_body:nth-child(2) .pt_winner_badge {
    display: block;
}
.point_table_main .point_table_body:nth-child(3) .pt_runnerup_badge {
    display: block;
}
.point_table_main .point_table_body:nth-child(4) .pt_2runnerup_badge {
    display: block;
} */

/* Responsive */
@media (max-width: 1500px) {
    .banner_text h1{
    font-size: 68px;
    line-height: 1;
    margin-bottom: 24px;
}
.banner_text h5{
    line-height: 1.5;
}
}
@media (max-width: 1024px) {
        body {
        font-size: 15px;
    }
        .navbar-brand img {
        max-height: 36px;
    }
    .banner_text h1{
    font-size: 58px;
    margin-bottom: 20px;
}
.banner_text h5{
    line-height: 1.5;
            font-size: 17px;
}
.form_main {
    padding: 20px;
}
.form_title {
    font-size: 18px;
    margin-bottom: 15px;
}
.main_content .form-control, .btn {
    height: unset;
}
.player_card_details p small, .player_card_details ul li small {
    font-size: 17px;
}

.player_card .player_medals, .player_card_details .player_medals {
    width: 30px;
}
.player_card .player_team {
    width: auto;
    height: 30px;
}

.subpage_title h2 {
    font-size: 21px;
}
.subpage_title img {
    height: 80px;
    margin-bottom: 7px;
}
.page_title h1 {
    font-size: 26px;
}

.point_table_body {
    padding: 10px;
}
}
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 16px;
        padding-left: 16px;
        border-bottom: 2px solid transparent;
    }
    .nav-link:focus, .nav-link:hover {
        color: #0d6efd !important;
        border-color: #0d6efd !important;
    }
}
@media (max-width: 991px) {
    .banner_text {
        text-align: center;
        margin-bottom: 16px
    }
    .banner_text h1 {
        font-size: 50px;
        line-height: 1;
        margin-bottom: 16px;
    }
    .form_main {
        padding: 24px;
    }
    .ratings_list small span.star-rating {
        font-size: 20px;
    }
    .navbar {
        background-color: rgba(0,0,0,0.8);
    }
    .navbar-toggler:focus {
    box-shadow: none !important;
}
}
@media (max-width: 600px) {
        body {
        font-size: 14px;
    }
    .main_content {
    padding-top: 46px;
}
    .footer_main {
    position: relative;
    padding-top: 12px;
    }
    /* .navbar.fixed-top {
        padding: 0;
    } */
    .navbar-brand img {
        max-height: 28px;
    }
    .banner_text h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .banner_text h5 {
        line-height: 1.4;
        font-size: 15px;
    }
    .form_main {
        padding: 16px;
    }
    .form_title {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    }
    .main_content .form-control, .btn {
    height: unset;
}
.form_main .rating > label:before {
    margin: 0 5px;
    font-size: 22px;
}
.main_content .btn {
    padding: 5px 16px;
    font-size: 15px;
}
.player_next_prev {
    left: -39px;
    right: -39px;
}
.player_next_prev .player_prev, .player_next_prev .player_next {
    padding: 5px 10px;
    height: 34px;
}
.ratings_list small span.star-rating {
    font-size: 16px;
    gap: 6px;
}
    .player_card_details p small, .player_card_details ul li small {
        font-size: 15px;
    }
    .banner_text {
        margin-top: 28px;
    }
    .navbar .btn {
        padding-left: 6px;
        padding-right: 6px;
    }

    /* Fixture */
    .fixture_for_double .fixture_card_schedule {
        border-left: none;
        border-top: 1px solid #202020;
    }
    .fixture_for_double .fixture_card_points p span {
        position: relative;
        display: unset;
    }
    .fixture_for_double .fixture_card_points {
        margin-top: 8px;
        padding-top: 8px;
    }

    .point_table_head {
        display: none;
    }
    .point_table_body p.pt_rank {
        padding-bottom: 8px;
    }
    .point_table_body p.pt_rank span {
        padding: 5px 12px;
        background-color: rgba(32, 32, 32, 0.7);
        border-radius: 2px;
    }
    .point_table_body p.pt_rank, .point_table_body p.pt_team {
        border-right: none;
    }
    .point_table_body p small {
        display: block;
    }
    .point_table_body p.pt_team {
        justify-content: center;
        padding-bottom: 14px;
    }
}

body .main_content .form-select {
    border-radius: 2px;
    height: auto !important;
}

textarea.form-control {
    height: 100px !important;
    background-color: #0d1012 !important;
    color: white !important;
    border: 1px solid var(--border) !important;
}