﻿/*** Player details ***/
@property --eg-primary {
    syntax: "<color>";
    inherits: false;
    initial-value: #fad760;
}

@property --eg-primary-dark {
    syntax: "<color>";
    inherits: false;
    initial-value: #ce7e33;
}

@property --gradient-value{
    syntax: "<percentage>";
    inherits: false;
    initial-value: 100%;
}

h1,h2,h3,h4,h5,h6,p,label{
    font-family: 'Roboto', sans-serif;
}

a.link{
    color: white;
    text-decoration: none;
}

a.link:hover{
    text-decoration: underline;
}

a.link:active, a.link:visited{
    color: var(--eg-primary);
}

.desc-label {
    font-weight: 500;
    width: 13%;
}

.desc-field {
    width: 11%;
}

.padding-15 {
    padding: 15px !important;
}

.report-header {
    font-size: 17px;
    font-weight: 500;
    clear: both;
    margin: 15px 15px 10px 15px;
    padding-top: 10px;
}

.margin-right-5 {
    margin-right: 5px;
}

#content {
    padding-top: 48px;
}

.width-50 {
    width: 50px;
}

.width-75 {
    width: 75px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    opacity: 1;
}

.form-control {
    font-size: 13px;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    color: #0c0c0c;
    opacity: 0.7;
}

hr {
    clear: both;
    border-top: 1px solid #e5e6e6;
    margin-bottom: 15px;
}

.button-break {
    margin-top: 30px;
}


/*** Loaders & Overlay ***/

.loader {
    border: 4px solid #f3f3f3;
    /* Light grey */
    border-top: 4px solid #FDC800;
    /* Yellow */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#overlay {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 2;
    cursor: pointer;
}

#text {
    position: absolute;
    top: 50%;
    left: 43%;
    font-size: 22px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.header-icon-position {
    margin-bottom: 0em !important;
    margin-right: 7px;
}

.mb-15 {
    margin-bottom: 15px;
}

/*** Bet Detail ***/

.min-height-165 {
    min-height: 165px;
}

.not-allowed {
    cursor: not-allowed;
}

.card-head-sm {
    position: relative;
    vertical-align: middle;
    border-radius: 2px 2px 0 0;
}

.table-custom td {
    padding: 2px 0px 2px 4px;
}

.not-active a div {
    color: rgba(255, 255, 255, 0.65) !important;
}

.not-allowed {
    cursor: not-allowed !important;
}


/** Horizontal scroll for datatables **/
/*
div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

.scroll-header tr th {
    padding-right:20px !important;    
}

table.DataList td, table.DataList th, table.DataList tbody td, table.DataList thead th {
    padding: 1px;
}
*/


.scroll-header tr th {
    white-space: nowrap;
}

.scroll-header tr th span {
    margin-right: 25px;
}

.scroll-table tr td {
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 15px;
    float: right;
    text-align: right;
    float: right;
}

.dataTables_scrollBody {
    width: 100%;
}


.eg-background-linear {
    background: linear-gradient(#fad760, #ce7e33)
}

.body--bg {
    background-image: radial-gradient(rgba(32, 32, 32) 1px, rgb(16, 16, 16) 1px);
    background-size: 1.1rem 1.1rem;
}

nav.navbar {
    display: flex;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(11, 11, 11), rgb(55, 55, 55), rgb(11, 11, 11));
    

    div.nav-container {
        display: flex;
        align-items: center;
        color: var(--eg-primary);

        h3 {
            margin: 0;
            padding: 0;
        }
    }

    div.nav-container#brand {
        
        padding-left: 3vw;
        flex-basis: 18%;

        img {
            width: 100%;
            height: auto;
        }
    }

    div.nav-container#links {
        
        flex-basis: 60%;
        

        ul.nav-links {
            display: flex;
            margin: 0;
            padding: 0;
            justify-content: space-evenly;
            width: 100%;

            li {
                list-style: none;
                font-size: 1.5rem;
                font-weight: bold;
            }

        }
    }

    div.nav-container#profile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-basis: 22%;

        li {
            list-style: none;
        }
    }
}

/* Dropdown container */
.dropdown-container {
    position: relative;
    display: inline-block;

    .c-dropdown {
        /* element to dropdown */
        border: none;
    }

    .c-dropdown-content {
        display: flex;
        flex-direction: column;
        transition: all 0.25s ease-in-out;
        padding: .5rem;
        position: absolute;
        transform: scale(1, 0);
        transform-origin: top center;
        min-width: 10vw;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: .8rem;
    }

}

.dropdown-container:hover {
    .c-dropdown-content {
        transform: scale(1);
    }

}

.p-0 {
    padding: 0;
}

.m--0 {
    margin: 0;
}

.card--dark {
    backdrop-filter: blur(.25rem);
    border-radius: 1rem;
    border: 1px solid rgb(48, 48, 48);
    box-shadow: 0.05em 0.05em 0.5em rgba(255, 255, 255, 0.05);
    padding: 1rem;
    color: white;
}

