:root {
    --font: "Poppins", sans-serif;
    --black: #080A12;
    --gold: #FFBF00;
    --darkgold: #b08400;
    --gray: #141414;
}

body {
    font-family: var(--font);
    overflow: hidden;
    color: white;
    padding: 0px;
    margin: 0px;
    background-color: black;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/img/dashboard.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(8px) brightness(0.6);
    z-index: -1;
}

#landing {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: calc(100vw - 400px);
    background-image: url('/img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#landing h2 {
    margin: 30px;
    font-weight: 500;
}

#auth {
    position: absolute;
    right: 0;
    top: 0;
    width: 340px;
    height: calc(100vh - 60px);
    background-color: var(--black);
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    padding: 30px;
}

#auth #logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#auth img {
    height: 180px;
    text-align: center;
}

#auth h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

#auth p {
    font-size: 16px;
    margin-top: 0px;
}

#auth form input {
    width: calc(100% - 20px);
}

input,
textarea {
    padding: 10px;
    font-family: var(--font);
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 16px;
    margin-bottom: 10px;
}

#auth form {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    width: 100%;
}

#auth form #forgot-password-btn {
    width: 100%;
    align-items: right;
}

#auth form a {
    color: var(--gold);
    float: right;
    cursor: pointer;
}

button {
    font-family: var(--font);
    padding: 10px 15px;
    cursor: pointer;
    border-width: 0px;
    border-radius: 8px;
}

#auth form button {
    width: 100%;
    background-color: var(--gold);
    margin: 10px 0px;
}

#or {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0px;
}

#or div {
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: calc(100% / 2 - 30px);
}

#or span {
    width: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

#google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

#google-btn img {
    height: 25px;
    width: 25px;
    float: left;
}

#google-btn span {
    width: calc(100% - 25px);
    position: relative;
    left: -12.5px;
}

#auth-toggle {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

#auth-toggle a {
    cursor: pointer;
    text-decoration: underline;
}

#copyright {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 60px);
    text-align: center;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8);
}

nav {
    padding: 20px;
    background-color: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    height: 46px;
}

nav a {
    border-radius: 50px;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

nav a i {
    font-size: 18px;
}

nav #profile {
    color: var(--gold);
    background-color: #332600;
    font-weight: 600;
}

#sidenav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    padding: 10px;
    background-color: var(--black);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 10;
}

#sidenav img {
    height: 180px;
}

#sidenav #logo {
    width: 100%;
    text-align: center;
}

#sidenav #navigation {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 5px;
    padding: 10px 20px;
}

#sidenav #navigation a {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0px;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

#sidenav #navigation a i {
    font-size: 22px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sidenav #navigation a img {
    height: 40px;
}

#sidenav #navigation #active {
    color: var(--gold);
}

.casino-navigation {
    position: absolute;
    bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: calc(100% - 60px);
    padding-top: 30px !important;
}

.casino-navigation span {
    margin-bottom: 10px;
}

#dashboard-main {
    position: absolute;
    top: 87px;
    left: 340px;
    height: calc(100vh - 145px);
    width: calc(100% - 400px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 0;
    padding: 30px;
}

#dashboard-main>h1 {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 25px;
}

#dashboard-main>p {
    margin: 10px 0px;
}

button i {
    margin-right: 10px;
}

.btn-one {
    background-color: var(--gold);
    transition: background-color 0.3s ease;
}

.btn-one:hover {
    background-color: var(--darkgold);
}

.btn-two {
    color: white;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background-color 0.3s ease;
}

.btn-two:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-three {
    color: var(--gold);
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid var(--gold);
    transition: background-color 0.3s ease;
}

.btn-three:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#stats,
#update-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 15px 0px 30px 0px;
}

#stats>div,
#update-options>div {
    border-top: 3px solid var(--gold);
}

#stats>div>a,
#update-options>div>a {
    color: rgba(255, 255, 255, 0.8);
}

