* {
  box-sizing: border-box;
}

:host {
  background: var(--card-background-color);
  border-radius: 0.5rem;
  text-align: center;
  margin: auto;
  font-size: var(--space-14);
  border: 0.05rem solid var(--border-color);
  padding: 0.5rem;
}

h2,
p,
ol {
  margin: 0;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e0f7e9;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.check-icon {
  font-size: 2rem;
  color: #28a745;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-black);
}

.reference {
  font-size: 0.875rem;
  color: #666;
  margin: 0.2rem 0 1rem;
}

.instruction-section {
  background-color: #eff6ff;
  padding: 1rem;
  border-radius: var(--space-12);
}

.steps {
  text-align: left;
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  border-bottom: 0.05rem solid var(--border-color);
}

.steps li {
  display: flex;
  align-items: start;
  margin-bottom: 0.5rem;
}

.step-number {
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
  width: 1.5rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  font-weight: 600;
  color: var(--primary-blue);
  margin-right: 0.5rem;
  background-color: var(--bg-blue);
}

.refund-info {
  font-size: var(--space-12);
  color: #555;
  margin-top: 0.5rem;
}

.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
}

button {
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-size: var(--space-14);
  font-family: 'Poppins', serif;
  cursor: pointer;
  border: none;
}

.primary {
  background: var(--primary-blue);
  color: white;
}

.secondary {
  background: #f8f9fa;
  color: #333;
  border: 0.05rem solid var(--border-color);
}

@media (width < 48rem) {
  button {
    font-size: var(--space-12);
  }
}
