@import 'base.css';

.mini-window {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  backdrop-filter: opacity(0.25);
  z-index: 99;

  &.type-top {
    align-items: flex-start;

    .window {
      border: none;
      max-height: 75%;
      min-height: 400px;
      min-width: 100vw;
      border-radius: 0em 0em 1.25em 1.25em;
      transform: translateY(-100%);
    }
  }

  &.type-middle {
    align-items: center;

    .window {
      border-radius: 1.25em;
      width: 90%;
      transform: scale(0);
    }
  }

  &.type-bottom {
    align-items: flex-end;

    .window {
      border: none;
      min-height: unset;
      max-height: 90vh;
      min-width: 100vw;
      height: auto;
      border-radius: 1.25em 1.25em 0 0;
      transform: translateY(100%);
    }
  }

  .window {
    background: var(--bg-gradient);
    border-radius: 20px;
    padding: 24px 16px 16px 16px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid #334155;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  &.type-bottom .window::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    background: var(--text-muted);
    width: 64px;
    height: 4px;
    border-radius: 100vmax;
    margin-top: 8px;
  }

  .window .wrapper {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

label.checkmark {
  height: 20px;
  width: auto;
  aspect-ratio: 1;
  cursor: pointer;
  user-select: none;

  input {
    width: 100%;
    height: 100%;
    display: none;
  }

  .check-symbol {
    height: 100%;
    width: auto;
    background-color: var(--border);
    border-radius: 0.25em;
    transition: all 0.25s;
  }

  .check-symbol:after {
    content: "";
    position: absolute;
    height: 100%;
    width: auto;
    aspect-ratio: 1;
  }

  input:checked~.check-symbol {
    background-color: var(--ton-blue);
  }

  input:checked~.check-symbol:after {
    left: 50%;
    top: 50%;
    width: 25%;
    height: 50%;
    border: 0.1em solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

label.file-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;

  input {
    display: none;
  }

  &:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 209, 255, 0.05);
  }
}

label.selector {
  cursor: pointer;

  .selected {
    padding: 0.25em;
    margin-bottom: 0.175em;
    border-radius: 0.375em;
    z-index: 11;
  }

  .selected svg {
    transition: 300ms;
  }

  .selected .option {
    flex: 1;
  }

  .options {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25em;
    border-radius: 0.375em;
    opacity: 0;
    transition: 300ms;
    width: 100%;
    z-index: 11;
    pointer-events: none;
  }

  .option {
    padding: 0.25em;
    border-radius: 0.375em;
    transition: 300ms;
  }

  .selected .placeholder {
    opacity: 0.325;
  }

  &.expanded .options {
    pointer-events: all;
    opacity: 1;
    top: 100%;
  }

  &.expanded .selected svg {
    transform: rotate(180deg);
  }

  .selected,
  .options {
    background: var(--bg-tertiary);
  }

  .options .option:hover {
    background: var(--border);
  }
}

.search-container {
  width: 100%;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);

  input {
    font-size: 16px;
  }

  svg {
    height: 20px;
    width: 20px;
  }
}

.error-text {
  color: var(--accent-danger);
}

.super-badge {
  position: absolute;
  top: -0.2em;
  right: -0.2em;
  width: 3.625em;
  height: 3.625em;
  z-index: 2;
  background: var(--accent-success);
  clip-path: path("M51.8187 26.4853L28.8481 3.51472C26.5977 1.26428 23.5454 0 20.3628 0H2.1618C0.379992 0 -0.51234 2.15429 0.74759 3.41422L51.9192 54.5858C53.1791 55.8457 55.3334 54.9534 55.3334 53.1716V34.9706C55.3334 31.788 54.0691 28.7357 51.8187 26.4853Z");

  .text-box {
    transform: rotate(45deg) translate(26%, 75%);
    text-align: center;
  }

  .text-box .text {
    font-weight: 600;
    font-size: 0.6em;
    text-transform: uppercase;
  }
}

