/* src/css/index.css */
:where(:root) {
  --t007-toast-font-family: inherit;
  --t007-toast-info-color: #3498db;
  --t007-toast-success-color: #27ae60;
  --t007-toast-error-color: #e74c3c;
  --t007-toast-warning-color: #f1c40f;
  --t007-toast-background: rgb(from black r g b/.4);
  --t007-toast-background-blur: 10px;
  --t007-toast-animation-duration: 250ms;
  --t007-toast-animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
  --t007-toast-container-position: fixed;
  --t007-toast-border: unset;
  --t007-toast-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.08);
  --t007-toast-icon-line-height: 1.25;
  --t007-toast-image-background: black;
  --t007-toast-text-stroke: 0.15px rgba(0, 0, 0, 0.35);
  --t007-toast-text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
  --t007-toast-max-lines: 7;
  --t007-toast-action-button-border: none;
  --t007-toast-action-button-font-weight: 500;
  --t007-toast-x-color: red;
}
:where(:root, .t007-toast) {
  --t007-toast-type-color: whitesmoke;
  --t007-toast-focus-visible-color: var(--t007-toast-font-color);
  --t007-toast-focus-visible-outline: 2px solid var(--t007-toast-focus-visible-color);
  --t007-toast-progress-background: var(--t007-toast-type-color);
  --t007-toast-progress-backdrop-background: rgb(from var(--t007-toast-type-color) r g b / 0);
  --t007-toast-font-color: var(--t007-toast-type-color);
  --t007-toast-action-button-color: var(--t007-toast-font-color);
  --t007-toast-action-button-active-color: var(--t007-toast-action-button-color);
  --t007-toast-action-button-background: rgba(from currentColor r g b / 0.1);
  --t007-toast-action-button-active-background: rgba(from currentColor r g b / 0.2);
}
:where(:root, .t007-toast-container) {
  --t007-toast-unit: 1rem;
  --t007-toast-container-margin: calc(var(--t007-toast-unit) / 2);
  --t007-toast-container-margin-top: var(--t007-toast-container-margin);
  --t007-toast-container-margin-bottom: var(--t007-toast-container-margin);
  --t007-toast-container-margin-left: var(--t007-toast-container-margin);
  --t007-toast-container-margin-right: var(--t007-toast-container-margin);
  --t007-toast-container-gap: var(--t007-toast-container-margin);
  --t007-toast-min-width: unset;
  --t007-toast-width: calc(var(--t007-toast-unit) * 20);
  --t007-toast-max-width: 100%;
  --t007-toast-min-height: 4.25rem;
  --t007-toast-height: fit-content;
  --t007-toast-max-height: calc(var(--t007-toast-unit) * 8.5);
  --t007-toast-padding: calc(var(--t007-toast-unit) / 2.25);
  --t007-toast-smart-padding-left: calc(var(--t007-toast-padding) * 2.25);
  --t007-toast-smart-padding-right: calc(var(--t007-toast-smart-padding-left) - (var(--t007-toast-action-button-padding-inline) / 2));
  --t007-toast-gap: var(--t007-toast-padding);
  --t007-toast-border-radius: calc(var(--t007-toast-unit) / 3);
  --t007-toast-progress-height: calc(var(--t007-toast-unit) / 5);
  --t007-toast-image-width: calc(var(--t007-toast-unit) * 3.5);
  --t007-toast-image-height: calc(var(--t007-toast-unit) * 3.5);
  --t007-toast-image-border-radius: calc(var(--t007-toast-border-radius) - (var(--t007-toast-padding) / 2));
  --t007-toast-image-object-fit: cover;
  --t007-toast-actions-container-width: 65%;
  --t007-toast-actions-container-max-width: fit-content;
  --t007-toast-actions-container-gap: calc(var(--t007-toast-unit) / 4);
  --t007-toast-action-button-font-size: calc(var(--t007-toast-font-size) / 1.1);
  --t007-toast-action-button-padding-inline: calc(var(--t007-toast-unit) / 2.2);
  --t007-toast-action-button-padding-block: calc(var(--t007-toast-unit) / 3.3);
  --t007-toast-action-button-border-radius: calc(((var(--t007-toast-action-button-padding-block) * 2) + var(--t007-toast-font-size)) / 2);
  --t007-toast-icon-width: calc(var(--t007-toast-unit) * 1.4);
  --t007-toast-icon-height: calc(var(--t007-toast-unit) * 1.4);
  --t007-toast-icon-font-size: calc(var(--t007-toast-icon-height) * 0.8);
  --t007-toast-font-size: calc(var(--t007-toast-unit) / 1.05);
  --t007-toast-font-weight: inherit;
  --t007-toast-x-size: calc(var(--t007-toast-unit) * 1.75);
}
@keyframes t007-x-slide-bounce-in {
  from {
    transform: translateX(var(--t-from));
  }
  50% {
    transform: translateX(var(--t-bounce));
  }
  to {
    transform: translateX(var(--t-to));
  }
}
@keyframes t007-x-slide-bounce-out {
  from {
    transform: translateX(var(--t-to));
  }
  50% {
    transform: translateX(var(--t-bounce));
  }
  to {
    transform: translateX(var(--t-from));
  }
}
@keyframes t007-y-slide-bounce-in {
  from {
    transform: translateY(var(--t-from));
  }
  50% {
    transform: translateY(var(--t-bounce));
  }
  to {
    transform: translateY(var(--t-to));
  }
}
@keyframes t007-y-slide-bounce-out {
  from {
    transform: translateY(var(--t-to));
  }
  50% {
    transform: translateY(var(--t-bounce));
  }
  to {
    transform: translateY(var(--t-from));
  }
}
@keyframes t007-fade-in {
  from {
    opacity: 0;
  }
}
@keyframes t007-fade-out {
  to {
    opacity: 0;
  }
}
@keyframes t007-zoom-in {
  from {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes t007-zoom-out {
  to {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes t007-icon-expand {
  from {
    transform: scale(0);
    opacity: 0;
  }
}
@keyframes t007-icon-handwave {
  0% {
    transform: rotate(0deg) scale(1) translateZ(0);
  }
  5% {
    transform: rotate(15deg) scale(1.05) translate(1px, -1px) perspective(300px) rotateY(5deg);
  }
  10% {
    transform: rotate(-10deg) scale(0.98) translate(-1px, 2px) perspective(300px) rotateX(2deg);
  }
  15% {
    transform: rotate(12deg) scale(1.04) translate(2px, -1px) perspective(300px) rotateY(-3deg);
  }
  20% {
    transform: rotate(-8deg) scale(0.97) translate(-2px, 1px) perspective(300px) rotateX(-2deg);
  }
  25% {
    transform: rotate(10deg) scale(1.02) translate(1px, -1px);
  }
  30% {
    transform: rotate(-6deg) scale(0.99);
  }
  35% {
    transform: rotate(8deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  45% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  55% {
    transform: rotate(2deg);
  }
  60% {
    transform: rotate(-1deg);
  }
  65% {
    transform: rotate(1deg);
  }
  70% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1) translateZ(0);
  }
}
.t007-toast-container,
.t007-toast-container *,
.t007-toast-container *::after,
.t007-toast-container *::before {
  box-sizing: border-box;
  font-family: var(--t007-toast-font-family);
}
.t007-toast-container *:focus-visible {
  outline: var(--t007-toast-focus-visible-outline);
  outline-offset: calc(var(--t007-toast-unit) / 7.5);
}
*:where(:has(> .t007-toast-container .t007-toast.t007-toast-scoped)) {
  position: relative;
  overflow: hidden;
}
.t007-toast-container {
  position: var(--t007-toast-container-position);
  margin-top: var(--t007-toast-container-margin-top);
  margin-bottom: var(--t007-toast-container-margin-bottom);
  margin-left: var(--t007-toast-container-margin-left);
  margin-right: var(--t007-toast-container-margin-right);
  max-width: calc(100% - var(--t007-toast-container-margin-left) - var(--t007-toast-container-margin-right));
  display: flex;
  flex-direction: column;
  gap: var(--t007-toast-container-gap);
  z-index: 2147483647;
  contain: layout;
}
.t007-toast-container *:disabled {
  filter: grayscale(100%);
  cursor: not-allowed;
}
.t007-toast-container[data-position^=top-] {
  top: 0;
}
.t007-toast-container[data-position^=bottom-] {
  bottom: 0;
}
.t007-toast-container[data-position^=center-] {
  top: 50%;
  transform: translateY(-50%);
  margin-block: 0;
}
.t007-toast-container[data-position$=-right] {
  right: 0;
}
.t007-toast-container[data-position$=-left] {
  left: 0;
}
.t007-toast-container[data-position$=-center] {
  left: 50%;
  translate: -50%;
  margin-inline: 0;
}
.t007-toast {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--t007-toast-gap);
  min-width: var(--t007-toast-min-width);
  width: var(--t007-toast-width);
  max-width: var(--t007-toast-max-width);
  min-height: var(--t007-toast-min-height);
  height: var(--t007-toast-height);
  max-height: var(--t007-toast-max-height);
  padding: var(--t007-toast-padding);
  color: var(--t007-toast-font-color);
  text-align: left;
  font-size: var(--t007-toast-font-size);
  font-weight: var(--t007-toast-font-weight);
  -webkit-text-stroke: var(--t007-toast-text-stroke);
  text-shadow: var(--t007-toast-text-shadow);
  background: var(--t007-toast-background);
  border: var(--t007-toast-border);
  border-radius: var(--t007-toast-border-radius);
  box-shadow: var(--t007-toast-box-shadow);
  -webkit-backdrop-filter: blur(var(--t007-toast-background-blur));
  backdrop-filter: blur(var(--t007-toast-background-blur));
  overflow: hidden;
  will-change: transform, opacity;
  transition: transform 300ms ease, opacity 300ms ease;
  animation-timing-function: var(--t007-toast-animation-timing-function);
  animation-fill-mode: forwards;
  animation-duration: var(--t007-toast-animation-duration);
  touch-action: none;
}
.t007-toast:not(:has(.t007-toast-image, .t007-toast-icon:not(:empty))):has(.t007-toast-body) {
  padding-left: max(var(--t007-toast-padding), var(--t007-toast-smart-padding-left));
}
.t007-toast:not(:has(.t007-toast-cancel-button)) {
  padding-right: max(var(--t007-toast-padding), var(--t007-toast-smart-padding-right));
}
.t007-toast:is([data-drag-to-close=mouse], [data-drag-to-close=true]) {
  cursor: grab;
}
.t007-toast:is([data-drag-to-close=mouse], [data-drag-to-close=true]):active {
  cursor: grabbing;
}
.t007-toast[data-animation^=slide] {
  --t-to: 0;
}
.t007-toast[data-animation=slide-left] {
  --t-from: 100%;
  --t-bounce: -0%;
}
.t007-toast[data-animation=slide-right] {
  --t-from: -100%;
  --t-bounce: 10%;
}
.t007-toast[data-animation=slide-up] {
  --t-from: 100%;
  --t-bounce: -10%;
}
.t007-toast[data-animation=slide-down] {
  --t-from: -100%;
  --t-bounce: 10%;
}
.t007-toast:is([data-animation=slide-left], [data-animation=slide-right]) {
  animation-name: t007-x-slide-bounce-out;
}
.t007-toast:is([data-animation=slide-left], [data-animation=slide-right]).t007-toast-show {
  animation-name: t007-x-slide-bounce-in;
}
.t007-toast:is([data-animation=slide-up], [data-animation=slide-down]) {
  animation-name: t007-y-slide-bounce-out;
}
.t007-toast:is([data-animation=slide-up], [data-animation=slide-down]).t007-toast-show {
  animation-name: t007-y-slide-bounce-in;
}
.t007-toast[data-animation=fade] {
  animation-name: t007-fade-out;
}
.t007-toast[data-animation=fade].t007-toast-show {
  animation-name: t007-fade-in;
}
.t007-toast[data-animation=zoom] {
  animation-name: t007-zoom-out;
}
.t007-toast[data-animation=zoom].t007-toast-show {
  animation-name: t007-zoom-in;
}
.t007-toast-container .t007-toast:is(.info, .success, .error, .warning) {
  --t007-toast-font-color: var(--t007-toast-type-color);
  --t007-toast-progress-background: var(--t007-toast-type-color);
  --t007-toast-progress-backdrop-background: rgb(from var(--t007-toast-type-color) r g b/0);
}
.t007-toast-container .t007-toast.info {
  --t007-toast-type-color: var(--t007-toast-info-color);
}
.t007-toast-container .t007-toast.success {
  --t007-toast-type-color: var(--t007-toast-success-color);
}
.t007-toast-container .t007-toast.error {
  --t007-toast-type-color: var(--t007-toast-error-color);
}
.t007-toast-container .t007-toast.warning {
  --t007-toast-type-color: var(--t007-toast-warning-color);
}
.t007-toast.progress::before,
.t007-toast.progress::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: var(--t007-toast-progress-height);
  transition: width ease;
}
.t007-toast.progress::before {
  width: calc(var(--progress, 0) * 100%);
  background: var(--t007-toast-progress-background);
}
.t007-toast.progress::after {
  width: 100%;
  background: var(--t007-toast-progress-backdrop-background);
}
.t007-toast-image-wrapper {
  position: relative;
  flex: 0 0 var(--t007-toast-image-width);
  width: var(--t007-toast-image-width);
  height: var(--t007-toast-image-height);
  border-radius: var(--t007-toast-image-border-radius);
  overflow: hidden;
}
.t007-toast-image-wrapper:not(:has(.t007-toast-image)) {
  flex: 0 0 var(--t007-toast-icon-width);
  width: var(--t007-toast-icon-width);
  height: var(--t007-toast-icon-height);
  margin-left: calc(var(--t007-toast-unit) / 5);
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.t007-toast-image-wrapper:not(:has(.t007-toast-image, .t007-toast-icon:not(:empty))) {
  display: none;
}
.t007-toast-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--t007-toast-icon-font-size);
  line-height: var(--t007-toast-icon-line-height);
}
.t007-toast-icon:where(:not(.t007-toast-loader)) {
  animation: t007-icon-expand 300ms ease;
}
.t007-toast-icon[data-icon=\1f44b] {
  transform-origin: bottom center;
  animation: t007-icon-handwave 1800ms ease-in-out 2 1000ms;
  will-change: transform;
}
.t007-toast .t007-toast-icon > svg {
  width: var(--t007-toast-icon-width);
  height: var(--t007-toast-icon-height);
}
.t007-toast-image-wrapper .t007-toast-image {
  min-height: 100%;
  height: 100%;
  min-width: 100%;
  width: 100%;
  object-fit: var(--t007-toast-image-object-fit);
  background: var(--t007-toast-no-image-background);
}
.t007-toast-image-wrapper [data-loaded=true] {
  background: var(--t007-toast-image-background);
}
.t007-toast-body {
  flex-grow: 1;
  height: fit-content;
  border-radius: calc(var(--t007-toast-unit) / 5);
  overflow: hidden;
}
.t007-toast-body-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--t007-toast-max-lines);
  line-clamp: var(--t007-toast-max-lines);
  margin: 0;
  z-index: 1;
}
.t007-toast-actions-wrapper {
  width: var(--t007-toast-actions-container-width);
  max-width: var(--t007-toast-actions-container-max-width);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--t007-toast-actions-container-gap);
}
.t007-toast-action-button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--t007-toast-action-button-color);
  font-size: var(--t007-toast-action-button-font-size);
  font-weight: var(--t007-toast-action-button-font-weight);
  padding-block: var(--t007-toast-action-button-padding-block);
  padding-inline: var(--t007-toast-action-button-padding-inline);
  background: var(--t007-toast-action-button-background);
  border: var(--t007-toast-action-button-border);
  border-radius: var(--t007-toast-action-button-border-radius);
  opacity: 0.9;
  transition:
    opacity 200ms ease,
    color 200ms ease,
    background-color 200ms ease;
}
.t007-toast-action-button:is(:hover, :focus-visible) {
  cursor: pointer;
  opacity: 1;
  color: var(--t007-toast-action-button-active-color);
  background: var(--t007-toast-action-button-active-background);
}
.t007-toast-cancel-button {
  display: flex;
  align-self: start;
  background: none;
  padding: 0;
  border: none;
  line-height: 0.65;
  color: var(--t007-toast-x-color);
  font-size: var(--t007-toast-x-size);
  opacity: 0.6;
}
.t007-toast-cancel-button:is(:hover, :focus-visible) {
  cursor: pointer;
  opacity: 1;
}
@media (max-width: 36rem) {
  :where(:root) {
    --t007-toast-unit: 0.9rem;
  }
}
