@import "sharable.css";
@import "fireworks.css";
@import "growlers.css";
body {
  width: 100% !important;
  height: 100%;
  margin: 0;
  padding: 0;
}

.wheel-spinner_wrap.spinning {
  pointer-events: none;
  cursor: not-allowed !important;
}

.celebratory-popup {
  position: fixed;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  color: rgb(69, 10, 246);
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
  z-index: 1000;
  text-align: center;
  min-width: 300px;
  padding: 50px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
  animation: colorCycle 2s infinite;
}

.wheel-spinner-wrap {
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.wheel-container {
  padding-top: 5px;
  position: relative;
  display: inline-block;
  margin-top: 50px;
  width: 100%;
  max-width: 500px;
}
.wheel-container svg {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: block;
}

.spinner-actions-bar {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  width: 100%;
  max-width: 450px !important;
  margin: 10px auto;
}
.spinner-actions-bar .report {
  display: inline-block;
  color: red;
  text-decoration: underline;
  cursor: pointer;
}

.wheelButton {
  box-sizing: border-box;
  background-color: #ffffff;
  color: #4CAF50;
  border: 1px solid #4CAF50;
  border-radius: 5px;
  font-size: 13px;
  padding: 8px 10px;
  margin-top: 0px;
  text-decoration: none !important;
}
.wheelButton:hover {
  background-color: #4CAF50;
  color: #ffffff;
}
.wheelButton.solid {
  background-color: #4CAF50;
  color: rgba(255, 255, 255, 0.9);
}
.wheelButton.solid:hover {
  color: rgb(255, 255, 255);
}
.wheelButton.report {
  border-color: red;
}
.wheelButton.report:hover {
  background-color: red;
  color: #ffffff;
}
.wheelButton:hover {
  background-color: #45a049;
}

.button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
}
.button:hover {
  background-color: #45a049;
}

.pointer {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #cccccc;
  z-index: 10;
  filter: drop-shadow(0px 4px 3px rgba(0, 0, 0, 0.4));
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
}
button:hover {
  background-color: #45a049;
}

button#remove-name {
  position: absolute !important;
  bottom: 5px;
  right: 5px;
  background-color: #ffa500;
  font-size: 13px;
  padding: 5px 10px;
}

#close-celebratory-popup {
  position: absolute !important;
  top: 0px;
  right: 9px;
  background-color: #ffffff;
  font-size: 24px !important;
  padding: 4px;
  color: red;
  cursor: pointer;
}

#previous-spins {
  box-sizing: border-box;
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  max-width: 100%;
  display: block;
  border-radius: 5px;
}

#form-container {
  box-sizing: border-box;
  margin-top: 20px;
  padding: 20px;
  border-top: 1px solid #ccc;
  background-color: #ffffff;
  max-width: 100%;
  display: block;
  border-radius: 0px;
}
#form-container .collapseToggle {
  display: none;
}
#form-container h2 {
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