#stats>div>span,
#stats>div>span {
    font-size: 25px;
    font-weight: 600;
    margin-top: 5px;
}

#update-options {
    grid-template-columns: repeat(2, 1fr);
}

#update-options .card>div {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: start;
    justify-content: start;
    margin-top: 10px;
}

#update-options .card>div input {
    margin-bottom: 0px;
    width: calc(100% - 40px);
    outline: none;
    border-width: 0px;
}

#update-options .card>div i {
    cursor: pointer;
    width: 20px;
    display: flex;
    align-items: center;
    justify-items: center;
    height: 100%;
    font-size: 12px;
    padding: 0px 10px;
}

#update-password input {
    width: calc(100% - 30px);
    margin-top: 10px;
    margin-bottom: 20px;
    outline: none;
}

.card {
    background-color: var(--gray);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#earnings {
    margin: 15px 0px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

#earnings .card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 3px solid var(--gold);
}

#earnings .card a {
    color: rgba(255, 255, 255, 0.8);
}

#earnings .card span {
    font-weight: bold;
    font-size: 18px;
}

#earnings .card #win {
    color: rgb(0, 168, 0);
}

#earnings .card #loss {
    color: rgb(168, 0, 0);
}

#earnings-chart {
    margin-bottom: 30px;
}

#earnings-chart>div {
    height: 500px;
    width: calc(100% - 30px);
    padding: 30px 15px;
}

#table-container {
    border-top: 3px solid var(--gold);
    margin-top: 15px;
}

#table-container table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font);
    color: white;
}

#table-container thead {
    background-color: var(--gray);
}

#table-container th {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    padding: 14px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#table-container td {
    padding: 14px 0px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

#table-container tr:nth-child(even) {
    background-color: var(--gray);
}

#table-container tr:nth-child(odd) {
    background-color: var(--gray);
}

#table-container .status-win {
    color: rgb(0, 200, 0);
    font-weight: 600;
}

#table-container .status-loss {
    color: rgb(200, 0, 0);
    font-weight: 600;
}

#table-container .status-push {
    color: gray;
    font-weight: 600;
}

#table-container .result-win {
    color: rgb(0, 200, 0);
    font-weight: 600;
}

#table-container .result-loss {
    color: rgb(200, 0, 0);
    font-weight: 600;
}

#table-container .result-push {
    color: red;
    font-weight: 600;
}

#table-container td i {
    background-color: #222;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    color: #ccc;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#report-config {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

#report-config>div {
    border-top: 3px solid var(--gold);
}

#report-config>div h2 {
    margin: 0px;
    color: var(--gold);
}

#report-config>div>p {
    margin: 5px 0px;
}

#report-params {
    flex: 1;
}

#report-params form {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    margin-top: 10px;
    width: 100%;
}

#report-params form label {
    margin: 5px 0px;
    font-weight: 400;
}

#report-params form select {
    width: 100%;
    padding: 12px;
    padding-right: 40px;
    margin: 5px 0px 10px 0px;
    cursor: pointer;
    background-color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='white' d='M2 0L0 2h4L2 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    font-family: var(--font);
    font-size: 14px;
}

#report-params form input {
    width: calc(100% - 24px);
    font-size: 14px;
    padding: 12px;
}

#report-params form input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

#report-params form button {
    width: 100%;
    margin-top: 10px;
}

#available-reports {
    flex: 2;
}

#available-reports>div {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    margin-top: 10px;
}

#available-reports>div>div {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#available-reports>div>div span {
    font-size: 14px;
    margin-top: 5px;
}

#actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#jackpots {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

#jackpots .card {
    cursor: pointer;
}

#jackpots .card>div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#jackpots .card>div:first-child a {
    color: var(--gold);
    font-weight: 600;
    font-size: 25px;
}

#jackpots .card>div:first-child span {
    background-color: #072322;
    color: #43E580;
    border-radius: 4px;
    padding: 5px 10px;
}

