﻿*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1E1E1E;
}

html, body {
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

.fullscreen-page {
  min-height: calc(100vh - 64px);
}

.account-banner {
  background-color: #1E1E1E;
  color: #FFFFFF;
  padding: 1rem;
}

.appbar-bottom {
  background-color: #1E1E1E;
  color: #FFD300;
}
.appbar-bottom .mud-icon-button {
  color: #FFD300 !important;
}

.btn {
  background-color: #FFD300;
  color: #1E1E1E;
  border: none;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}
.btn:hover {
  background-color: #1E1E1E;
  color: #FFFFFF;
}
.btn.btn-outline {
  background-color: transparent;
  color: #1E1E1E;
  border: 2px solid #1E1E1E;
}
.btn.btn-outline:hover {
  background-color: #1E1E1E;
  color: #FFD300;
}
.btn.btn-black {
  background-color: #1E1E1E;
  color: #FFD300;
  border: 2px solid #1E1E1E;
}
.btn.btn-black:hover {
  background-color: #FFD300;
  color: #1E1E1E;
  border: 2px solid #1E1E1E;
}
.btn.btn-yellow {
  background-color: #FFD300;
  color: #1E1E1E;
}
.btn.btn-yellow.hover {
  background-color: #1E1E1E;
  color: #FFD300;
}
.btn.btn-danger {
  background-color: #FF3B30;
  color: #FFFFFF;
  border: none;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}
.btn.btn-success {
  background-color: #00C896;
  color: #FFFFFF;
  border: none;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.card {
  border-radius: 1.5rem;
  box-shadow: 0 0.5rem 1rem rgba(30, 30, 30, 0.1);
  padding: 1.5rem;
  background-color: #FFFFFF;
}
.card-header {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1E1E1E;
}
.card-body {
  font-size: 1rem;
  color: #E5E5E5;
}

.home-card {
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  box-shadow: 0 0.5rem 1rem rgba(30, 30, 30, 0.1);
  padding: 2rem;
  text-align: center;
}
.home-card h2 {
  color: #1E1E1E;
  font-size: 1.5rem;
}

.container-custom {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.main-content-reset {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.appbar-bottom {
  background-color: #1E1E1E;
  border-top: 2px solid #FFD300;
}
.appbar-bottom .mud-icon-button {
  color: #FFD300 !important;
}
.appbar-bottom .mud-icon-button:hover {
  background-color: rgba(255, 211, 0, 0.1);
}

.home-wrapper {
  background-color: #1E1E1E;
  padding: 1rem;
  margin: auto;
  text-align: center;
  border-radius: 2rem;
  margin-top: 1rem;
}

.home-panel {
  background-color: #FFD300;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 20px;
}

.logo-banner {
  background-color: #FFD300;
  color: #1E1E1E;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}
.logo-banner h1 {
  font-weight: 900;
  margin-bottom: 10px;
}
.logo-banner .yellow-car-icon {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 1rem;
}

.home-sub {
  background-color: #FFD300;
  padding: 2rem;
  border-radius: 1.5rem;
  display: flex;
  margin-top: 1rem;
}

.home-latest-games {
  background-color: #1E1E1E;
  color: #FFD300;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.latest-games-table {
  background-color: #1E1E1E;
  border: 2px solid #FFD300;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.latest-games-table .mud-table-root {
  background-color: transparent;
}
.latest-games-table .mud-table-head {
  background-color: #FFD300;
  color: #1E1E1E !important;
}
.latest-games-table .mud-table-head .mud-table-cell {
  font-weight: bold;
  color: #1E1E1E !important;
}
.latest-games-table .mud-table-cell {
  color: #FFFFFF !important;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
}
.latest-games-table .mud-table-row {
  transition: background-color 0.2s ease;
  color: #FFD300 !important;
}
.latest-games-table .mud-table-row:hover {
  background-color: rgb(55.5, 55.5, 55.5);
}
.latest-games-table .mud-table-row td:last-child {
  font-weight: bold;
}
.latest-games-table .mud-table-row td:last-child.win {
  color: #00C896;
}
.latest-games-table .mud-table-row td:last-child.loss {
  color: #FF3B30;
}
.latest-games-table .mud-table-row td:last-child.draw {
  color: #FFD300;
}

.home-btn {
  width: 100%;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 1rem;
}

.home-btn-black {
  background-color: #1E1E1E;
  color: #FFD300;
}

.home-btn-outline {
  border: 2px solid #1E1E1E;
  background-color: transparent;
  color: #1E1E1E;
}

.custom-form {
  background-color: #1E1E1E;
  border-radius: 1rem;
  padding: 2rem;
  color: #FFD300;
}
.custom-form .mud-text {
  color: #FFD300;
}
.custom-form .custom-input .mud-input-input {
  background-color: #1E1E1E !important;
  color: #FFD300 !important;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  font-size: 1rem;
}
.custom-form .custom-input .mud-input-input::placeholder {
  color: #FFD300 !important;
  opacity: 0.7;
}
.custom-form .custom-input .mud-input-label {
  color: #FFD300 !important;
}
.custom-form .mud-button {
  background-color: #FFD300;
  color: #1E1E1E;
  border: none;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
  margin-top: 5px;
}
.custom-form .mud-button:hover {
  background-color: rgb(204, 168.8, 0) !important;
}
.custom-form .mud-link {
  color: #FFD300 !important;
  text-align: center;
  display: block;
  margin-top: 2rem;
}