@media (min-width: 900px) {
  #wheel-spin-count {
    right: reset;
    bottom: 10px;
    left: 50%;
    margin: 0px !important;
    transform: translateX(-50%);
    text-align: left !important;
  }
  #wheel-spin-count .count-wrap {
    margin-left: -105px !important;
  }
  .celebratory-popup {
    position: fixed;
    top: 36%;
  }
  .wheel-container svg {
    max-width: 500px;
  }
  #previous-spins {
    display: block;
    position: fixed;
    right: 20px;
    top: 50px;
    width: 340px;
    max-width: 300px;
    min-height: 50%;
    height: 50vh;
    margin-top: 0px;
    margin-left: 0;
    border-radius: 0;
    z-index: 9;
  }
  #previous-spins h2 {
    font-size: 17px;
    line-height: 23px;
  }
  #previous-spins #reset-previous-spins-list {
    display: inline-block;
    float: right;
    color: red;
    font-size: 20px;
    line-height: 23px;
    cursor: pointer;
  }
  #previous-spins .previous-spins-list {
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  #form-container {
    display: block;
    position: fixed;
    right: 0px;
    top: 0px;
    max-width: 350px;
    min-height: 100%;
    height: 100vh;
    margin-top: 0px;
    margin-left: 0;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 30px;
    border-left: 1px solid #ccc;
    padding-right: 20px;
    z-index: 10;
  }
  #form-container {
    transition: right 0.3s ease-in-out; /* Add transition */
  }
  #form-container .collapseToggle {
    position: absolute;
    display: block !important;
    width: 25px;
    text-align: center;
    padding: 5px 5px;
    font-size: 16px;
    left: -21px;
    background: #ffffff;
    box-shadow: -6px 4px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  #form-container.expanded {
    right: 0px;
  }
  #form-container.expanded .collapseToggle .expand {
    display: none;
  }
  #form-container.collapsed {
    right: -330px !important;
  }
  #form-container.collapsed .collapseToggle .collapse {
    display: none;
  }
  .collapseToggle {
    position: relative;
    display: block !important;
    width: 25px;
    text-align: center;
    padding: 5px 5px;
    font-size: 16px;
    left: -45px;
    background: #ffffff;
    box-shadow: -6px 4px 4px rgba(0, 0, 0, 0.1);
  }
  #edit-form {
    padding: 0px 10px;
  }
  #segment-fields {
    box-sizing: border-box;
    overflow-y: visible;
    margin-left: 0px;
  }
}
#upload-form {
  height: 350px;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 7px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-field {
  box-sizing: border-box;
  position: relative;
  margin-bottom: 10px;
  display: block;
  width: 100%;
  left: 0px;
}
.form-field input.segment-label {
  width: 100%;
  padding: 10px;
  padding-right: 30px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.form-field input.segment-label.warning {
  border-color: #ffa500;
}
.form-field input.segment-label.danger {
  border-color: #ff0000;
}
.form-field input.segment-label:focus {
  outline: none;
  border-color: #4CAF50;
}
.form-field label {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  width: 100%;
}
.form-field input[name=wheel-name] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  flex: 1;
}
.form-field input[name=wheel-name]:focus {
  outline: none;
  border-color: #4CAF50;
}
.form-field .warning-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}
.form-field input:focus + .warning-tooltip:not(:empty) {
  opacity: 1;
  visibility: visible;
}
.form-field textarea {
  width: 100%;
  min-height: 100px;
  padding: 8px;
}
.form-field .button-container {
  display: inline-flex;
  justify-content: space-between;
  text-align: right;
  float: right;
  vertical-align: middle;
  line-height: 20px;
}
.form-field .button-container button {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  border: none;
  margin-right: 3px;
}
.form-field .button-container span.wheel-edit-action {
  display: inline-block;
  padding: 3px 10px;
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  color: #444444;
  border: none;
  width: 20px;
  text-align: center;
  vertical-align: middle;
  text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 1px;
}
.form-field .button-container span.wheel-edit-action.delete {
  color: red;
  font-weight: normal;
}
.form-field .button-container span.wheel-edit-action.delete:hover {
  color: #d32f2f;
}
.form-field .button-container span.wheel-edit-action.up, .form-field .button-container span.wheel-edit-action.down {
  font-weight: bold;
  width: 20px;
  padding: 3px 10px;
  font-size: 20px;
  position: relative;
  top: 1px;
}
.form-field .button-container span.wheel-edit-action.up:hover, .form-field .button-container span.wheel-edit-action.down:hover {
  color: #4CAF50;
}
.form-field .button-container span.wheel-edit-action::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.form-field .button-container span.wheel-edit-action:hover::after {
  opacity: 1;
  visibility: visible;
}

.input-group {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  width: 100%;
  left: 0px;
}

.input-wrapper {
  box-sizing: border-box;
  position: relative;
  flex: 1;
  min-width: 0;
}

.drag-handle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  cursor: move;
  z-index: 1;
  pointer-events: auto;
}
.drag-handle:hover {
  color: #333;
}
.drag-handle.dragging {
  cursor: grabbing;
}

.form-field.drag-over {
  border: 2px dashed #666;
}

#segment-fields {
  overflow-y: visible;
  overflow-x: hidden;
}

.color-controls {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}

.color-picker-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0 2px;
  vertical-align: middle;
  line-height: 20px;
}
.color-picker-container input[type=color] {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  z-index: 1000;
}
.color-picker-container.text input[type=color] {
  margin-top: -20px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
}
.color-picker-container.text .color-preview.segment-text {
  z-index: 1000;
  pointer-events: none;
}
.color-picker-container.segment-background {
  min-width: 20px !important;
  min-height: 20px;
  line-height: 30px;
  display: flex;
  align-items: center;
}
.color-picker-container.segment-background input[type=color] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: -19px;
}

