* {
  box-sizing: border-box;
}

:host {
  display: block;
}

h2,
h3,
p {
  margin: 0;
}

/* p {
  font-size: 0.875rem;
  color: var(--primary-black);
} */

.initial-view,
.success-view {
  background-color: #eff6ff;
  padding: 0.5rem 1rem;
  border-radius: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* .initial-view h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-black);
} */

.benefits-content {
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  font-size: 0.875rem;
  color: var(--primary-black);
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  flex: 1;
  font-family: var(--ism-primary-font-family);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

button.primary:hover {
  background-color: #001943;
}

button.secondary {
  background-color: white;
  border: 1px solid var(--border-color);
  color: #333;
}

/* reason-selection-view styling */

.reason-selection-view,
.thanks-card,
.alternatives-view {
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-14);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-left: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--primary-black);
  font-size: 0.875rem;
}

.radio-option {
  display: flex;
  align-items: center;
}

.radio-option input[type='radio'] {
  width: 1rem;
  height: 1rem;
  margin-right: 10px;
}

.alternative-option {
  display: flex;
  flex-direction: column;
}

.option-header {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.alternative-option p {
  font-size: 0.875rem;
  color: var(--primary-black);
  margin: 0.25rem 0 0.75rem;
}

.option-header svg {
  color: var(--primary-blue);
  width: 1.25rem;
  height: 1.25rem;
}

.option-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-black);
}

.offer-view {
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.offer-view p {
  font-size: 0.875rem;
  color: var(--primary-black);
}

.offer-header h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.offer-header .off {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* formView  */

.form-view {
  background-color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.form-view h2 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-black);
}

.form-view textarea {
  width: 100%;
  height: 7rem;
  padding: var(--space-8);
  border-radius: var(--space-8);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--primary-black);
  resize: none;
  font-size: 0.875rem;
  font-family: var(--ism-primary-font-family);
}

/* success view */

.success-view h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-blue);
  text-align: center;
}

.success-view p {
  font-size: 0.875rem;
  color: var(--primary-black);
}

.thanks-card h2 {
  color: #008000;
  font-size: 1rem;
  font-weight: 500;
}

subscription-info-card::part(title) {
  font-size: 0.875rem;
}

subscription-info-card .subscription-content {
  font-size: 0.75rem;
  color: var(--text-secondary-color);
}
