/* Berlin History Museum Discount Demo Styles */

/* Override to museum blue/gold theme */
:root {
  --primary: #1e3a5f;
  --primary-hover: #152a45;
  --accent: #c9a227;
}

/* Header styling */
header {
  background: var(--primary) !important;
  border-bottom: 3px solid var(--accent) !important;
}

header .logo {
  color: white !important;
}

header .slogan {
  color: rgba(255, 255, 255, 0.9) !important;
}

header .badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.logo-icon {
  font-size: 1.75rem;
  margin-right: 0.25rem;
}

/* Museum Hero */
.museum-hero {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: white;
}

@media (max-width: 640px) {
  .museum-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.museum-image {
  flex-shrink: 0;
  width: 120px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* CSS Art Museum Building */
.building-art {
  position: relative;
  width: 100px;
  height: 80px;
}

.pillar {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 50px;
  background: linear-gradient(90deg, #c9a227 0%, #e8d48b 50%, #c9a227 100%);
  border-radius: 2px 2px 0 0;
}

.pillar:nth-child(1) { left: 10px; }
.pillar:nth-child(2) { left: 42px; }
.pillar:nth-child(3) { left: 74px; }

.roof {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100px;
  height: 25px;
  background: linear-gradient(180deg, #c9a227 0%, #a08020 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.museum-info {
  flex: 1;
}

.museum-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.museum-hero h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: white;
}

.museum-subtitle {
  opacity: 0.9;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.museum-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Ticket Options */
.ticket-options {
  margin-bottom: 1.5rem;
}

.ticket-options h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.ticket-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.ticket-card:hover {
  border-color: var(--primary);
}

.ticket-info {
  flex: 1;
}

.ticket-type {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ticket-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ticket-price .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* Resident Ticket Highlight */
.resident-ticket {
  position: relative;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border-color: var(--accent);
}

.resident-badge {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.price.discounted {
  color: #16a34a;
}

.savings-tag {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: #16a34a;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Info Boxes */
.discount-info {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.discount-info strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.discount-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.privacy-highlight {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.privacy-highlight strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #166534;
}

.privacy-highlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.skip-text {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.skip-text a {
  color: var(--text-muted);
  text-decoration: none;
}

.skip-text a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Verification Section */
.data-info {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.data-info h3 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.data-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.data-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.data-icon {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}

.check-badge {
  background: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.not-shared {
  background: white;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
}

.not-shared h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.not-shared ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.not-shared li {
  margin-bottom: 0.25rem;
}

/* EUDI Badge */
.eudi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #003399, #0055cc);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.eu-flag {
  font-size: 1.25rem;
}

/* Success Section */
.success-header {
  text-align: center;
  margin-bottom: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.success-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Discount Applied Card */
.discount-applied {
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.discount-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--accent);
}

.bear-icon {
  font-size: 2.5rem;
}

.discount-visual span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.strikethrough {
  text-decoration: line-through;
  color: var(--text-muted);
}

.discount-row {
  color: #16a34a;
}

.discount-amount {
  font-weight: 600;
}

.total-row {
  padding-top: 0.75rem;
  border-top: 1px solid var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.final-price {
  color: #16a34a;
  font-size: 1.25rem;
}

/* Verified Data Card */
.verified-data-card {
  background: #f0fdf4;
  border: 2px solid var(--success);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.verified-data-card h3 {
  font-size: 1rem;
  color: var(--success);
  margin-bottom: 1rem;
}

.verified-data-list {
  display: grid;
  gap: 0.75rem;
}

.verified-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #bbf7d0;
  font-size: 0.9rem;
}

.verified-item:last-child {
  border-bottom: none;
}

.verified-item .label {
  color: var(--text-muted);
}

.verified-item .value {
  font-weight: 600;
}

/* Ticket Preview */
.ticket-preview {
  margin-bottom: 1.5rem;
}

.ticket-stub {
  background: white;
  border: 2px dashed var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
}

.stub-header {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
}

.stub-museum {
  font-weight: 700;
  font-size: 0.9rem;
}

.stub-exhibit {
  font-size: 0.8rem;
  opacity: 0.9;
}

.stub-body {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
}

.stub-type {
  font-weight: 700;
  color: var(--primary);
}

.stub-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
}

.stub-footer {
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
}

/* Not Berlin Section */
.info-header {
  text-align: center;
  margin-bottom: 2rem;
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
}

.info-subtitle {
  color: var(--text-muted);
}

.verified-city {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius);
  color: #92400e;
  font-weight: 500;
  font-size: 0.9rem;
}

.still-welcome {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.welcome-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.still-welcome h3 {
  margin-bottom: 0.5rem;
}

.still-welcome p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.regular-ticket-offer {
  margin-bottom: 1.5rem;
}

.ticket-mini {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-label {
  font-weight: 600;
}

.ticket-price-mini {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