#jackpots .card>p {
    margin: 10px 0px;
    color: rgba(255, 255, 255, 0.8);
}

#jackpots .card>span {
    background-color: #150934;
    color: #D08BFF;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid #D08BFF;
    font-size: 12px;
}

#jackpots .card #image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background-color: #000009;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#trips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

#trips>div {
    padding: 30px;
    border-radius: 8px;
    background-color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: border 0.3s ease;
}

#trips>div:hover {
    border: 1px solid var(--gold);
}

#trips>div h2 {
    margin: 0px;
}

#trips>div #top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#trips>div #top>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#trips>div #top>div i {
    cursor: pointer;
}

#trips>div #date {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    margin-bottom: 15px;
}

#trips>div>a {
    padding: 5px 15px;
    border-radius: 50px;
    background-color: blue;
    font-size: 14px;
    font-weight: 500;
}

#trips>div>#complete {
    background-color: green !important;
}

#trips>div>p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 30px;
}

#trips>div>p i {
    color: rgb(0, 185, 0);
    margin-right: 5px;
}

#trips>div>p span {
    color: white;
}

#luck {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    margin: 30px 0px;
}

#luck>div {
    background-color: #0B0C0A;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border-top: 3px solid var(--gold);
}

#luck>div img {
    width: calc(100%);
    border-radius: 100px;
}

#luck>div p {
    text-align: center;
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
    margin: 5px 0px;
}

#luck>div p:last-child {
    color: white;
    font-weight: 400;
}

#luck-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

#luck-details>div {
    padding: 30px 30px 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background-color: #0B0C0A;
}

#luck-details>div h2 {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin: 0px;
    transform: translateX(-15px);
}

#luck-details>div img {
    height: 75px;
    border-radius: 100px;
}

#luck-details>div p {
    margin: 5px 0px;
}

#luck-details>div p span {
    margin-right: 10px;
    font-size: 25px;
}

#luck-details>div p #first {
    color: var(--gold);
}

#luck-details>div p #second {
    color: silver;
}

#luck-details>div p #third {
    color: grey;
}

#luck-details>div #spans-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#luck-details>div #spans-div span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

#luck-details>div #percent {
    width: 100%;
    height: 5px;
    margin-top: 5px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

#luck-details>div #fill {
    height: 100%;
    border-radius: 8px;
    background-color: blue;
    width: 100%;
}

#casino-search {
    width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: start;
    justify-content: start;
    margin-top: 10px;
    background-color: var(--gray);
}

#casino-search input {
    margin: 0px;
    width: calc(100% - 50px);
    border-width: 0px;
    outline: none;
}

#casino-search i {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
}

#search-nav {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

#search-nav select {
    padding: 12px;
    padding-right: 40px;
    margin: 5px 0px 10px 0px;
    cursor: pointer;
    background-color: var(--gray);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='white' d='M2 0L0 2h4L2 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    font-family: var(--font);
    font-size: 14px;
    transform: translateY(5px);
}

#casinos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

#casinos>div {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0px;
    background-color: var(--gray);
    cursor: pointer;
    transition: border 0.3s ease;
}

#casinos>div:hover {
    border: 1px solid var(--gold);
}

#casinos>div img {
    border-radius: 8px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

#casinos>div p {
    font-size: 18px;
    font-weight: 500px;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 30px);
    padding: 15px;
}

#casinos>div p i {
    color: var(--gold);
    font-size: 20px;
}

#chat-container {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 15px;
    height: calc(100% - 100px);
    margin-top: 15px;
}

#chat-container>div {
    border-radius: 8px;
    background-color: var(--gray);
    border-top: 3px solid var(--gold);
    height: 100%;
}

#channel {
    flex: 1;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#channel>div {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    width: calc(100% - 30px);
    cursor: pointer;
    border-radius: 8px;
}