.color-preview.segment-text, .color-preview.segment-background {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}
.color-preview.segment-text::after, .color-preview.segment-background::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.color-preview.segment-text:hover::after, .color-preview.segment-background:hover::after {
  opacity: 1;
  visibility: visible;
}
.color-preview.segment-text {
  font-size: 20px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  margin: 0 2px;
  display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none;
  text-shadow: 1px 1px 1px #444;
}
.color-preview.segment-background {
  width: 20px;
  height: 20px;
  padding: 0 !important;
  outline: 0px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 0 2px;
  vertical-align: middle;
  line-height: 20px;
}

.segment-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}

.wheel-edit-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  color: #444444;
  background: #fff;
  transition: all 0.2s ease;
}
.wheel-edit-action.delete {
  color: #ff0000;
  font-weight: normal;
}
.wheel-edit-action.delete:hover {
  background: #ffebee;
  border-color: #ff0000;
}
.wheel-edit-action.up:hover, .wheel-edit-action.down:hover {
  background: #f0f0f0;
  border-color: #4CAF50;
  color: #4CAF50;
}

#edit-checkbox {
  margin-right: 10px;
}

.form-editor-bottom-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.add-segment-button {
  background-color: #ffffff;
  color: #4CAF50;
  border: 1px solid #4CAF50;
  border-radius: 5px;
  font-size: 14px;
  padding: 8px 10px;
  margin-top: 0px;
}

.edit-style-button {
  background-color: #ffffff;
  color: #4CAF50;
  border: 1px solid #4CAF50;
  border-radius: 5px;
  font-size: 13px;
  padding: 8px 10px;
  margin-top: 0px;
}

.paste-from-word-button, .upload-csv-button {
  background-color: #ffffff;
  color: #4CAF50;
  border: 1px solid #4CAF50;
  border-radius: 5px;
  font-size: 13px;
  padding: 3px 10px;
  margin-top: 0px;
}

.segment-controls {
  margin-bottom: 20px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
}

.behaviour-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.behaviour-controls button {
  margin: 0;
  padding: 0;
  width: 25px;
  line-height: 25px;
  font-size: 15px;
  text-align: center;
}
.behaviour-controls button.speed-control {
  background: #f5f5f5;
}
.behaviour-controls button.speed-control svg {
  margin: 4px auto;
  width: 16px;
  height: 16px;
  fill: currentColor;
  vertical-align: middle;
}
.behaviour-controls button.speed-control.active {
  background: #4CAF50;
}
.behaviour-controls button.sound-control {
  display: none;
}
.behaviour-controls button.sound-control.active {
  display: block;
}
.behaviour-controls button.sound-control#sound-mute {
  background: #f5f5f5 !important;
}
.behaviour-controls .speed-control-group {
  width: 90px;
  display: flex;
  justify-content: space-between;
}

.control-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.control-button {
  background: none;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  color: #444444;
  outline: none;
  box-shadow: none;
}
.control-button:hover {
  opacity: 0.7;
}
.control-button .icon {
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
}
.control-button .icon svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
  filter: none;
}
.control-button.create {
  color: #444444;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  outline: none;
  box-shadow: none;
}
.control-button.create:hover {
  opacity: 0.7;
}
.control-button.create .icon {
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
}

#font-selector {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}
#font-selector:hover {
  border-color: #ccc;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 4px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: black;
}

.form-actions {
  text-align: right;
}

#wheel-spin-count {
  position: absolute;
  bottom: -80px;
  right: 30px;
  width: 100%;
  max-width: 500px;
  margin: 0px auto;
  color: #FF3366;
  text-align: right;
}
#wheel-spin-count span.count-wrap {
  text-align: left;
  border: lightgray 1px solid;
  background-color: #F8F8F8;
  display: inline-block;
  border-radius: 7px;
  padding: 5px 0px;
}
#wheel-spin-count h2 {
  color: #006699;
  font-size: 16px;
  margin: 0;
  padding: 5px 10px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  border-bottom: lightgray 1px solid;
}
#wheel-spin-count .spin-count-label {
  font-size: 14px;
  padding: 3px 10px;
}
#wheel-spin-count .spin-count-value {
  padding: 3px 0px;
  font-weight: bold;
}

@keyframes colorCycle {
  0% {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7); /* Red */
  }
  33% {
    box-shadow: 0 0 25px rgba(0, 0, 255, 0.7); /* Blue */
  }
  66% {
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.7); /* Yellow */
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7); /* Back to Red */
  }
}
/* Import additional stylesheets *//*# sourceMappingURL=style.css.map */