@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 222.2 47.4% 11.2%;
    --primary-foreground: 210 40% 98%;

    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.6% 91.4%;
    --input: 214.3 31.6% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 11.2%;

    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

/* Custom styles from the provided CSS */
@font-face {
  font-family: Gilbert;
  font-weight: 700;
  src: url("/fonts/GilbertColor.72cc8acb.ttf");
}

.wp-block-spinner-block-spinner {
  font-family: Gilbert, sans-serif;
  font-size: 42px;
  margin: 0;
  max-width: 100% !important;
  overflow: hidden;
}

@media only screen and (max-width: 650px) {
  .wp-block-spinner-block-spinner {
    margin: 0 5px;
  }
}

.wheelContainer {
  align-items: center;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: calc(85vh - 10px);
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

@media only screen and (max-width: 650px) {
  .wheelContainer {
    height: auto;
    min-width: unset;
  }
}

.spin-button {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
  color: #000;
  cursor: pointer;
  display: flex;
  font-size: 20px;
  font-weight: 700;
  height: 15%;
  justify-content: center;
  left: 50%;
  padding: 0;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15%;
  z-index: 3;
}

.spin-button img {
  display: none;
  height: 55%;
  width: 55%;
}

@media only screen and (max-width: 650px) {
  .spin-button {
    font-size: 14px;
  }
  .spin-button span {
    display: none;
  }
  .spin-button img {
    display: block;
  }
}

.spin-button:focus {
  outline: none;
}

.needle {
  background-color: #000000;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
  filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.4));
  height: 15%;
  left: 50%;
  margin-bottom: 30px;
  position: absolute;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 10%;
}

.wheel {
  animation: rotate360 30s linear infinite forwards;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  height: 100%;
  overflow: visible;
  transform: translateZ(0);
  width: 100%;
  will-change: transform;
}

.wheel.customBg .slice-container .slice {
  background-color: transparent !important;
}

.wheel.customBg .slice-container .content {
  color: #ffffff;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #000;
}

.wheelContainer .slice-container {
  -webkit-mask-image: none !important;
}