.tag {
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--border);
  font-weight: 600;
  font-size: 0.75em;
}

.radio-list {
  label {
    cursor: pointer;
  }

  input {
    display: none;
  }

  .circle {
    width: 1em;
    height: 1em;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
  }

  label:has(input:checked) .circle {
    background-color: var(--accent-primary);
    box-shadow: 0 0 10px 1px var(--accent-primary);
  }
}

.empty-badge {
  align-self: center;
  justify-self: center;
  text-align: center;
  max-width: 280px;

  img,
  video {
    height: 80px;
    width: 80px;
  }

  .title {
    margin-top: 0.5em;
    font-size: 1.25em;
    font-weight: 600;
  }

  button {
    margin-top: 1em;
    width: 100%;
  }
}

.card-primary {
  background: var(--bg-card);
  border-radius: 1em;
  padding: 1em;
}

.alert {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 1000%);
  padding: 0.75em 1em;
  border-radius: 100vmax;
  background: var(--bg-tertiary);
  z-index: 100;
  transition: all 0.5s ease;
  max-width: 90%;
  width: max-content;

  &.active {
    transform: translate(-50%, 0);
  }
}

.product-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;

  .media-frame {
    width: 100%;
    height: 150px;
    border-radius: 18px 18px 0 0;
    background: var(--bg-secondary);
    overflow: hidden;
  }

  .media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .media-frame::after {
    content: "📦";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-size: 28px;
    inset: 0;
  }

  .media-frame:has(> img)::after {
    display: none;
  }

  .content {
    flex: 1;
    padding: 8px;
  }

  .tags {
    flex-wrap: wrap;
  }

  .tag.category {
    background: var(--ton-blue);
  }

  .description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    overflow-wrap: break-word;
  }

  .buttons {
    margin-top: auto;
  }

  button.edit,
  button.buy {
    flex: 1;
  }

  button.share {
    background: var(--accent-success);
  }

  button {
    padding: 6px;
    border-radius: 12px;
    font-size: 16px;
  }

  button:hover {
    transform: translateY(-1px);
  }

  .ton-amount svg {
    width: 20px;
    height: 20px;
  }

  &:hover {
    box-shadow: 0 16px 32px var(--ton-hover);
  }
}

.deal-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  overflow: hidden;

  .id {
    font-size: 14px;
  }

  .status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
  }

  &[data-status="confirmation"] .status {
    background: rgba(251, 146, 60, 0.2);
    color: #fbbf24;
    border: 1px solid #f59e0b;
    animation: PulseConfirmation 2.8s ease-in-out infinite;
  }

  &[data-status="pending"] .status {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid #3b82f6;
    animation: WavePending 3s ease-in-out infinite;
  }

  &[data-status="delivered"] .status {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
    border: 1px solid #0891b2;
    position: relative;
    overflow: hidden;
    animation: DeliveredRun 2.4s ease-in-out infinite;

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: #22d3ee;
      animation: DeliveredLine 1.8s linear infinite;
    }
  }

  &[data-status="ended"] .status {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid #10b981;
  }

  &[data-status="denied"] .status {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid #ef4444;
  }

  &[data-status="dispute"] .status {
    background: rgba(168, 49, 251, 0.25);
    color: #c026d3;
    border: 1px solid #d946ef;
    animation: PulseDispute 3s infinite;
  }

  &[data-status="cancelled"] .status {
    background: rgba(100, 116, 139, 0.18);
    color: #cbd5e1;
    border: 1px solid #475569;
  }

  .product .icon {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .product .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .product .description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
  }

  .details .detail {
    width: calc(50% - 0.25em);
  }

  .timer {
    margin-top: 0.5em;
  }

  .timer .bar {
    --progress: 100%;
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
  }

  .timer .bar::after {
    content: "";
    position: absolute;
    height: 6px;
    width: var(--progress);
  }

  &[data-status="confirmation"] .timer .bar::after {
    background: #fbbf24;
  }

  &[data-status="pending"] .timer .bar::after {
    background: #60a5fa;
  }

  &[data-status="delivered"] .timer .bar::after {
    background: #22d3ee;
  }
}

