/* ========================================
   LAST ORDER
======================================== */

.pos-last-order {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  max-width: 1120px;

  margin:
    0
    auto
    26px;

  padding:
    15px
    16px;

  background: var(--color-surface);

  border:
    1px
    solid
    var(--color-border);

  border-radius: var(--radius-md);

  box-shadow:
    0 2px 10px rgba(16, 24, 40, 0.04);
}

.pos-last-order-content {
  display: flex;
  align-items: center;

  gap: 13px;

  min-width: 0;
}

.pos-last-order-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  background: var(--color-success-light);

  border-radius: 50%;

  color: var(--color-success);

  font-size: 13px;
  font-weight: 850;
}

.pos-last-order-information {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.pos-last-order-label {
  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 750;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}

.pos-last-order-information strong {
  color: var(--color-text);

  font-size: 13px;
}

.pos-last-order-meta {
  color: var(--color-text-muted);

  font-size: 10px;
}

.pos-last-order-actions {
  display: flex;
  align-items: center;

  gap: 8px;

  flex-shrink: 0;
}

.pos-last-order-actions form {
  margin: 0;
}

.pos-last-order-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;

  padding:
    0
    12px;

  color: var(--color-text-muted);

  font-size: 10px;
  font-weight: 750;

  text-decoration: none;
}

.pos-last-order-view:hover {
  color: var(--color-text);
}

.pos-last-order-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;

  padding:
    0
    12px;

  background: var(--color-danger-light);

  border:
    1px
    solid
    var(--color-danger-border);

  border-radius: var(--radius-xs);

  color: var(--color-danger);

  font: inherit;
  font-size: 10px;
  font-weight: 750;

  cursor: pointer;

  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.pos-last-order-cancel:hover {
  transform: translateY(-1px);
}

@media (max-width: 650px) {
  .pos-last-order {
    align-items: stretch;
    flex-direction: column;

    gap: 14px;
  }

  .pos-last-order-actions {
    width: 100%;
  }

  .pos-last-order-actions form {
    flex: 1;
  }

  .pos-last-order-cancel {
    width: 100%;
  }
}