#channel #active {
    background-color: #202020;
}

#channel>div span {
    height: 40px;
    width: 40px;
    color: var(--gold);
    background-color: #332600;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

#channel>div h2 {
    margin: 0px;
    font-size: 18px;
}

#channel>div p {
    margin: 0px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

#channel a {
    padding: 20px;
    width: calc(100% - 40px);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

#chat {
    flex: 3;
}

#chat h2 {
    margin: 15px;
}

#chat #messages {
    width: calc(100%);
    height: calc(100% - 150px);
    margin: 0px 15px 15px 15px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

#chat #messages {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#chat #messages::-webkit-scrollbar {
    display: none;
}

#chat #messages>div {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#chat #messages #user {
    align-items: end;
    transform: translateX(-30px);
}

#chat #messages span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

#chat #input {
    width: calc(100% - 60px);
    margin-left: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 5px 0px 5px 10px;
}

#chat input {
    width: calc(100% - 75px);
    border-width: 0px;
    outline: none;
    margin-bottom: 0px;
    font-size: 14px;
}

#chat i {
    width: 25px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    color: rgba(255, 255, 255, 0.25);
}

#form-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 150px);
}

#action-form {
    display: none;
    padding: 30px;
    background-color: var(--gray);
    border-radius: 8px;
    border-top: 3px solid var(--gold);
    margin-top: 15px;
    width: 450px;
}

#form-container .active {
    display: block;
}

#action-form h2 {
    margin: 0px;
}

#action-form p {
    margin: 5px 0px 0px 0px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

#action-form form {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    margin-top: 15px;
    width: 100%;
}

#action-form form input,
#action-form form textarea {
    width: calc(100% - 30px) !important;
    margin-top: 5px;
}

#action-form form textarea {
    resize: none;
    height: 150px;
}

#action-form #forgot-password-btn {
    font-size: 16px;
    color: var(--gold);
    text-align: right;
    width: calc(100% - 10px);
    cursor: pointer;
}

#action-form button {
    width: 100%;
    background-color: var(--gold);
    margin-top: 15px;
}

#switch-auth {
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#switch-auth>a {
    text-decoration: underline;
    cursor: pointer;
}

#message-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.message {
    padding: 16px 22px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    font-weight: 500;
}

.message.success {
    background-color: #10b981;
}

.message.error {
    background-color: #ef4444;
}

#loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--black);
    z-index: 1000;
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 5px;
    background-color: var(--black);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    top: 35px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: white;
    background-color: var(--black);
    width: calc(100% - 20px);
    border-radius: 0px;
    border-radius: 8px;
    height: unset;
    transition: background-color 0.3s ease;
}

.dropdown-menu i {
    font-size: 14px;
    margin-right: 10px;
    margin-left: 5px;
}

.dropdown-menu a:hover {
    background-color: #171b2c;
}

#popup {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#popup>div {
    background-color: var(--gray);
    border-radius: 16px;
    padding: 30px;
    width: 440px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 3px solid var(--gold);
}

#popup>div h2 {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
}

#popup>div h2 i {
    cursor: pointer;
}

#popup>div form {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    margin-top: 15px;
}

#popup>div form input,
#popup>div form textarea {
    width: calc(100% - 20px);
    margin-top: 5px;
    resize: none;
}

#popup>div form button {
    width: 100%;
    margin-top: 10px;
}

#popup>div form .custom-file-upload {
    width: calc(100% - 24px);
    margin-top: 5px;
    padding: 12px 10px;
    background-color: #141414;
    color: #757575;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 16px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    margin-bottom: 10px;
}

#popup>div form .custom-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#trip-details {
    width: 800px !important;
}

#trip-details #actions {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 10px;
    margin: 15px 0px;
}

#trip-details #delete-btn {
    color: white;
    background-color: rgb(206, 0, 0);
    transition: background-color 0.3s ease;
}