.dispute-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 24px 12px;
  border: 1px solid #334155;

  .header {
    padding: 10px 24px;
    border-bottom: 1px solid var(--border);
  }

  .details {
    padding: 12px;
    margin-bottom: 12px;
  }

  .details .item {
    min-width: calc(50% - 0.25em);
  }
}

section.main {
  padding: 12px;

  .panel .item {
    border-radius: 50%;
    background: var(--bg-secondary);
    height: 36px;
    width: 36px;
    aspect-ratio: 1;
    border: 1px solid transparent;
  }

  .panel .item svg {
    height: 20px;
    width: 20px;
  }

  .panel .item.active {
    border-color: var(--accent-primary);
  }

  .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

section.create {
  padding: 12px;

  button.add {
    padding: 8px 10px;
    border-radius: 12px;
  }

  button.add svg {
    height: 24px;
    width: 24px;
  }

  .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .wrapper .card[data-status="active"] .super-badge {
    background: var(--accent-success);
  }

  .wrapper .card[data-status="inactive"] .super-badge {
    background: var(--accent-warning);
  }
}

section.deals {
  padding: 0.25em;

  .panel .item {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .panel .item.all {
    color: #e2e8f0;
    border-color: #64748b;
  }

  .panel .item.confirmation {
    color: #fbbf24;
    border-color: #f59e0b;
  }

  .panel .item.pending {
    color: #60a5fa;
    border-color: #3b82f6;
  }

  .panel .item.delivered {
    color: #22d3ee;
    border-color: #06b6d4;
  }

  .panel .item.ended {
    color: #34d399;
    border-color: #10b981;
  }

  .panel .item.denied {
    color: #f87171;
    border-color: #ef4444;
  }

  .panel .item.dispute {
    color: #e879f9;
    border-color: #d946ef;
  }

  .panel .item.cancelled {
    color: #94a3b8;
    border-color: #475569;
  }

  .panel .item.active {
    color: white;
    font-weight: 600;
  }

  .panel .item.active.all {
    background: rgba(100, 116, 139, 0.6);
    border-color: #94a3b8;
  }

  .panel .item.active.confirmation {
    background: rgba(251, 146, 60, 0.6);
    border-color: #f59e0b;
  }

  .panel .item.active.pending {
    background: rgba(59, 130, 246, 0.6);
    border-color: #3b82f6;
  }

  .panel .item.active.delivered {
    background: rgba(6, 182, 212, 0.6);
    border-color: #06b6d4;
  }

  .panel .item.active.ended {
    background: rgba(16, 185, 129, 0.6);
    border-color: #10b981;
  }

  .panel .item.active.denied {
    background: rgba(239, 68, 68, 0.6);
    border-color: #ef4444;
  }

  .panel .item.active.dispute {
    background: rgba(168, 49, 251, 0.6);
    border-color: #c026d3;
  }

  .panel .item.active.cancelled {
    background: rgba(100, 116, 139, 0.6);
    border-color: #64748b;
  }
}

section.profile {
  padding: 12px;

  header {
    padding: 2em 1.5em;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 152, 234, 0.1) 100%);
    border-radius: 1em;
  }

  .basic .icon {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background: var(--bg-primary);
  }

  .basic .icon svg {
    height: 64px;
    width: 64px;
  }

  .wallet {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 16px;
  }

  .wallet .ton-amount .value,
  .wallet .ton-amount svg {
    color: var(--accent-primary);
  }

  .wallet .ton-amount svg {
    height: 17px;
    width: 17px;
  }

  .wallet .ton-amount .fiat {
    margin-left: auto;
  }

  .wallet .tc-connect {
    background: linear-gradient(135deg, var(--ton-blue), var(--accent-primary));
  }

  .wallet .tc-disconnect {
    background: var(--border);
  }

  .wallet .tc-connect,
  .wallet .tc-disconnect {
    width: 100%;
  }

  .wallet .deposit,
  .wallet .withdraw {
    width: calc(50% - 0.25em);
  }

  .settings {
    background: var(--bg-secondary);
    border-radius: 1em;
    padding: 1em;
  }

  .settings .main-title {
    margin-bottom: 8px;
  }

  .settings .item .right .icon-badge {
    height: 20px;
  }

  .settings .language .selector .options {
    z-index: 12;
  }
}

