/* Basis & Container */
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Century Gothic', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.container {
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
}

/* Utility Margin-Classes */
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }

/* Logo */
.logo {
  max-width: 150px;
  margin: 0 auto 1.5rem;
  display: block;
}

/* Panels & Cards */
.card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* LOGIN-Panel */
.login-card {
  max-width: 380px;
  margin: 3rem auto 2rem;
  background: #222;
  padding: 2rem;
  text-align: center;
}
.login-card h2 {
  margin-bottom: 1.5rem;
}
.login-card .error-message {
  margin-bottom: 1rem;
  text-align: center;
}
.login-card input[type="email"] {
  width: 80%;
  max-width: 300px;
  padding: 0.75rem;
  margin: 0 auto 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background: #fff;
  color: #000;
  display: block;
}
.login-card .button {
  margin: 0 auto;
  display: block;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  border-radius: 0.5rem;
}
.login-card .button:hover {
  background: #fff;
  color: #000;
}

/* Buttons (Dashboard) */
.button,
.button-small,
.share-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  border-radius: 0.5rem;
}
.button {
  padding: 0.75rem 1.5rem;
}
.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.button:hover,
.button-small:hover,
.share-btn:hover {
  background: #fff;
  color: #000;
}

/* Hide */
.hidden {
  display: none;
}

/* Language Toggle */
.language-toggle {
  margin-bottom: 1.5rem;
}
.lang-button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.25rem 0.75rem;
  margin: 0 0.25rem;
  cursor: pointer;
  border-radius: 0.5rem;
}
.lang-button:hover {
  background: #fff;
  color: #000;
}

/* Loyalty-Blocks & Arrow */
.loyalty-blocks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 600px) {
  .loyalty-blocks {
    flex-direction: row;
    justify-content: center;
  }
}

/* Arrow responsive: only desktop */
.arrow-container {
  font-size: 2rem;
  align-self: center;
  margin: 0 1rem;
  display: none;
}
@media (min-width: 600px) {
  .arrow-container { display: block; }
}

/* Status Cards */
.loyalty-card {
  width: 280px;
  min-height: 360px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icons */
.status-icon {
  display: block;
  margin-bottom: 1rem;
  max-width: 120px;
  height: auto;
}

/* Titles */
.loyalty-card h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Texts and lists */
.loyalty-card p,
.loyalty-card ul {
  width: 100%;
  margin: 0.25rem 0;
  text-align: left;
}
.loyalty-card ul {
  list-style: none;
  padding: 0;
}
.loyalty-card ul li {
  margin-bottom: 0.5rem;
}

/* Divider */
hr.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cards Header & Sort */
.cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cards-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.sort-controls {
  display: flex;
  gap: 0.5rem;
}

/* Orders & Grids */
.order-section {
  margin-bottom: 2rem;
}
.order-section h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.cards-grid .card { text-align: center; }

/* Error Message */
.error-message {
  color: #f44336;
  font-size: 0.9rem;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  height: 1rem;
  position: relative;
  margin: 1.5rem 0;
}
.progress-bar {
  height: 100%;
  background: #fff;
  border-radius: 0.5rem;
  width: 0%;
  transition: width 0.5s ease;
}

/* Benefit Tooltips */
.benefit-item { position: relative; cursor: help; }
.benefit-item:hover::after {
  content: attr(data-info);
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Share Button */
.share-btn {
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
  text-transform: uppercase;
}
.share-btn:hover {
  background: #fff;
  color: #000;
}

/* Footer */
footer {
  text-align: center;
  margin: 2rem 0;
}

/* Help-Text (neu) */
.help-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* Contact Button */
footer .button {
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
}

/* Rabatt- & Versandrabatte Section */
.discount-blocks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 600px) {
  .discount-blocks {
    flex-direction: row;
    justify-content: center;
  }
}
.discount-card,
.shipping-card {
  width: 280px;
}
.discount-card h2,
.shipping-card h2 {
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Code Entries */
.code-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.code-input {
  flex: 1;
  padding: 0.5rem;
  background: #222;
  border: 1px solid #fff;
  border-radius: 0.25rem;
  color: #fff;
}
.copy-btn {
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.copy-btn:hover {
  background: #43a047;
}