#trip-details #delete-btn:hover {
    background-color: rgb(155, 0, 0);
}

#trip-details #top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#trip-details #top div {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

#trip-details #top span,
#trip-details #notes span {
    color: rgb(209, 213, 219);
    font-size: 14px;
}

#trip-details #top a {
    font-size: 18px;
    font-weight: 500;
    margin-top: 5px;
}

#trip-details #top i {
    color: var(--gold);
    margin-right: 10px;
    margin-left: 5px;
    font-weight: 400;
}

#trip-details #notes {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin: 15px 0px;
}

#trip-details #notes p {
    margin: 10px 0px;
}

#trip-details #sessions-table {
    display: none;
}

#trip-details #table-toggle {
    background-color: var(--black);
    padding: 5px;
    border-radius: 50px;
    display: flex;
    align-items: start;
    justify-content: start;
    width: fit-content;
}

#trip-details #table-toggle span {
    text-align: center;
    color: white;
    padding: 8px 30px;
    display: flex;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#trip-details #table-toggle #active {
    background-color: var(--gold);
    color: black;
}

.details-table .card {
    margin-top: 0px !important;
    display: none;
}

.details-table .active-table {
    display: block;
}

.details-table {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 15px;
    border-radius: 8px;
}

.details-table #table-container {
    border-width: 0px;
    padding: 0px;
}

#trip-details #table-action {
    display: none;
    align-items: center;
    justify-content: end;
    gap: 10px;
}

#trip-details .active-actions {
    display: flex !important;
}

#trip-details #table-action button {
    transition: background-color 0.3s ease;
}

#trip-details #table-action button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#trip-details #manage-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#table-container #game-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#table-container #game-info span {
    color: var(--gold);
    font-weight: 500;
}

#add-lucky-day form {
    display: none !important;
}

#add-lucky-day #active {
    display: flex !important;
}

#add-lucky-day h3 {
    font-weight: 500;
    margin: 0px 0px 15px 0px;
}

#casino-details p {
    margin: 0px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#casino-details p:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

#casino-details p i {
    color: var(--gold);
    margin-right: 15px;
}

#casino-details img {
    margin: 15px 0px;
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
    height: 300px;
}

#form-container button {
    transition: background-color 0.3s ease;
}

#form-container button:hover {
    background-color: var(--darkgold);
}

.casino-page-main {
    display: none;
}

#promotions {
    height: 500px;
    overflow-y: auto;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    overflow-x: hidden;
}

#promotions>div {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    height: stretch;
    width: calc(100% - 42px);
}

#promotions i {
    color: var(--gold);
}

#promotions #top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
}

#promotions #top a {
    font-weight: 500;
    font-size: 18px;
}

#promotions>div>a {
    font-size: 14px;
    color: rgb(100, 100, 100);
}

#promotions p {
    margin: 5px 0px 0px 0px;
    color: rgb(210, 210, 210);
}

.contact-form {
    display: block !important;
}

#forgot-password form {
    display: none !important;
}

#forgot-password #active {
    display: block !important;
}

#open-sidenav {
    display: none;
}

#close-sidenav {
    display: none;
}

#active-trip {
    margin: 10px 0px 30px 0px;
}

#active-trip h3 {
    margin: 0px 0px 15px 0px;
}

#active-trip a {
    font-size: 14px;
}

#active-trip h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#active-games {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#active-games p {
    font-size: 14px;
}

#active-trip-container {
    display: none;
}

#active-trip-container h1 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;  
}

.active-game-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 40px);
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.active-game-row:first-child {
    border-width: 0px;
}

#active-trip #trip-details {
    width: 100%!important;
}

#active-trip h4 {
    margin-top: 10px;
}

