
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --main-bg: #171715;
    --secondary-bg: #14213d;
    --highlight: #fca311;
    --light: #e5e5e5;
    --text: #ffffff;
    --text-2: #A8A8A8;
}

* {
    margin: 0;
    padding: 0;
    font-family: inter;
    color: var(--text);
}

body {
    background: var(--main-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner {
    width: 100vw;
    height: auto;
    position: relative;
}

.banner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0% 60%, #171715 100%);
    z-index: 10;
    left: 0;
    top: 0;
}

.banner>img {
    width: 100%;
}

.batch-section {
    width: 80vw;
    height: max-content;
    background: #1B1B1A;
    box-shadow: 0 2px 8px 0 rgb(22, 22, 21);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border-radius: 10px;
    border: 1px solid #393936;
    padding: 1vw;
}

.options,
.form-actions{
    width: 100%;
    display: flex;
    align-items: center;
}

.dateInput,
.bypassBtn {
    background: transparent;
    font-size: 1rem;
    height: 2rem;
    border: 1px solid var(--light);
    padding: 0 0.5vw;
    border-radius: 5px;
    color: #A8A8A8;
    color-scheme: dark;
    margin-right: 1vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bypassBtn > div{
    margin-left: 0.5vw;
    width: 100%;
}

_::-webkit-full-page-media,
_:future,
:root .safari_only,
.dateInput {
    color: var(--text) !important;
}

.batchRows {
    width: 100%;
    height: max-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.batch-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin: 0.5vh 0;
}

.betName,
.actual,
.implied,
.wagered {
    font-size: 0.9rem;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
    height: 2rem;
    transition: all 100ms ease-in-out;
    border-bottom: 1px solid var(--text-2);
}

.betName:focus,
.actual:focus,
.implied:focus,
.wagered:focus {
    border-bottom: 1px solid var(--light);
}

.betName {
    width: 35%;
    margin: 0;
}

.actual,
.implied,
.wagered {
    min-width: 19%;
    margin: 0;
}

.removeRow {
    width: 2.75%;
    aspect-ratio: 1 / 1;
    background-color: var(--secondary-bg);
    border: 1px solid var(--light);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

textarea:focus,
input:focus {
    outline: none;
}

.addBet,
.saveBatch {
    border: 1px solid var(--light);
    padding: 1vh 1vw;
    cursor: pointer;
    border-radius: 5px;
    background-color: var(--secondary-bg);
    font-size: 0.8rem;
    margin: 1vh 0.5vw 0 0.5vw;

}

.addBet {
    margin-left: 0;
}

.stats-section {
    width: 80vw;
    height: max-content;
    padding: 1vw;
    margin-top: 2vh;
    display: flex;
    justify-content: start;
}

.navBox{
    background: red;
    margin-left: 0.5vw;
    flex: 1;
    margin-right: 1vw;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    background: #1B1B1A;
    box-shadow: 0 2px 8px 0 rgb(22, 22, 21);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border-radius: 10px;
    border: 1px solid #393936;
    padding: 1vw;
}

.navItem{
    width: 100%;
    border: 1px solid var(--light);
    cursor: pointer;
    background-color: var(--secondary-bg);
    border-radius: 5px;
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 1rem;
    height: 3rem;
}

a{
    text-decoration: none;
}

.navIcon{
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid var(--light);
    height: 100%;
    width: 15%;
    margin-right: 1vw;
}

.stats-card {
    height: 20vh;
    width: max-content;
    display: flex;
    flex-direction: column;
    background: #1B1B1A;
    box-shadow: 0 2px 8px 0 rgb(22, 22, 21);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border-radius: 10px;
    border: 1px solid #393936;
    padding: 1vw;
    margin-right: 0.5vw;
    margin-left: -1vw;
}

.stats-card>h3 {
    font-size: 1.5rem;
    margin-bottom: 7%;
}

.stats-card>p {
    margin: 0.5vh 0;
}

.quote1,
.quote2 {
    height: calc(20vh + 2vw);
    width: auto;
    border-radius: 10px;
    margin: 0 0.5vw;
    box-shadow: 0 2px 8px 0 rgb(22, 22, 21);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border: 1px solid #393936;
}

.quote2 {
    margin-right: 0;
}

.history-section {
    width: 80vw;
    height: max-content;
    background: #1B1B1A;
    box-shadow: 0 2px 8px 0 rgb(22, 22, 21);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    border-radius: 10px;
    border: 1px solid #393936;
    padding: 1vw;
}

.history-section>h2 {
    margin-bottom: 1rem;
}

.controls {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 2.5vh;
}

.controls>input,
#dateFilter {
    background: transparent;
    font-size: 0.75rem;
    height: 2rem;
    border: 0.5px solid var(--light);
    padding: 0 0.5vw;
    border-radius: 5px;
    color: #A8A8A8;
    color-scheme: dark;
    margin-right: 0.5vw;
    color: var(--text);
}

#dateFilter {
    cursor: pointer;
}

.table{
    width: 100%;
}

.row-header{
    font-weight: 700;
}

.row{
    display: flex;
    align-items: center;
    height: max-content;
    height: 4rem;
    border-bottom: 1px solid #474746;
}

.row > div{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    position: relative;
}

.row > div::after{
    content: "";
    position: absolute;
    right: 0;
    height: 60%;
    width: 1px;
    background: #474746;
}

.row > div:nth-child(1){
    width: 3%;
}
.row > div:nth-child(2){
    width: 10%;
}
.row > div:nth-child(3){
    width: 10%;
}
.row > div:nth-child(4){
    width: 27.5%;
}
.row > div:nth-child(5){
    width: 5%;
}
.row > div:nth-child(6){
    width: 6%;
}
.row > div:nth-child(7){
    width: 12%;
}
.row > div:nth-child(8){
    width: 7.5%;
}
.row > div:nth-child(9){
    width: 7%;
}
.row > div:nth-child(10){
    flex: 1;
    display: flex;
    justify-content: space-evenly;
}

.betNameTable > span{
    max-width: 90%;
    max-height: 80%;
    overflow: auto;
}

.row > div > button{
    padding: 0.5vh 0.75vw;
    font-size: 0.75rem;
    background-color: var(--secondary-bg);
    border: 1px solid var(--text-2);
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.delete-btn{
    padding: 0.75vh 0.5vw !important;
    background-color: #ae2b38 !important;
    border: none !important;
}

.win { color: #27ae60; font-weight: bold; }
.loss { color: #e74c3c; font-weight: bold; }
.pending { color: #f39c12; font-weight: bold; }


footer{
    margin: 5vh 0;
    font-weight: 1000;
    letter-spacing: 1px;
}