/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

.game-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(64, 64, 64, 0.7); /* Dark semi-transparent grey */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  max-width: 100%;
  height: auto;
}

h1,
h2 {
  text-align: center;
  color: #fff;
}

/* Time-based Message */
.time-message {
  text-align: center;
  font-style: italic;
  margin-bottom: 10px;
  font-size: 1em;
  color: #fff;
}

/* Stats Panel */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 10px;
}
.stats div {
  font-size: 1.2em;
  color: #fff;
  margin: 5px;
}

/* Inn Image Container */
.inn-image-container {
  text-align: center;
  margin-bottom: 20px;
}
.inn-image-container img {
  max-width: 50%; /* Scaled to 50% of container width */
  height: auto;
  border-radius: 8px;
}

/* Buttons */
.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
button {
  background: #5cb85c;
  color: #fff;
  border: none;
  width: 200px;
  padding: 10px 10px;
  border-radius: 4px;
  margin: 10px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.2s ease;
}
button:hover {
  background: #4cae4c;
}

/* Pour Ale Button - Image */
.pour-image {
  max-width: 30px;
  vertical-align: middle;
  margin-right: 5px;
}

/* Patron Display */
.patron-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.patron {
  background: #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.patron img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Upgrade Card with Image */
.upgrade {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #838080;
  border-radius: 4px;
  background: rgba(64, 64, 64, 0.7);
}

.upgrade-left {
  margin-right: 10px;
}

.staff-image {
  max-width: 80px;
  max-height: 80px;
  border-radius: 4px;
}

.upgrade-right {
  flex: 1;
}

.upgrade-info {
  font-size: 1em;
  color: #fff;
}

.staff-toggle-label {
  margin-left: 10px;
  font-size: 0.9em;
}

/* Info Tab Content */
#infoContent p {
  margin: 5px 0;
  font-size: 1em;
}

/* Store Tabs */
.store-tabs {
  line-height: 160%;
  margin-top: 20px;
}
.tab-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}
.tab-btn {
  background: #ddd;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
  color: #000;
}
.tab-btn.active {
  background: #5cb85c;
  color: #fff;
}
.tab-btn:hover {
  background: #ccc;
}
.tab-content {
  border: 1px solid #969696;
  padding: 10px;
  border-radius: 4px;
  background: rgba(64, 64, 64, 0.7);
  color: #fff;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

.group-thousands {
  border: 3px solid #FF5733; /* Red-orange for 1000s */
  border-radius: 50%;
  padding: 2px;
}

.group-hundreds {
  border: 3px solid #33C1FF; /* Light blue for 100s */
  border-radius: 50%;
  padding: 2px;
}

.group-tens {
  border: 3px solid #33FF57; /* Light green for 10s */
  border-radius: 50%;
  padding: 2px;
}

.discord-message a {
  text-align: center;
  font-style: italic;
  margin-bottom: 0px;
  margin-top: 30px;
  font-size: 1em;
  color: #fff;
}

.button-container-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px; /* Adjust the gap as needed */
}

.button-container {
  flex: 1;
  text-align: center;
}