/* videopoker.css */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  background: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
}

#scaleContainer {
  width: 600px;
  height: auto;
  transform-origin: top left;
  margin-bottom: 20px;
}

canvas#pokerCanvas {
  width: 600px;
  height: 400px;
  border: 2px solid gold;
  background-color: #111;
  display: block;
  margin-bottom: 10px;
}

#holdButtons {
  display: flex;
  justify-content: space-between;
  width: 600px;
  margin: 10px 0;
}

.holdButton {
  flex: 1;
  background-color: red;
  color: white;
  font-size: 16px;
  border: 1px solid #fff;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 4px;
  padding: 6px;
  border-radius: 4px;
}

.holdButton.held {
  background-color: #880000;
  border: 2px solid #fff;
  box-shadow: 0 0 10px red;
}

.holdButton:disabled {
  background-color: #333;
  color: #888;
  cursor: not-allowed;
}

#mainControls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#creditDisplay {
  font-size: 24px;
  color: #f00;
  background: #111;
  padding: 6px 12px;
  border: 1px solid #f00;
  border-radius: 5px;
}

#buttonRow {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#playButton {
  background-color: orange;
  color: #000;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px orange;
  transition: transform 0.1s;
}

#playButton:disabled {
  background-color: #333;
  box-shadow: none;
  color: #999;
  cursor: not-allowed;
}

#messagePanel {
  margin-top: 20px;
  min-height: 30px;
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.message {
  padding: 4px;
  border-left: 4px solid orange;
  margin-bottom: 4px;
}

#rightPanel {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

#paytable table {
  width: 100%;
  border-collapse: collapse;
  background: #111;
}

#paytable td {
  padding: 4px 0;
  color: #fff;
  vertical-align: middle;
}

#paytable td:first-child {
  text-align: left;
  padding-left: 8px;
}

#paytable td:last-child {
  text-align: right;
  padding-right: 8px;
}

#wagerContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.wagerBtn {
  background: #222;
  color: #fff;
  font-size: 20px;
  padding: 6px 10px;
  border: 1px solid #fff;
  border-radius: 4px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 28px;
}

#wagerDisplay {
  font-size: 18px;
  background: #111;
  color: #f00;
  padding: 6px 12px;
  border: 1px solid #f00;
  border-radius: 5px;
}