section.deal {
  padding: 12px;

  .header {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 16px;
  }

  .header .deal-id strong {
    color: var(--accent-primary);
  }

  .header .steps {
    margin-top: 1em;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .header .steps .step {
    flex: 1;
    text-align: center;
  }

  .header .steps::before {
    content: '';
    position: absolute;
    top: 25%;
    height: 4px;
    width: 100%;
    background: var(--border);
  }

  .header .steps .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #334155;
  }

  &[data-status="pending"] .step.accepted .circle {
    background: var(--accent-success);
  }

  &[data-status="pending"] .step.transfered .circle {
    background: var(--accent-primary);
  }

  &[data-status="delivered"] .step.accepted .circle,
  &[data-status="delivered"] .step.transfered .circle {
    background: var(--accent-success);
  }

  &[data-status="delivered"] .step.delivered .circle {
    background: var(--accent-primary);
  }

  &[data-status="ended"] .step.accepted .circle,
  &[data-status="ended"] .step.transfered .circle,
  &[data-status="ended"] .step.delivered .circle,
  &[data-status="ended"] .step.released .circle {
    background: var(--accent-success);
  }

  &[data-status="cancelled"] .step.accepted .circle {
    background: var(--accent-success);
  }

  &[data-status="cancelled"] .step.released .circle {
    background: var(--accent-danger);
  }

  &[data-status="dispute"] .step.accepted .circle,
  &[data-status="dispute"] .step.transfered .circle,
  &[data-status="dispute"] .step.delivered .circle,
  &[data-status="dispute"] .step.released .circle {
    background: var(--accent-warning);
  }

  .header .note {
    display: none;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    color: #fcd34d;
    margin-top: 8px;
  }

  &[data-status="pending"] .note,
  &[data-status="delivered"] .note,
  &[data-status="dispute"] .note {
    display: block;
  }

  .header .timer {
    margin-top: 0.5em;
  }

  .header .timer .bar {
    --progress: 100%;
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
  }

  .header .timer .bar::after {
    content: "";
    position: absolute;
    height: 6px;
    width: var(--progress);
  }

  &[data-status="confirmation"] .header .timer .bar::after {
    background: #fbbf24;
  }

  &[data-status="pending"] .header .timer .bar::after {
    background: #60a5fa;
  }

  &[data-status="delivered"] .header .timer .bar::after {
    background: #22d3ee;
  }

  .product .description {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    text-overflow: unset;
    max-height: 100px;
    overflow-y: auto;
    overflow-wrap: break-word;
    ~
  }

  .product .details {
    margin-top: 12px;
    padding: 8px 0 0 0;
    border-top: 1px solid var(--border);
  }

  .product .chat {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    height: 60vh;
  }

  .product .details .detail {
    width: calc(50% - 0.25em);
  }

  .chat {
    background: var(--bg-tertiary);
    border-radius: 16px;
  }

  .chat .messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    min-height: 400px;
  }

  .chat .message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: var(--bg-card);
  }

  .chat .message.seller .name {
    color: #2bd691;
  }

  .chat .message.buyer .name {
    color: #3b82f6;
  }

  .chat .message.admin .name {
    color: #fdba74;
  }

  .chat .message.system {
    align-self: center;
    background: transparent;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75em;
  }

  .message.self {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 18px;
  }

  .chat .writter {
    padding: 12px;
  }

  .chat .writter input {
    flex: 1;
    background: #0f172a;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    color: white;
    font-size: 14px;
  }

  .chat .writter .sender {
    background: #0f172a;
    border-radius: 50%;
    width: 36px;
    height: 36px;
  }

  .chat .writter .sender svg {
    height: 24px;
    width: 24px;
    stroke-width: 2;
  }

  .actions {
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }

  .actions button {
    flex: 1;
    padding: 14px;
  }
}

