body {
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.container h1 {
  font-size: 32px;
  color: white;
  text-align: center;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #e02424, #1f2937);
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reward-comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.reward-comparison thead {
  background-color: #f5f5f5;
  text-align: left;
}

.reward-comparison th,
.reward-comparison td {
  padding: 12px 16px;
  border: 1px solid #ddd;
}

.reward-comparison th {
  font-weight: bold;
  color: #333;
}

.reward-comparison tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.reward-comparison .highlight {
  font-weight: bold;
  color: #0073e6;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .reward-comparison th,
  .reward-comparison td {
    white-space: nowrap;
  }
}

.landing-section {
  margin-bottom: 40px;
}

.landing-block {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 32px;
  background-color: #dfefff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.landing-left, .landing-right {
  flex: 1;
}

.landing-left h2, .landing-right h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
  text-align: center;
}

.landing-left p, .landing-right p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.5;
  text-align: justify;
}

.login-prompt {
  text-align: center;
  padding: 16px;
  background-color: #fef2f2;
  border-radius: 8px;
  margin-bottom: 24px;
}

.login-prompt p {
  color: #b91c1c;
  font-size: 18px;
}

.mock-content {
  margin-bottom: 40px;
}

.mock-content h2 {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 16px;
}

.benefit-card {
  background-color: #f9fafb;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 8px;
}

.benefit-card p {
  color: #4b5563;
  margin-bottom: 12px;
}

.contact-section {
  text-align: center;
  padding: 24px;
  background-color: #dfefff;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.contact-section p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 16px;
}

.contact-button {
  display: inline-block;
  background-color: #e02424;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #c01818;
}

.copyright {
  text-align: center;
  padding: 16px 0;
  font-size: 1rem;
  color: #000000;
}

#loyalty-widget-button {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #e02424;
  color: white;
  padding: 12px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

#loyalty-widget-button:hover {
  background-color: #c01818;
}

#loyalty-widget-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100vh;
  background-color: white;
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
}

#loyalty-widget-panel.open {
  transform: translateX(0);
}

#loyalty-widget-panel .panel-content {
  padding: 15px;
  height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
}

#loyalty-widget-panel .panel-content.scrollable::after {
  content: '';
  
  bottom: 0;
  left: 0;
  right: 0;
  
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

#loyalty-widget-panel .panel-content::-webkit-scrollbar {
  width: 8px;
}

#loyalty-widget-panel .panel-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#loyalty-widget-panel .panel-content::-webkit-scrollbar-thumb {
  background: #e02424;
  border-radius: 4px;
}

#loyalty-widget-panel .panel-content::-webkit-scrollbar-thumb:hover {
  background: #c01818;
}

#loyalty-widget-panel .close-button {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: #4b5563;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  z-index: 1002;
}

#loyalty-widget-panel .close-button:hover {
  background-color: #e02424;
  color: white;
  border-color: #e02424;
}

#loyalty-widget-panel h2 {
  font-size: 24px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: center;
}

.login-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-section input {
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 16px;
}

.login-section button {
  background-color: #e02424;
  color: white;
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-section button:hover {
  background-color: #c01818;
}

.login-error {
  color: #b91c1c;
  font-size: 14px;
  text-align: center;
  margin-top: -8px;
}

.promo-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-intro {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
}

.promo-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #e0eefd;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.promo-benefit .promo-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.promo-benefit div {
  flex: 1;
}

.promo-benefit h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.promo-benefit p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 4px 0 0;
}

.promo-cta {
  font-size: 16px;
  color: #1f2937;
  text-align: center;
  font-style: italic;
}

.tier-section {
  margin-bottom: 24px;
}

.tier-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.tier-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tier.placeholder {
  visibility: hidden;
}

.tier-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
}

.tier-smart { background-color: #cd7f32; color: white; }
.tier-smart-connect { background-color: #d4af37; color: white; }
.tier-locked { background-color: #d1d5db; color: #4b5563; }

.tier p {
  font-size: 14px;
  margin-top: 4px;
  color: #000000;
}

.benefits-section {
  margin-bottom: 24px;
}

.benefits-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.benefits-list li::before {
  content: "✓";
  color: #e02424;
  position: absolute;
  left: 0;
  top: 0;
}

.sbb-status-section {
  margin-bottom: 24px;
}

.sbb-status-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.sbb-status-section p {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 8px;
}

.sbb-status-button {
  background-color: #e02424;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.sbb-status-button:hover {
  background-color: #c01818;
}

.offers-section {
  margin-bottom: 24px;
}

.offers-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

.offer-card {
  background-color: #e0eefd;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offer-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.offer-card p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}

.offer-button {
  background-color: #e02424;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.offer-button:hover {
  background-color: #c01818;
}

.countdown-timer {
  font-size: 14px;
  color: #e02424;
  text-align: center;
  margin-top: 12px;
}

.logout-button {
  background-color: #e02424;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s;
}

.logout-button:hover {
  background-color: #c01818;
}

.privacy-notice {
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  margin-top: 16px;
}

.privacy-notice a {
  color: #e02424;
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  #loyalty-widget-panel {
    width: 100%;
  }
  .container {
    padding: 16px;
  }
  .landing-block {
    flex-direction: column;
    gap: 16px;
  }
}