/* Basic host styling */
:host {
  display: block;
}

/* Basic reset for elements used */
p,
h2 {
  margin: 0;
}

/* Styles specific to the offer view */
.offer-view {
  background-color: white; /* Specific to this view */
  padding: 0.5rem 1rem;
  border-radius: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-8); /* Specific gap for this view */
}

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

.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-view p {
  font-size: 0.875rem;
  color: var(--primary-black);
}

/* Shared button container style */
.buttons-container {
  display: flex;
  justify-content: space-between;
  gap: var(--space-12);
}

/* General button styles (can be shared or moved to global styles later) */
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; /* Buttons share space equally in this view */
  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;
}