.center--grid {
    display: grid;
    place-items: center;
}

.h--full {
    height: 100vh;
}

.w--full {
    width: 100vw;
}

.login--grid {
    height: 65vh;
    max-height: 65vh;
    width: 65vw;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 1rem;
}

.radial--background {
    background: radial-gradient(circle, rgba(33, 33, 33, 1) 0%, rgba(22, 22, 22, 1) 33%, rgba(18, 18, 18, 0.25) 66%);
}

.form--group {
    display: flex;
    flex-direction: column;
    gap:0.5vh;

    label{
        margin-left: 0.5rem;
        font-size: 0.75rem;
        font-weight: 100;
        color: white;
        transition: all 0.3s;
    }
}

.form--group:focus-within{
    label{
        font-weight: 400;
        color: var(--eg-primary);
    }
}

input.input {
    all: unset;
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background-color: #333;
    border: 1px solid rgb(95, 95, 95);
    transition: all 0.3s;
}

input.input:hover{
    -webkit-box-shadow: 0 0 0 1000px #333 inset;
    border: 1px solid white;
}

input.input:focus{
    border: 1px solid var(--eg-primary);
}

/* Remove yellow background */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #333 inset;
    -webkit-text-fill-color: white;
    
}

input.input:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #333 inset
}

input.input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #333 inset;
    border: 1px solid var(--eg-primary);
}

input.input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgb(33, 33, 33) inset;
    border: 1px solid var(--eg-primary);
}

/* Change font styles */
input.input:-webkit-autofill {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
}

.custom--btn{
    cursor: pointer;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.primary-gradient{
    background: linear-gradient(180deg, var(--eg-primary) 0%,var(--eg-primary-dark) 50%, var(--eg-primary)100%);
    background-color: var(--eg-primary);
    background-repeat: no-repeat;
    background-size: 100% 200%;
    transition: background-position 0.3s ease-in-out, scale 0.3s ease-in-out;
}

.custom--btn.primary-gradient:hover{
    background-position: 0% 400%;
    scale: 1 1.05;
}

.title{
    padding: 0.5rem 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    background: white;
    color: black;
    border-radius: 1rem;
    text-align: center;
    max-width: fit-content;
}

.vertical--form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text--light{
    color: white;
}

.text--success{
    color: chartreuse;
}

.dataTables_wrapper .dataTables_length select {
    height: 35px;
    padding: 4.5px 14px;
    font-size: 13px;
    line-height: 1.846153846;
    margin-right: 5px;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;

    option{
        color:black
    }
}

.dataTables_wrapper .dataTables_length select:focus{
    border-bottom: 2px solid var(--eg-primary);
}

.dataTables_wrapper .dataTables_filter{
    color: white;
}

.dataTables_wrapper .dataTables_filter input{
    color: white;
    border-bottom: 2px solid white;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: 0;
    border-bottom-width: 2px;
    border-bottom-color: var(--eg-primary);
}

.dataTables_wrapper .dataTables_info{
    color: white;
}

.quickview-grid{
    margin: 1.25rem;
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(6, 1fr);
    width: auto;
    min-height: 11vh;
}

.player-dashboard-grid{
    display: grid;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    min-height: 33vh;
    grid-template-columns: 33% 66%;
    grid-template-rows: 50% 50%;
}

.player-name{
    display: grid;
    grid-row: span 2;
}

.accent--button {
    display: inline-block;
    font-weight: bold;
    
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    padding: 0 0.5rem;
    border: 2.5px solid black;
    border-radius: 0.25rem;
    color: black;
    background-color: #b4b4b4;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.accent--button:hover {
    background-color: #fff;
}
.accent--button:active {
    transform: translateY(2px);
}
.accent--button:focus {
    background-color: #fff;
    border-color: var(--eg-primary);
    box-shadow: 0 0 5px var(--eg-primary);
    outline: none;
}
.accent--button.pill {
    border-radius: 1000px;
}

.quickview-personal-info{
    display: grid;
    padding: 1.25rem;
    width: 100%;
    height: 44vh;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.tbl{
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: min-content 1fr;
    height: 100%;
    width: 100%;
    

    p{
        margin: 0;
        padding: 0;
    }
}

.nav-tabs {
    margin-top: 2rem;
    border-bottom:none;
}

.personal-details-grid{
    margin: 1.25rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.personal-details-grid-checkboxes{
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
    color: white;
}

.form-control {
    padding: 0;
    height: 37px;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #ffffff;
    font-size: 16px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

option{
    color: black;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: transparent;
    border-bottom-color: rgb(255 255 255 / 50%);
    border-bottom-style: solid;
    color: white;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: hsl(213 15% 18% / 1);
}

table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1, table.dataTable.table-striped tbody tr.odd > .sorting_1 {
    background-color: rgb(0 0 0 / 0%) !important;
}