/* ===============================
   GLOBAL
   =============================== */
body.betting-page {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #1c1c1c;
  color: #fff;
}

/* ===============================
   HEADER
   =============================== */
.betting-header {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #2b2b2b;
  border-bottom: 2px solid #f5c542;
}

.betting-header .back-btn {
  color: #f5c542;
  font-size: 18px;
  margin-right: 10px;
  text-decoration: none;
}

.betting-header .title {
  font-weight: bold;
}

/* ===============================
   BUTTON BET
   =============================== */
.bet-main-grid,
.bet-sub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 10px;
}

.bet-type {
  background: #2f2f2f;
  border: none;
  color: #fff;
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 13px;
}

.bet-type.active {
  background: #f5c542;
  color: #000;
  font-weight: bold;
}

/* ===============================
   GENERATOR
   =============================== */
.generator {
  padding: 10px;
}

.generator h4 {
  margin: 0 0 6px;
}

.gen-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.gen-grid button {
  background: #3a3a3a;
  color: #fff;
  border: none;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
}

/* ===============================
   TABLE
   =============================== */
.table-wrapper {
  padding: 10px;
}

.bet-table {
  width: 100%;
  border-collapse: collapse;
  background: #222;
}

.bet-table th,
.bet-table td {
  border: 1px solid #444;
  padding: 6px;
  text-align: center;
  font-size: 12px;
}

.bet-table thead {
  background: #333;
}

.bet-table thead .sub th {
  font-size: 11px;
}

.bet-table input {
  width: 100%;
  background: #111;
  border: 1px solid #555;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
}

/* ===============================
   FOOTER TOTAL
   =============================== */
.bet-table tfoot td {
  background: #333;
  font-weight: bold;
}

.bet-table .right {
  text-align: right;
}

/* ===============================
   ACTION BUTTON
   =============================== */
.form-action {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.form-action button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
}

.form-action .cancel {
  background: #555;
  color: #fff;
}

.form-action .submit {
  background: #f5c542;
  color: #000;
}


