@import '../../button-template.css';

.promotion-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;

  &.open {
    opacity: 1;
    visibility: visible;
  }
}

.promotion-dialog {
  background: var(--dlg-bg, white);
  border: 1.5px solid var(--dlg-border, #ddd);
  border-radius: 4px;
  box-shadow: var(--bb-glow, 0 4px 16px rgba(0, 0, 0, 0.2));
  max-width: 400px;
  width: 90%;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promotion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--bb-border, #e0e0e0);

  h3 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--bb-title, #333);
  }
}

.promotion-body {
  padding: 20px;
}

.promotion-prompt {
  margin: 0 0 20px 0;
  text-align: center;
  color: var(--bb-title);
  opacity: 0.8;
  font-size: 14px;
}

.promotion-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