.wheel .slice-container {
  border-radius: 50%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.wheel .slice-container .border {
  height: 3px;
  position: absolute;
  right: 0;
  top: 50%;
  transform-origin: left;
  width: 100%;
  width: 50%;
  z-index: 2;
}

.wheel .slice-container .border.small {
  height: 1px;
}

.wheel .slice-container .border.smaller {
  height: 0;
}

.wheel .slice {
  border-radius: 50%;
  height: 100%;
  position: absolute;
  width: 100%;
}

.wheel .content-box {
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform-origin: center left;
  width: 50%;
  z-index: 9;
}

.wheel .content {
  align-items: center;
  color: #000;
  display: flex;
  font-size: 36px;
  justify-content: flex-end;
  line-height: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 1.5rem 1rem 4.5rem;
  text-align: end;
  text-overflow: ellipsis;
  transform: translateY(-50%);
  white-space: nowrap;
}

.wheel .content.small {
  font-size: 18px;
}

.wheel .content.smaller {
  font-size: 14px;
}

@media only screen and (max-width: 650px) {
  .wheel .content {
    font-size: 20px;
  }
  .wheel .content.small {
    font-size: 16px;
  }
  .wheel .content.smaller {
    font-size: 12px;
  }
}

.wheel .content img {
  margin-left: 8px;
  max-height: 25%;
  object-fit: contain;
  width: 30%;
}

.spinner-block {
  display: flex;
  flex-wrap: wrap;
  padding: 64px 0;
}

@media only screen and (max-width: 650px) {
  .spinner-block {
    padding: 0;
  }
}

.spinner-block button {
  letter-spacing: 1px;
}

@media only screen and (max-width: 650px) {
  .spinner-block .picker_wrapper {
    left: 50% !important;
    position: fixed !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

.spinner-block .picker_wrapper .picker_arrow {
  display: none !important;
}

.spinner-block .btn-primary {
  background-color: #409bd0;
  border: 2px solid #1f4d68;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: Gilbert;
  font-size: 18px;
  padding: 4px 20px;
  transition: all 0.1s ease-out;
}
 
.spinner-block .btn-primary:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.spinner-block .btn-primary.add-entry {
  background-color: transparent;
  height: 36px;
  margin-bottom: 8px;
  width: 100%;
}

.spinner-block .btn-primary.add-entry svg {
  height: 24px;
  width: 24px;
}

.spinner-block .btn-secondary {
  background-color: transparent;
  border: none;
  border-radius: 8px;
  color: #000;
  cursor: pointer;
  font-family: Gilbert;
  font-size: 18px;
  padding: 4px 20px;
  transition: all 0.1s ease-out;
}

.spinner-block .btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.spinner-block .confetti {
  animation: fall 10s linear;
  border-radius: 50%;
  height: 10px;
  position: fixed;
  top: -10px;
  transform: rotate(45deg);
  width: 10px;
  z-index: 5;
}

@keyframes fall {
  0% {
    transform: translate(0);
  }
  to {
    transform: translateY(100vh);
  }
}

.spinner-block .controls {
  align-self: stretch;
  border-radius: 16px;
  display: flex;
  min-height: 400px;
  position: relative;
}

@media only screen and (max-width: 1400px) {
  .spinner-block .controls {
    min-height: 0;
    width: 100%;
  }
}

.spinner-block .controls button.visibility {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 45px;
  outline: none;
  position: absolute;
  right: 24px;
  top: 8px;
  width: 125px;
  z-index: 2;
}

.spinner-block .controls button.visibility label {
  bottom: 50%;
  color: #000;
  font-family: Gilbert;
  font-size: 16px;
  position: absolute;
  right: 100%;
  transform: translateY(50%) translateX(100%);
  visibility: hidden;
}

.spinner-block .controls button.visibility label:first-of-type {
  visibility: visible;
}

.spinner-block .controls button.visibility img {
  background-size: contain;
  border: 3px solid #000;
  border-radius: 50%;
  box-sizing: border-box;
  height: 100%;
  padding: 5px;
  position: absolute;
  right: 0;
  top: 0;
  visibility: hidden;
  width: auto;
}

.spinner-block .controls button.visibility img:first-of-type,
.spinner-block .controls button.visibility.active img,
.spinner-block .controls button.visibility.active label {
  visibility: visible;
}

.spinner-block .controls button.visibility.active img:first-of-type,
.spinner-block .controls button.visibility.active label:first-of-type {
  visibility: hidden;
}

.spinner-block .controls .hideable {
  display: flex;
  gap: 16px;
  justify-content: space-around;
  padding: 24px;
  width: 100%;
}

@media only screen and (max-width: 1400px) {
  .spinner-block .controls .hideable {
    flex-wrap: wrap;
    margin: 24px 0;
    overflow: hidden;
    padding: 0 24px;
  }
}

@media only screen and (max-width: 650px) {
  .spinner-block .controls .hideable {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.spinner-block .controls .switches {
  background:linear-gradient(90deg,#3a47d5 0%,#008cff 100%);
  border-radius: 16px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: fit-content;
  margin-top: 37px;
  min-width: 200px;
  padding: 8px;
}

.spinner-block .controls .switches .ai-open {
  margin-top: 8px;
}

@media only screen and (max-width: 1400px) {
  .spinner-block .controls .switches {
    margin-bottom: 16px;
  }
}

@media only screen and (max-width: 650px) {
  .spinner-block .controls .switches {
    width: 100%;
  }
}

.spinner-block .controls .textarea-tabs .wheel-tabs {
  display: flex;
  overflow: hidden;
}

.spinner-block .controls .textarea-tabs .wheel-tabs button {
  background-color:  hsl(209, 100%, 73%);
  border: 0;
  border-radius: 16px 16px 0 0;
  cursor: pointer;
  font-family: Gilbert;
  font-size: 16px;
  padding: 8px;
}

.spinner-block .controls .textarea-tabs .wheel-tabs button.active {
  background-color: hsl(209, 100%, 73%);
  cursor: default;
}

.spinner-block .controls .textarea-tabs .tabcontent {
  background:linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
  border-radius: 0 16px 16px 16px;
  box-shadow: 5px 8px 10px rgba(0, 0, 0, 0.2);
  font-size: 24px;
  width: 250px;
}

.spinner-block .controls .textarea-tabs .tabcontent .tab {
  display: none;
  padding: 8px;
}

.spinner-block .controls .textarea-tabs .tabcontent .tab.active {
  display: block;
}

@media only screen and (max-width: 650px) {
  .spinner-block .controls .textarea-tabs .tabcontent {
    width: 100%;
  }
}

.spinner-block .controls .textarea-tabs .tabcontent .ai-open {
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .buttonbox {
  display: flex;
  justify-content: end;
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .buttonbox button {
  background-color: hsl(209, 100%, 73%);
  border: 0;
  border-radius: 8px;
  color: #000;
  cursor: pointer;
  font-family: Gilbert, sans-serif;
  font-size: 20px;
  margin-left: 16px;
  padding: 2px 16px;
  transition: all 0.1s ease-out;
}

.spinner-block .controls .textarea-tabs .tabcontent .buttonbox button:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) {
  background-color: transparent;
  border: 0;
  box-sizing: border-box;
  color: inherit;
  font-family: Gilbert, sans-serif;
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 8px;
  resize: none;
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple):focus {
  outline: none;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .item {
  align-items: stretch;
  display: flex;
  margin-bottom: 4px;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) input[type="text"] {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 4px;
  color: #000;
  display: flex;
  font-family: Gilbert, sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-left: 4px;
  margin-right: 4px;
  padding: 0 0 0 4px;
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) input[type="text"]:focus {
  outline: none;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .imageInput {
  background-color: transparent;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  border: 2px solid #000;
  border-radius: 4px;
  cursor: pointer !important;
  display: flex;
  height: auto;
  position: relative;
  width: 3rem;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .imageInput input {
  cursor: pointer !important;
  font-size: 0;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .color {
  aspect-ratio: 1 / 1;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  height: 2rem;
  outline: none;
  padding: 0;
  width: 2rem;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .remove {
  background-color: transparent;
  border: 0;
  height: 2rem;
  padding: 0;
  position: relative;
  transition: all 0.1s ease-out;
  width: 2rem;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .remove:focus {
  outline: none;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList:not(.simple) .remove:before {
  cursor: pointer;
  display: flex;
  font-weight: 700;
  height: 24px;
  width: 24px;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList.simple {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 8px;
  box-sizing: border-box;
  color: inherit;
  font-family: Gilbert, sans-serif;
  font-size: 24px;
  margin-top: 8px;
  resize: none;
  width: 100%;
}

.spinner-block .controls .textarea-tabs .tabcontent .itemList.simple:focus {
  outline: none;
}

.spinner-block .controls .textarea-tabs .tabcontent .results {
  padding: 8px;
}

.spinner-block .controls .textarea-tabs .tabcontent .results div {
  font-size: 24px;
  margin: 0;
  min-height: 2ch;
}

.spinner-block .controls .textarea-tabs .tabcontent .results div .item {
  display: flex;
  justify-content: space-between;
}

.spinner-block .controls .textarea-tabs .tabcontent .results div .num {
  margin-right: 8px;
}

.spinner-block .controls .sliders {
  display: flex;
  margin-bottom: 8px;
}

.spinner-block .controls .sliders .slider-container {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0 16px;
  position: relative;
  width: 100%;
}

.spinner-block .controls .sliders .slider-container p {
  font-size: 16px;
  margin: 16px 0;
}

.spinner-block .controls .sliders .slider-container span {
  display: block;
  font-size: 20px;
  text-align: center;
  width: 100%;
}

.spinner-block .controls .sliders .slider-border {
  height: 200px;
  margin-bottom: 8px;
}

.spinner-block .controls .sliders .slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  border-radius: 16px;
  height: 20px;
  outline: none;
  position: absolute;
  touch-action: none;
  transform: rotate(-90deg) translate(-100%, -50%);
  transform-origin: left top;
  width: 200px;
}

.spinner-block .controls .sliders .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #409bd0;
  border-radius: 16px;
  cursor: pointer;
  height: 20px;
  width: 25px;
}

.spinner-block .switch input {
  opacity: 0;
  position: absolute;
}

.spinner-block .switch {
  background: #000;
  border-radius: 1em;
  display: inline-block;
  font-size: 20px;
  height: 1em;
  margin-right: 16px;
  transition: all 0.3s;
  width: 2em;
}

.spinner-block .switch:has(input:checked) {
  background: #409bd0;
}

.spinner-block .switch div {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.3);
  height: 1em;
  transition: all 0.3s;
  width: 1em;
}

.spinner-block .switch input:checked + div {
  transform: translate3d(100%, 0, 0);
}

.spinner-block .option {
  align-items: center;
  cursor: pointer;
  display: flex;
}

.spinner-block .option:not(:last-child) {
  margin-bottom: 16px;
}

.spinner-block .option:has(input:disabled) {
  cursor: default;
  opacity: 0.5;
}

.spinner-block .option span {
  font-size: 16px;
}

.spinner-block .option.oSimple {
  display: none;
}

.spinner-block .modalBack {
  background-color: transparent;
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 8;
}

.spinner-block .modal {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  left: 50%;
  max-width: calc(100% - 10px);
  overflow: hidden;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  width: 500px;
  z-index: 9;
}

@media only screen and (max-width: 650px) {
  .spinner-block .modal {
    width: calc(100% - 10px);
  }
}

.spinner-block .modal .ribbon {
  background-color: #409bd0;
  box-sizing: border-box;
  display: flex;
  height: fit-content;
  padding: 16px;
  width: 100%;
}

.spinner-block .modal .winner-text {
  font-size: 36px;
  margin: 0;
}

.spinner-block .modal .buttonbox {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: auto;
}

.spinner-block .modal .modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
}

.spinner-block .modal .buttonbox {
  margin-top: 16px;
}

.spinner-block .modal .ribbon button.close {
  background: #ececec;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  height: 40px;
  left: auto;
  margin-left: auto;
  position: relative;
  transition: 0.2s ease-in-out;
  width: 40px;
}

.spinner-block .modal .ribbon button.close .line {
  background: #000;
  border-radius: 2px;
  height: 4px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  width: 20px;
}

.spinner-block .modal .ribbon button.close .line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.spinner-block .modal .ribbon button.close:hover {
  background-color: #c8c8c8;
}

.spinner-block .modal.reward-modal {
  text-align: center;
}

.spinner-block .modal.reward-modal .textbox {
  margin: 16px auto;
}

.spinner-block .modal.reward-modal .reward {
  margin-bottom: 24px;
  text-decoration: underline;
}

.spinner-block .modal.reward-modal .reward-img {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  height: 150px;
  margin: 0 auto;
  width: 75%;
}

.spinner-block .modal.config-modal {
  overflow: visible;
  padding: 16px;
  width: 650px;
}

.spinner-block .modal.config-modal .modal-body {
  background-color: #eee;
  border-radius: 16px;
}

.spinner-block .modal.config-modal .configs {
  font-size: 20px;
  overflow: visible;
}

.spinner-block .modal.config-modal .configs .winner-text-input {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  width: 100%;
}

.spinner-block .modal.config-modal .configs .winner-text-input input {
  background-color: #fff;
  border: 0;
  border-radius: 16px;
  flex-grow: 1;
  font-family: Gilbert, sans-serif;
  font-size: 16px;
  margin-left: 8px;
  padding: 4px 8px;
}

.spinner-block .modal.config-modal .configs .background-input {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spinner-block .modal.config-modal .configs .background-input p {
  width: 100%;
}

.spinner-block .modal.config-modal .configs .background-input .input {
  margin-right: 16px;
  position: relative;
}

.spinner-block .modal.config-modal .configs .background-input .input label {
  background-color: #409bd0;
  border: 2px solid #1f4d68;
  border-radius: 16px;
  color: #fff;
  letter-spacing: 2px;
  padding: 4px 8px;
  transition: all 0.1s ease-out;
}

.spinner-block .modal.config-modal .configs .background-input .input:hover label {
  background-color: rgba(0, 0, 0, 0.1);
}

.spinner-block .modal.config-modal .configs .background-input .input input {
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.spinner-block .modal.config-modal .configs .background-input .preview {
  background-color: #fff;
  background-size: contain;
  border: 2px solid #1f4d68;
  border-radius: 50%;
  height: 100px;
  margin-right: 16px;
  overflow: hidden;
  width: 100px;
}

.spinner-block .modal.config-modal .configs .colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.spinner-block .modal.config-modal .configs .colors p {
  width: 100%;
}

.spinner-block .modal.config-modal .configs .colors .color {
  width: 15%;
}

.spinner-block .modal.config-modal .configs .colors .color button {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  height: 40px;
  width: 100%;
}

.spinner-block .modal.config-modal .configs .colors .add-new-color,
.spinner-block .modal.config-modal .configs .colors .remove-color {
  order: 9999;
  width: 15%;
}

.spinner-block .modal.config-modal .configs .colors .add-new-color button,
.spinner-block .modal.config-modal .configs .colors .remove-color button {
  align-items: center;
  border: 1px solid #000;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 100%;
}

.spinner-block .modal.config-modal .configs .colors .add-new-color svg,
.spinner-block .modal.config-modal .configs .colors .remove-color svg {
  height: 75%;
  width: 75%;
}

.spinner-block .modal.ai-modal {
  padding: 16px;
}

.spinner-block .modal.ai-modal .doneMask,
.spinner-block .modal.ai-modal .loadingMask {
  align-items: center;
  background-color: #eee;
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.spinner-block .modal.ai-modal .doneMask.active,
.spinner-block .modal.ai-modal .loadingMask.active {
  display: flex;
}

.spinner-block .modal.ai-modal .modal-body {
  background-color: #eee;
  border-radius: 16px;
  font-size: 20px;
}

.spinner-block .modal.ai-modal .modal-body input {
  background-color: #ffffff;
  border: 2px solid #000;
  border-radius: 16px;
  flex-grow: 1;
  font-family: Gilbert, sans-serif;
  font-size: 16px;
  margin-left: 8px;
  padding: 4px 8px;
}

.spinner-block .modal.ai-modal button:disabled {
  cursor: default;
  opacity: 0.5;
}

.spinner-block .modal.ai-modal .modal-body input {
  -webkit-text-fill-color: #000 !important;
  -webkit-appearance: none !important;
  background-clip: initial !important;
  background-image: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
  font-family: Arial, sans-serif !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

@supports (-webkit-touch-callout: none) {
  .spinner-block .modal.ai-modal .modal-body input {
    background: #fff !important;
    border: 1px solid #ccc !important;
  }
}
