

.form-controls {
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #FBF9F5;
  background-image: none;
  width: 100%;
}

.panel-left {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.group-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative; /* enable absolute children */
  width: 100%;
  max-width: 500px;
}

.group-number {
  position: absolute;
  top: 17px;
  right: 7px;
  background: #f4b860;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-generate {
  background: black;
  color: white;
}

.group-title-input {
  border: none;
  background: transparent;
  font-weight: bold;
  font-size: 1.2em;
  width: 85%;
  margin-bottom: 10px;
  outline: none;
}
.group-title-input:focus {
  border-bottom: 1px solid #ccc;
}

.user-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 5px;
}
.group-actions {
  margin-top: 20px;
  display: inline-flex; /* inline so it centers correctly */
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.group-actions .btn-actions {
  background-color: transparent;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.group-actions .action-icon {
  width: 16px;
  height: 16px;
  filter: none;
  transition: filter 0.2s ease;
}

.group-actions .button-separator {
  width: 1px;
  height: 24px;
  background-color: #ccc;
  display: inline-block;
}

#resultsWrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#resultsWrapper .col-sm-4 {
  width: 100%;
  display: flex;
  justify-content: center;
}

.heading-with-tiles {
  font-size: 2em;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
}

.scrabble-title {
  display: inline-flex;
  gap: 5px;
  margin: 0 10px;
}

.scrabble-title .tile {
  background: #f4b860;
  color: #000;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 0.7em;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scrabble-title .score {
  font-size: 0.6em;
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-weight: normal;
}

input[type="text"],
input[type="number"],
textarea {
  border-radius: 6px;
  padding: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-wrapper .btn-decrement,
.quantity-wrapper .btn-increment {
  background-color: #f9f7f3;
  border: 1px solid #ccc;
  width: 40px;
  height: 40px;
  border-radius: 20px; /* fully rounded */
  font-size: 1.2em;
  font-weight: bold;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.quantity-wrapper .btn-decrement:hover,
.quantity-wrapper .btn-increment:hover {
  background-color: #e0e0e0;
}

.quantity-wrapper .quantity-input {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background-color: #f9f7f3;
  height: 40px;
  font-size: 1em;
  color: #000;
}

.btn-generate,
.btn-reset {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 10px;
  font-weight: bold;
  margin-top: 10px;
  width: 48%;
  transition: background-color 0.2s ease;
}

.btn-generate:hover,
.btn-reset:hover {
  background-color: #333;
}

.panel-left hr {
  border-top: 1px solid #fbf9f5;
  margin-top: 15px;
  margin-bottom: 15px;
}

.panel-left label {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-item label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .scrabble-title {
    margin: 0; /* no margin on mobile */
  }
}