section.disputes {
  padding: 1em 0.5em;

  .label {
    font-size: 22px;
    font-weight: 600;
    align-self: center;
  }
}

.mini-window.deal-confirm-delivery,
.mini-window.deal-confirm-dispute {
  .wrapper {
    gap: 1.5em;
  }
}

.mini-window.product-purpose {
  .header {
    margin-bottom: 16px;
  }

  .header .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
  }

  .header .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header .icon::after {
    content: "📦";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-size: 28px;
    inset: 0;
  }

  .header .icon:has(> img)::after {
    display: none;
  }

  .description {
    background: var(--bg-card);
    padding: 8px;
    border-radius: 12px;
    max-height: 100px;
    overflow-y: auto;
    overflow-wrap: break-word;
  }

  .subtitle {
    margin-bottom: 18px;
  }

  .ton-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--ton-blue);
    margin-bottom: 4px;
  }

  .ton-amount svg {
    color: var(--ton-blue);
    height: 24px;
    width: 24px;
  }

  .form {
    background: #1e293b;
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .warning {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    color: #fcd34d;
    margin-bottom: 10px;
  }

  input {
    background: transparent;
    border: none;
    max-width: 100px;
    text-align: right;
  }

  button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #3b82f6;
  }
}

.mini-window.wallet-deposit,
.mini-window.wallet-withdraw {
  .wrapper {
    gap: 0.5em;
  }

  button {
    margin-top: 1.5em;
  }
}

.mini-window.categories-filter,
.mini-window.market-filter,
.mini-window.sorting-filter {
  .wrapper {
    flex: 1;
    gap: 0.5em;
    overflow-y: auto;
  }

  .wrapper .sublist {
    height: 100%;
    overflow-y: auto;
  }
}

.mini-window.categories-filter {
  .window {
    max-height: 75vh;
  }
}

.mini-window.market-filter,
.mini-window.sorting-filter {
  .wrapper button {
    margin-top: 2em;
  }
}

.mini-window.sorting-filter .wrapper {
  overflow: visible;
}

.mini-window.create-item,
.mini-window.product-edit {
  .forms {
    overflow-y: auto;
  }

  .form-group .form-item {
    flex: 1 0;
  }

  .form-item .name {
    font-size: 1.15em;
  }

  .error {
    color: var(--accent-danger);
  }

  .selector .selected {
    border: 1px solid var(--border);
    border-radius: 0.625em;
  }

  .selector .options {
    max-height: 250px;
    overflow-y: auto;
    background: var(--border);
  }

  .selector.error-state .selected {
    border: 1px solid var(--accent-danger);
  }

  .description textarea {
    height: 100px;
  }

  .info .ton-amount .value,
  .info .ton-amount svg {
    color: var(--accent-primary);
  }

  .info .ton-amount .fiat {
    font-size: 1em;
  }

  button.confirm {
    margin-top: 1em;
  }

  .buttons {
    margin-top: 1em;
  }

  .buttons button {
    width: calc(50% - 0.25em);
  }
}

/* Animations */
@keyframes PulseConfirmation {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.35);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(251, 146, 60, 0);
  }
}

@keyframes WavePending {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes DeliveredRun {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

@keyframes DeliveredLine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes PulseDispute {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(214, 66, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(214, 66, 255, 0);
  }
}