:root {
  /* -- Standardized Theme Variables -- */

  /* Branding */
  --color-primary: #000000;
  --color-secondary: #DDDDDD;
  ;

  /* Betting / Accents */
  --color-back: #72bbef;
  --color-lay: #faa9ba;
  --color-success: #355e3b;
  --color-highlight: #ffff33;
  --color-danger: #bd1828;
  --color-info: #097c93;

  /* Backgrounds */
  --color-bg-body: #ffffff;
  --color-bg-surface: #ffffff;
  --color-bg-alt: #f7f7f7;
  /* e.g., table backgrounds, sections */
  --color-bg-row: #f2f2f2;
  --color-bg-input: #ffffff;
  --color-bg-input-icon: #e9ecef;
  --color-bg-sidebar: #cccccc;
  --color-overlay-lock: rgba(0, 0, 0, 0.75);

  /* Text */
  --color-text-main: #333333;
  --color-text-secondary: #ffffff;
  --color-text-muted: #6c757d;
  --color-text-inverse: #ffffff;
  --color-text-black: #000000;
  --color-text-danger: var(--color-danger);
  --color-text-success: var(--color-success);
  --color-text-info: var(--color-info);
  --color-text-highlight: var(--color-highlight);

  /* Borders */
  --color-border: #ced4da;
  --color-border-light: #dbdbdb;

  /* Components specific */
  --gradient-login: linear-gradient(#000000, #dddddd);

  /* Bootstrap defaults overrides or aliases (keeping legacy if needed) */
  --bg-primary: var(--color-primary);
  --bg-secondary: var(--color-secondary);
  --text-primary: var(--color-text-secondary);
  /* Often white on primary bg */
  --bg-back: var(--color-back);
  --bg-lay: var(--color-lay);
  --bg-table-row: var(--color-bg-row);

  /* Legacy mappings to ensure backward compatibility during migration */
  --bg-secondary70: #2C3E50B3;
  --bg-secondary85: #2C3E50D9;
  --table-border: #c7c8ca;
  --input-border: var(--color-border-light);
  --input-border-hover: #b5b5b5;

  /* Sidebar Legacy */
  --text-sidebar: var(--color-text-black);
  --sidebar-menu-link-bg: #bbbbbb;
  --sidebar-menu-link-color: var(--color-text-black);
  --sidebar-menu-link-border: #9e9e9e;

  /* Status Colors Legacy */
  --text-info: var(--color-info);
  --bg-info: var(--color-info);
  --text-danger: var(--color-danger);
  --bg-danger: var(--color-danger);
  --text-success: var(--color-success);
  --bg-success: var(--color-success);

  /* Bootstrap Variables */
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}





body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
}




/* Custom Toast Styles */
.custom-toast {
  border-radius: 50px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 8px 16px !important;
  min-height: 48px !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  align-items: center !important;
}

.custom-toast-body {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  color: #333 !important;
  display: flex !important;
  align-items: center !important;
}

/* Customize the default error icon color if needed, or we can replace it */
.Toastify__toast-icon.Toastify--animate-icon.Toastify__zoom-enter {
  width: 24px;
  height: 24px;
}

/* Modal Backdrop Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-content {
  background-color: var(--bg-body);
  color: var(--text-body);
  border: 0;
  border-radius: 0;
}

@media only screen and (max-width: 767px) {
  .modal-dialog {
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    /* height: 50vh !important;
    max-height: 50vh !important; */
  }

  .modal-content {
    border-radius: 0 !important;
    /* height: 50vh !important;
    max-height: 50vh !important; */
  }
}

/* Casino Result Modal Styles */
.casino-result-modal {
  width: 100%;
}

@media (max-width: 768px) {
  .casino-result-modal {
    padding: 0.2rem !important;
  }
}

.casino-result-round-id {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .casino-result-round-id {
    padding: 0.2rem !important;
    font-size: 12px !important;
  }

  .casino-result-round-id span {
    font-size: 12px !important;
  }
}

.casino-result-round-id span {
  display: inline-block;
}

.result-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .result-title {
    font-size: 16px !important;
    text-align: center !important;
  }
}

.casino-result-cards {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .casino-result-cards {
    margin-top: 0px !important;
  }
}

.casino-result-cards img {
  width: auto;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
}

@media only screen and (max-width: 767px) {
  .casino-result-cards img {
    height: 35px;
  }
}

@keyframes winnerbox {

  0%,
  100% {
    box-shadow: rgba(29, 127, 30, 0.1) 0px 0px 0px 0px;
  }

  50% {
    box-shadow: rgba(29, 127, 30, 0.1) 0px 0px 0px 8.27153px;
  }
}

.casino-winner-icon {
  z-index: 10;
  color: #4caf50;
  font-size: 2rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 32px;
  min-height: 32px;
  width: 32px;
  height: 32px;
  animation: winnerbox 1.5s ease-in-out infinite;
  border-radius: 50%;
}

.casino-winner-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.casino-winner-icon-left {
  margin-right: 0.5rem;
  order: -1;
}

.casino-winner-icon-right {
  margin-left: 0.5rem;
  order: 999;
}

.casino-result-desc {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  padding: 6px;
  box-shadow: 0 0 4px -1px;
  margin-top: 10px;
}

.casino-result-desc-item {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.casino-result-desc-item>div:first-child {
  margin-right: 2%;
  opacity: 0.6;
  width: 30%;
  text-align: right;
}

@media (max-width: 768px) {
  .casino-result-desc-item>div:first-child {
    font-size: 12px !important;
  }
}

.casino-result-desc-item>div:last-child {
  word-break: break-all;
  width: 60%;
  font-size: 14px !important;
  color: #000000 !important;
}

@media (max-width: 768px) {
  .casino-result-desc-item>div:last-child {
    font-size: 12px !important;
  }
}