.wcav-flow {
  margin: 1.25rem 0;
}

.wcav-section {
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.wcav-section h3,
.wcav-section h4 {
  margin-top: 0;
}

.wcav-form {
  display: grid;
  gap: 0.75rem;
}

.wcav-form input,
.wcav-form select,
.wcav-form textarea {
  width: 100%;
  max-width: 100%;
}

.wcav-grid {
  grid-template-columns: 1fr;
}

.wcav-notice,
.wcav-warning,
.wcav-success {
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.wcav-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.wcav-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.wcav-success {
  background: #ecfdf3;
  border: 1px solid #86efac;
}

.wcav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.wcav-account-header {
  margin-bottom: 1rem;
}

.wcav-account-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.wcav-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wcav-meta-grid > div {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem;
  background: #fafafa;
}

.wcav-orders-table-wrap {
  overflow-x: auto;
}

.wcav-order-items-wrap {
  margin-bottom: 1.15rem;
}

.wcav-orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.wcav-orders-table th,
.wcav-orders-table td {
  border: 1px solid #e4e4e7;
  padding: 0.55rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.wcav-orders-table th {
  background: #fafafa;
}

.wcav-identity-status {
  margin-top: 0.75rem;
}

.wcav-identity-status.is-error {
  color: #b91c1c;
}

@media (min-width: 800px) {
  .wcav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wcav-grid button {
    grid-column: 1 / -1;
  }

  .wcav-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wcav-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
