/* ARIDES customer order actions — CSS only */

.arides-order-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin-top: 14px;
}

.arides-order-actions .arides-order-action {
  width: 100%;
  min-height: 46px;
  padding: 0 14px !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;

  box-sizing: border-box;
  cursor: pointer;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.arides-order-actions .arides-order-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(20, 40, 65, .10);
}

.arides-order-actions .arides-order-action:active {
  transform: translateY(0);
}

/* Card payment */
.arides-order-actions .arides-order-pay {
  background: linear-gradient(
    135deg,
    #29c46a 0%,
    #19ad5b 100%
  ) !important;

  color: #fff !important;
  border: 1px solid #18a857 !important;
}

/* Bank transfer */
.arides-order-actions .arides-bank-transfer-button {
  background: linear-gradient(
    135deg,
    #eef7ff 0%,
    #dcefff 100%
  ) !important;

  color: #145f8f !important;
  border: 1px solid #b9dcf4 !important;
}

/* PDF invoice = third action */
.arides-order-actions .arides-order-action:nth-child(3) {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3f5f8 100%
  ) !important;

  color: #24364d !important;
  border: 1px solid #d5dde6 !important;
}

/* Tracking = fourth action */
.arides-order-actions .arides-order-action:nth-child(4) {
  background: linear-gradient(
    135deg,
    #eaf9ef 0%,
    #d9f4e2 100%
  ) !important;

  color: #167746 !important;
  border: 1px solid #b8e3c7 !important;
}

@media (max-width: 620px) {
  .arides-order-actions {
    grid-template-columns: 1fr;
  }

  .arides-order-actions .arides-order-action {
    min-height: 44px;
  }
}