@media (max-width: 1200px) {
    #auth {
        overflow-y: auto;
        overflow-x: hidden;
    }

    #copyright {
        display: none;
    }

    #sidenav {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .casino-navigation {
        position: unset;
        margin-bottom: 15px;
    }

    #sidenav {
        transition: all 0.5s ease;
    }

    #sidenav.closed {
        width: 40px;
    }

    #sidenav.closed>div {
        display: none !important;
    }

    #sidenav.closed>#open-sidenav {
        display: flex !important;
    }

    #sidenav.open>#close-sidenav {
        display: none !important;
    }

    #sidenav.open {
        width: 340px;
    }

    #sidenav.open>div {
        display: block !important;
    }

    #sidenav.open>#open-sidenav {
        display: none !important;
    }

    #sidenav.open>#close-sidenav {
        display: flex !important;
    }

    #open-sidenav,
    #close-sidenav {
        width: 100%;
        background-color: rgba(0, 0, 0, 0);
        align-items: center;
        justify-content: center;
        margin-top: 15px;
    }

    #open-sidenav i,
    #close-sidenav i {
        color: white;
        font-size: 20px;
        text-align: center;
        margin-right: 0px;
    }

    #close-sidenav {
        justify-content: end !important;
    }

    #dashboard-main {
        left: 60px;
        width: calc(100% - 100px);
    }

    #jackpots {
        grid-template-columns: repeat(2, 1fr);
    }

    #chat-container {
        min-height: 500px;
    }

    #form-container {
        align-items: start;
        justify-content: start;
    }

    #form-container > div {
        margin-bottom: 30px;
    }
}

@media (max-width: 800px) {
    #stats {
        grid-template-columns: repeat(2, 1fr)
    }

    #earnings {
        grid-template-columns: repeat(2, 1fr)
    }

    #popup {
        overflow-y: auto;
        align-items: start;
    }

    #popup>div {
        margin: 45px 0px;
        overflow-y: auto;
    }

    #report-config {
        flex-direction: column;
    }

    #trip-details {
        width: calc(100% - 60px)!important;
    }

    #trip-details #top {
        flex-direction: column;
    }

    #trip-details #top div {
        width: calc(100% - 30px);
    }

    #manage-table {
        flex-direction: column;
        justify-content: start;
        align-items: start;
        gap: 15px;
    }

    #manage-table > div {
        justify-content: center!important;
        width: 100%;
    }

    #luck {
        display: grid;
        grid-template-columns: repeat(4, 1fr)
    }

    #channel {
        display: none;
    }
}

@media (max-width: 450px) {
    #auth {
        width: calc(100% - 60px);
    }

    #dashboard-main {
        width: 600px;
    }

    body {
        overflow-x: auto;
    }

    #popup>div {
        width: calc(100% - 60px);
        height: calc(100% - 60px);
        margin-top: 0px;
        border-radius: 0px;
        position: fixed;
    }

    #jackpots {
        grid-template-columns: repeat(1, 1fr);
    }

    #trips {
        grid-template-columns: repeat(1, 1fr);
    }

    body {
        width: 710px;
    }

    #trip-details {
        overflow-x: auto;
    }

    #trip-details #table-toggle {
        width: fit-content;
    }

    #trip-details .details-table {
        width: 500px;
    }

    #luck {
        display: grid;
        grid-template-columns: repeat(3, 1fr)
    }

    #update-options {
        grid-template-columns: repeat(1, 1fr);
    }
}

#handpay-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: calc(100% - 15px);
    padding: 5px 10px 5px 5px;
}

#handpay-input input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

#handpay-input input[type="checkbox"]:checked {
    background-color: var(--gold);
    border-color: var(--darkgold);
}

#handpay-input input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

#handpay-input input[type="checkbox"]:checked::after {
    opacity: 1;
}

#tos-label {
    font-size: 12px;
}

#tos-label a {
    margin-left: 4px;
    text-decoration: underline;
}

#text-info {
    margin-top: 20px;
}

#text-info h2 {
    margin-top: 0px;
}

#text-info a {
    color: var(--gold);
}