@tailwind base;
@tailwind components;
@tailwind utilities;

.button-base {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.button-xs {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.button-lg {
  padding: 0.8rem 1.3rem;
  font-size: 1.3rem;
  font-weight: 600;
}
.button-xl {
  padding: 1.1rem 3rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.button-base:hover,
.button-xs:hover,
.button-lg:hover,
.button-xl:hover {
  color: #212121;
  filter: invert(50%);
}
#react-portal-modal {
  position: fixed;
  inset: 0;
  /* background-color: rgba($theme-teal-100, 0.5); */
  z-index: 2;
}
img {
  width: auto;
  height: auto;
}
.modal {
  position: absolute;
  background-color: #2daaa5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  z-index: 3;
  padding: 40px 20px 20px;
  opacity: 1;
  pointer-events: none;
  min-width: 70vmin;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.close-btn {
  position: absolute;
  pointer-events: all;
  cursor: pointer;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: transparent;
  border: none;
}

.close-btn svg {
  pointer-events: none;
}
.modal-enter-done {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.modal-exit {
  opacity: 0;
  transform: scale(0.4);
}

.modal-content {
  padding: 20px;
  /* color: $theme-white; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ql-editor {
  overflow-y: scroll;
  min-height: 100px;
  resize: vertical;
}
.ql-container {
  height: auto !important;
}
.draggable {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem;
}

.draggable-category {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1rem;
}
.drag-handle {
  border: 2px solid blue;
  background: cornflowerblue;
  padding: 1rem;
  border-radius: 4px;
}

.category-container {
  width: 90%;
}

.item {
  border: 2px solid gray;
  border-radius: 4px;
  padding: 1rem;
  width: 100%;
  background: lightgray;
}
.react-colorful {
  z-index: 0;
}
