/* src/styles/toast.css */

/* ⭐ Toast-Container für Stapel-Effekt */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none; /* Container blockiert keine Klicks */
}

/* ⭐ Einzelner Toast */
.toast {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 500px;
  animation: slideIn 0.3s ease-out;
  pointer-events: auto; /* Toast selbst ist klickbar */
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.toast__message {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.toast__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-medium);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast__close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

/* Toast Types */
.toast--success {
  border-left: 4px solid #4caf50;
}

.toast--error {
  border-left: 4px solid #f44336;
}

.toast--warning {
  border-left: 4px solid #ff9800;
}

.toast--info {
  border-left: 4px solid #2196f3;
}
/* src/styles/components/loading.css */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.loading-overlay__content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-overlay__spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-primary);
  animation: spin 1s linear infinite;
}

.loading-overlay__message {
  font-size: 1.2rem;
  color: var(--color-text);
  margin: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}/* src/styles/layout.css */

/* Main Layout Container */
.main-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

/* Header Styles */
.main-layout__header {
  background: var(--bg-gradient);
  padding: 1rem 2rem;
  box-shadow: var(--shadow-md);
}

.main-layout__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative; /* Für absolutes Hamburger-Menü */
}

.main-layout__logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-layout__logo {
  font-size: 1.75rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.main-layout__logo:hover {
  transform: scale(1.05);
}

.main-layout__build-hash {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: normal;
  margin-top: 0.25rem;
}

/* Right side container */
.main-layout__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* User Info */
.main-layout__user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.main-layout__role-badge {
  background: #fbbf24;
  color: #000;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}

.main-layout__user-name {
  font-size: 1rem;
}

/* Hamburger Button */
.main-layout__hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-layout__hamburger:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger Menu */
.main-layout__hamburger-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.main-layout__menu-item {
  background: none;
  border: none;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  text-align: left;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.main-layout__menu-item:hover {
  background-color: #667eea;
  color: #ffffff;
  font-weight: bold;
}

.main-layout__menu-item--active {
  background-color: #4a5568;
  color: #a0aec0;
  cursor: not-allowed;
  font-weight: bold;
}

.main-layout__menu-item--active:hover {
  background-color: #4a5568;
  color: #a0aec0;
}

.main-layout__logout {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* Link Button Styles */
.main-layout__link-button {
  background: none;
  border: none;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.main-layout__link-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Menu Container - REMOVED: Now using hamburger menu */
/* .main-layout__menu { ... } */

/* User Info Badge */
.main-layout__user-info {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Logout Button */
.main-layout__logout-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-layout__logout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Main Content */
.main-layout__main {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative; /* Für absolute Positionierung der Sperre */
}

/* Game-Seite spezielle Styles */
.main-layout__main--game {
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  max-width: none;
  margin: 0;
}

/* Footer Styles */
.main-layout__footer {
  background: white;
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 1024px) {
  .main-layout__menu {
    gap: 0.5rem;
  }
  
  .main-layout__menu a,
  .main-layout__user-info,
  .main-layout__logout-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-layout__nav:not(.main-layout__nav--home) {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-layout__menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .main-layout__logo {
    font-size: 1.5rem;
  }
  
  .main-layout__main {
    padding: 0;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .footer-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-links-desktop {
    display: none;
  }
  
  /* Support Modal für kleine Geräte */
  .modal-content--support {
    max-width: 90vw !important;
  }
  
  .form-group--inline {
    flex-direction: column !important;
    align-items: flex-start;
  }
  
  .form-group--inline label {
    min-width: auto;
    text-align: left !important;
  }
  
  .form-group select,
  .form-group input {
    width: 100%;
  }
}

/* Footer Styles */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-mobile {
  display: none;
}

.footer-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
}

.footer-link:hover {
  color: var(--text-primary);
}

.footer-link-inline {
  display: inline;
  padding: 0;
}

.footer-separator {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
  max-width: 90vw;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.modal-content--wide {
  max-width: 90vw !important;
}
.modal-content--support {
  /* Standard für kleine Geräte */
  max-width: 90vw !important;
}

/* Für Tablet/Desktop */
@media (min-width: 769px) {
  .modal-content--support {
    max-width: 75vw !important;
  }
}

/* Modal Close Button */
.modal-close {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-close--top-right {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  width: 40px;
  height: 40px;
}

/* Support Form */
.support-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--inline {
  flex-direction: row;
  /*align-items: center;*/
  gap: 1rem;
  text-align: left;
}

.form-group--inline label {
  min-width: 140px;
  flex-shrink: 0;
}

.form-group--full {
  /* Label oben, textarea darunter */
  text-align: left;
}

.form-group--full textarea {
  width: 100%;
  resize: vertical;
  min-height: 80px; /* 4 Zeilen */
  overflow-x: auto;
  word-wrap: break-word;
}

.char-counter {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: right;
  margin-top: 0.25rem;
}

.muted-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
}

.form-group select,
.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text-primary);
}
.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body-scroll {
  max-height: 45vh;
  overflow-y: auto;
}

.modal-form-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.modal-form-group label {
  min-width: 120px;
  font-weight: 600;
  color: var(--text-dark);
}

.modal-form-group input,
.modal-form-group select {
  flex: 1;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.modal-note {
  font-size: 0.9em;
  color: #888;
  margin-top: 2em;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.support-form select,
.support-form input,
.support-form textarea {
  border: 1px solid var(--primary-green);
  border-radius: var(--radius-md);
}
textarea#support-message {
  resize: none;
}/* src/components/OrientationGuard.css */

.orientation-guard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: white;
}

.orientation-guard__content {
    text-align: center;
    max-width: 400px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.orientation-guard__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.orientation-guard__title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.orientation-guard__message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.orientation-guard__hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    .orientation-guard__content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .orientation-guard__icon {
        font-size: 3rem;
    }

    .orientation-guard__title {
        font-size: 1.25rem;
    }

    .orientation-guard__message {
        font-size: 0.9rem;
    }
}/* src/styles/pages/home.css */

.home {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.home__hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem 2rem;
  background: var(--bg-gradient);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-lg);
}

.home__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.home__subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  font-weight: 400;
}

.home__nav {
  margin-top: 2rem;
}

.home__menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.home__menu li {
  width: 100%;
}

.home__menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 2rem; */
  background: var(--bg-card);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 120px; /* Mindesthöhe für Konsistenz */
  hyphens: auto;
  word-break: break-word;
}

.home__link-main {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.home__link-sub {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
  color: var(--text-muted);
}

.home__link--with-sub {
  padding: 1.5rem 2rem;
}

.home__menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 159, 94, 0.1), transparent);
  transition: left 0.5s ease;
}

.home__menu a:hover::before {
  left: 100%;
}

.home__menu a:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--primary-green-dark);
}

.home__menu a:active {
  transform: translateY(-2px);
}

/* ⭐ Button-Styles für Spiel-Buttons (sollen wie Links aussehen) */
.home__link-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  hyphens: auto;
  word-break: break-word;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.home__link-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 159, 94, 0.1), transparent);
  transition: left 0.5s ease;
}

.home__link-button:hover:not(:disabled)::before {
  left: 100%;
}

.home__link-button:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: var(--primary-green-dark);
}

.home__link-button:active:not(:disabled) {
  transform: translateY(-2px);
}

.home__link-button:disabled {
  opacity: 0.5;
  background: #f5f5f5 !important;
  border-color: #d0d0d0 !important;
  color: #999 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.home__link-button:disabled::before {
  display: none;
}

/* ⭐ Sektions-Header für Spiel-Gruppen */
.home__section-header {
  grid-column: 1 / -1; /* Spanne alle Spalten */
  margin: 1rem 0 0.5rem 0;
  padding: 0.5rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-border);
}

.home__section-header .home__link-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.home__section-header .home__link-sub {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ⭐ Aktive Spiel-Buttons (besonders hervorheben) */
.home__link-button--active {
  background: var(--primary-green-light, #e8f5e8);
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(45, 159, 94, 0.2);
}

.home__link-button--active:hover:not(:disabled) {
  background: var(--primary-green-lighter, #f0f9f0);
  border-color: var(--primary-green-dark);
  box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.3);
}

/* ⭐ Pausierte Spiel-Buttons (Pastellfarben zur Unterscheidung) */
.home__link-button--paused-1 {
  background: #e3f2fd; /* Pastell-Blau */
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.home__link-button--paused-1:hover:not(:disabled) {
  background: #f3f9ff;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.3);
}

.home__link-button--paused-2 {
  background: #f3e5f5; /* Pastell-Lila */
  border-color: #9c27b0;
  box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.2);
}

.home__link-button--paused-2:hover:not(:disabled) {
  background: #faf3fb;
  border-color: #7b1fa2;
  box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.3);
}

.home__link-button--paused-3 {
  background: #fff3e0; /* Pastell-Orange */
  border-color: #ff9800;
  box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.home__link-button--paused-3:hover:not(:disabled) {
  background: #fff8f0;
  border-color: #f57c00;
  box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.3);
}

.home__link-disabled::before {
  display: none;
}

/* ⭐ Span-Styles für disabled "Neues Spiel" (sollen wie Links aussehen) */
.home__link-disabled {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  hyphens: auto;
  word-break: break-word;
  width: 100%;
  opacity: 0.5;
  background: #f5f5f5 !important;
  border-color: #d0d0d0 !important;
  color: #999 !important;
}

/* ⭐ NEU: Gesperrte Links */
.home__link--locked {
  opacity: 0.5;
  background: #f5f5f5 !important;
  border-color: #d0d0d0 !important;
  color: #999 !important;
  cursor: not-allowed;
}

.home__link--locked:hover {
  opacity: 0.6;
  transform: translateY(-2px); /* Weniger Bewegung */
  border-color: #c0c0c0 !important;
  box-shadow: var(--shadow-sm) !important;
}

.home__link--locked::before {
  display: none; /* Kein Shine-Effekt */
}

/* Icon styling (falls du Icons hinzufügst) */
.home__menu-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .home__title {
    font-size: 2.5rem;
  }
  
  .home__subtitle {
    font-size: 1.25rem;
  }
  
  .home__menu {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home__menu a {
    font-size: 1.1rem;
    padding: 1.5rem;
    min-height: 155px;
  }

  .home__link-button {
    font-size: 1.1rem;
    padding: 1.5rem;
    min-height: 155px;
  }

  .home__link-disabled {
    font-size: 1.1rem;
    padding: 1.5rem;
    min-height: 155px;
  }
}
/* src/styles/pages/forms.css */

/* Gemeinsame Styles für Login, Register, NewGame, VerifyEmail */
.login, .register, .newgame, .verify-email {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.login__container, .register__container, .newgame__container, .verify-email__container {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.login__title, .register__title, .newgame__title, .verify-email__title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
  text-align: center;
}

.login__subtitle, .register__subtitle, .newgame__subtitle, .verify-email__subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input {
  width: 100%;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-actions .btn {
  width: 100%;
}

.form-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-medium);
}

.form-link a {
  color: var(--primary-green);
  font-weight: 600;
}

.form-link a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

/* ⭐ NEU: Success/Error Messages */
.success-message {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #d4edda;
  color: #155724;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid #c3e6cb;
}

.error-message {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #fee;
  color: #c33;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid #fcc;
}

/* ⭐ Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dark);
  gap: 1.2rem;
  user-select: none;
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--bg-input);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  margin: 1rem 0;
  position: relative;
  font-size: 1rem;
  line-height: 1.4;
}

.checkbox-label:hover {
  border-color: var(--primary-green);
  background: var(--bg-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-label .checkmark {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  border: 2px solid var(--border-color);
  border-radius: 0.3rem;
  background: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.checkbox-label:hover .checkmark {
  border-color: var(--primary-green);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background: var(--primary-green);
  border-color: var(--primary-green);
  animation: checkPulse 0.3s ease;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
  content: '✓';
  color: white;
  font-size: 1rem;
  font-weight: bold;
  animation: checkmarkFadeIn 0.2s ease;
}

@keyframes checkPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes checkmarkFadeIn {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* Privacy Link Styles */
.privacy-link {
  background: none;
  border: none;
  color: var(--primary-green);
  text-decoration: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-weight: 600;
  position: relative;
  border: 1px solid transparent;
}

.privacy-link:hover {
  color: white;
  background: var(--primary-green);
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--primary-green);
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.privacy-link:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(34, 197, 94, 0.2);
}

.privacy-link:disabled {
  color: var(--text-medium);
  cursor: not-allowed;
  background: none;
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.privacy-link:disabled:hover {
  color: var(--text-medium);
  background: none;
  border-color: transparent;
}
/* src/styles/pages/forbidden.css */

.forbidden {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  padding: 2rem;
}

.forbidden__container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 100%;
}

.forbidden__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.forbidden__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.forbidden__message {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.forbidden__hint {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.forbidden__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.forbidden__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.forbidden__button--primary {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.forbidden__button--primary:hover {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.forbidden__button--secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.forbidden__button--secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .forbidden__container {
    padding: 2rem 1.5rem;
  }

  .forbidden__title {
    font-size: 2rem;
  }

  .forbidden__actions {
    flex-direction: column;
    align-items: center;
  }

  .forbidden__button {
    width: 100%;
    max-width: 200px;
  }
}/* src/styles/pages/regeln.css */

.regeln {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  color: var(--text-primary);
}

.regeln__back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.regeln__back-link:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.regeln h1 {
  color: var(--primary-green-dark);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.regeln h2 {
  color: var(--primary-green);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--primary-green-light);
  padding-bottom: 0.5rem;
}

.regeln h3 {
  color: var(--primary-green);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.regeln h4 {
  color: var(--primary-orange);
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-style: italic;
}

.regeln p {
  hyphens: auto;
}

.regeln strong {
  color: var(--primary-green-dark);
  font-weight: 600;
}

.regeln em {
  font-style: italic;
  color: var(--primary-orange);
}

.regeln ul, .regeln ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.regeln li {
  margin-bottom: 0.5rem;
}

.regeln__intro {
  background: linear-gradient(135deg, var(--background-light) 0%, rgba(76, 175, 80, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-green);
}

.regeln__grundlagen,
.regeln__ansagen,
.regeln__spielen,
.regeln__auswerten,
.regeln__glossar {
  margin-bottom: 2rem;
}

.regeln__sonderfall {
  background: rgba(255, 152, 0, 0.1);
  padding: 1rem;
  border-radius: 6px;
  border-left: 3px solid var(--primary-orange);
  margin: 1.5rem 0;
  margin-top: 3rem;
}

.regeln__glossar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--background-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.regeln__glossar-table th,
.regeln__glossar-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.regeln__glossar-table th {
  background: var(--primary-green);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.regeln__glossar-table tr:nth-child(even) {
  background: rgba(76, 175, 80, 0.02);
}

.regeln__glossar-table tr:hover {
  background: rgba(76, 175, 80, 0.05);
}

.regeln__glossar-table td:first-child {
  font-weight: 600;
  color: var(--primary-green-dark);
  width: 25%;
}

/* External Links */
.regeln__external-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.regeln__external-link:hover {
  color: var(--primary-orange-dark, #e65100);
  border-bottom-color: var(--primary-orange);
  text-decoration: none;
}

.regeln__external-link:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Placeholder Images */
.regeln__content-with-image {
  position: relative;
  margin-bottom: 1rem;
}

.regeln__image-wrapper {
  margin-bottom: 1rem;
}

.regeln__image-wrapper-left {
  float: left;
  margin-right: 1.5rem;
}

.regeln__image-wrapper-right {
  float: right;
  margin-left: 1.5rem;
}

.regeln__initial-image {
  border: 1px solid var(--primary-green);
  border-radius: 8px;
  width: 150px;
  height: 150px;
}

.regeln__text-content {
  /* overflow: hidden; entfernt - Float soll funktionieren */
}

.regeln__section-image {
  border: 1px solid var(--primary-green);
  border-radius: 8px;
  width: 150px;
  height: 150px;
}

.regeln__image-link {
  text-decoration: none;
  transition: transform 0.2s ease;
}

.regeln__image-link:hover {
  transform: scale(1.05);
}

/* Modal */
.regeln__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.regeln__modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.regeln__modal-image {
  width: 600px;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.regeln__modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.regeln__modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Image Captions */
.regeln__image-caption {
  clear: both;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.25rem;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .regeln {
    padding: 15px;
  }

  .regeln h1 {
    font-size: 2rem;
  }

  .regeln h2 {
    font-size: 1.5rem;
  }

  .regeln h3 {
    font-size: 1.2rem;
  }

  .regeln__glossar-table {
    font-size: 0.9rem;
  }

  .regeln__glossar-table th,
  .regeln__glossar-table td {
    padding: 0.8rem 0.5rem;
  }

  .regeln__intro {
    padding: 1rem;
  }

  .regeln p {
    text-align: justify;
  }

  .regeln__initial-image,
  .regeln__section-image {
    width: 90px;
    height: 90px;
  }

  .regeln__image-wrapper {
    width: 90px;
  }

  .regeln__modal-content {
    max-width: none;
    margin: 0 2px;
  }

  .regeln__modal-image {
    width: calc(100vw - 4px);
    height: auto;
  }
}/* src/styles/pages/notfound.css */

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  padding: 2rem;
}

.notfound__container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 100%;
}

.notfound__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.notfound__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.notfound__message {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.notfound__hint {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.notfound__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.notfound__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
}

.notfound__button--primary {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.notfound__button--primary:hover {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  transform: translateY(-2px);
}

.notfound__button--secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.notfound__button--secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .notfound__container {
    padding: 2rem 1.5rem;
  }

  .notfound__title {
    font-size: 2rem;
  }

  .notfound__actions {
    flex-direction: column;
    align-items: center;
  }

  .notfound__button {
    width: 100%;
    max-width: 200px;
  }
}/* src/styles/pages/servererror.css */

.servererror {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  padding: 2rem;
}

.servererror__container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
}

.servererror__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.servererror__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.servererror__message {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.servererror__hint {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.servererror__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.servererror__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
}

.servererror__button--primary {
  background: var(--warning-orange, #f59e0b);
  color: white;
  border-color: var(--warning-orange, #f59e0b);
}

.servererror__button--primary:hover {
  background: var(--warning-orange-dark, #d97706);
  border-color: var(--warning-orange-dark, #d97706);
  transform: translateY(-2px);
}

.servererror__button--secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.servererror__button--secondary:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-2px);
}

.servererror__details {
  border-top: 1px solid var(--bg-subtle);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.servererror__details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  outline: none;
}

.servererror__details summary:hover {
  color: var(--text-dark);
}

.servererror__tech-info {
  background: var(--bg-subtle);
  padding: 1rem;
  border-radius: var(--radius-lg);
  text-align: left;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.servererror__tech-info p {
  margin: 0.25rem 0;
  word-break: break-all;
}

@media (max-width: 768px) {
  .servererror__container {
    padding: 2rem 1.5rem;
  }

  .servererror__title {
    font-size: 2rem;
  }

  .servererror__actions {
    flex-direction: column;
    align-items: center;
  }

  .servererror__button {
    width: 100%;
    max-width: 200px;
  }

  .servererror__tech-info {
    font-size: 0.8rem;
  }
}/* src/styles/pages/newgame.css */

/* ============================================
   CONTAINER
   ============================================ */

.newgame {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* ============================================
   FORM
   ============================================ */

.newgame__form {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

/* ============================================
   HEADER
   ============================================ */

.newgame__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e8e8e8;
}

.newgame__title {
    font-size: 1.75rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
}

/* ============================================
   FIELDSETS
   ============================================ */

.form-fieldset {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: white;
}

.form-fieldset:last-of-type {
    margin-bottom: 1.5rem;
}

.form-legend {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 0.5rem;
}

/* ============================================
   FORM GROUPS
   ============================================ */

.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.4rem;
}

/* ============================================
   SPIELNAME INPUT
   ============================================ */

.gamename-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input--gamename {
    flex: 0 1 50%;
    min-width: 200px;
    max-width: 400px;
    padding: 0.6rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-input--gamename:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.1);
}

.form-input--warning {
    border-color: #f39c12 !important; /* Warnendes Gelb */
    background-color: rgba(243, 156, 18, 0.05);
}

.gamename-suffix {
    flex: 0 0 auto;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   SPIELERANZAHL BUTTONS
   ============================================ */

.player-count-buttons {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.player-btn {
    padding: 0.6rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-btn:hover {
    border-color: var(--primary-green-light);
    background: var(--bg-subtle);
    transform: translateY(-1px);
}

.player-btn--active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

.player-btn--active:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}

/* ============================================
   SPIELER GRID
   ============================================ */

.players-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ============================================
   EINZELNE SPIELER-ZEILE
   ============================================ */

.player-row {
    background: var(--bg-light);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin: 0;
    transition: all 0.2s ease;
}

.player-row:hover {
    border-color: var(--primary-green-light);
    box-shadow: var(--shadow-sm);
}

.player-legend {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 0 0.5rem;
}

/* ============================================
   FELDER (E-Mail + Name + Badge)
   ============================================ */

.player-row__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 120px;
    gap: 0.5rem;
    align-items: start;
    margin-bottom: .5rem;
}

.player-input-wrapper {
    position: relative;
}

.player-input-wrapper--hidden {
    visibility: hidden;
    pointer-events: none;
}

/* ============================================
   INPUTS
   ============================================ */

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    background: white;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-input--locked {
    background: #f5f5f5;
    color: var(--text-medium);
    cursor: not-allowed;
}

.form-input:disabled {
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.form-input--error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-input--error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-input--warning {
    border-color: #0288d1;
    background: #f0f8ff;
}

.form-input--warning:focus {
    border-color: #0288d1;
    box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1);
}

/* ============================================
   ERROR/INFO MESSAGES
   ============================================ */

.input-error {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    color: #dc3545;
    background: #fff5f5;
}

.input-info {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: #01579b;
    line-height: 1.4;
}

.input-info__icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.input-info__text {
    flex: 1;
}

/* ============================================
   PLAYER BADGES
   ============================================ */

.player-badge {
    display: inline-block;
    width: 100%;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    align-self: start;
    margin-top: 0.25rem;
}

.player-badge--hidden {
    opacity: 0;
    visibility: hidden;
}

.player-badge--current {
    background: var(--primary-green);
    color: white;
}

.player-badge--registered {
    background: var(--primary-green-light);
    color: white;
}

.player-badge--new {
    background: var(--accent-orange);
    color: white;
}

.player-badge--guest {
    background: var(--text-light);
    color: white;
}

/* ============================================
   FORM ACTIONS
   ============================================ */

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e8e8e8;
    margin-top: 0;
}

.form-actions .btn {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .player-count-buttons {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .newgame {
        padding: 1rem 0.5rem;
    }

    .newgame__form {
        padding: 1.5rem;
    }

    .gamename-wrapper {
        flex-wrap: wrap;
    }

    .form-input--gamename {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .gamename-suffix {
        flex: 1 1 100%;
    }

    .player-count-buttons {
        grid-template-columns: repeat(3, 1fr);
    }

    .player-row__fields {
        grid-template-columns: 1fr;
    }

    .player-input-wrapper--hidden {
        display: none;
    }

    .player-badge {
        justify-self: start;
        width: auto;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ============================================
   GAME SUMMARY - ÜBERSICHTSSEITE
   ============================================ */

/* Summary Rows (Key-Value Paare) */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-medium);
}

.summary-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

.summary-value--highlight {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.summary-badge {
    display: inline-block;
    margin-left: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-medium);
}

/* Summary Players List */
.summary-players {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-player {
    display: grid;
    grid-template-columns: 40px 1fr 120px;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.summary-player:hover {
    border-color: var(--primary-green-light);
    box-shadow: var(--shadow-sm);
}

.summary-player__number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-medium);
    text-align: center;
}

.summary-player__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-player__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.summary-player__email {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.summary-player__badge {
    text-align: right;
}

/* Info Box */
.summary-info-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #e3f2fd;
    border: 2px solid #90caf9;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

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

.summary-info-box__content {
    flex: 1;
    font-size: 0.9rem;
    color: #01579b;
    line-height: 1.5;
}

.summary-info-box__content strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #01579b;
}

.summary-info-box__content ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.25rem;
}

.summary-info-box__content li {
    margin-bottom: 0.25rem;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 2rem;
}

.error-state p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* ============================================
   MODAL (Leave-Dialog)
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal h3 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.modal p {
    margin: 0 0 1.5rem 0;
    color: var(--text-medium);
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 100px;
}

/* ============================================
   VICTORY CONDITION SELECTOR
   ============================================ */

.victory-condition-container {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.victory-condition-select {
    flex: 0 0 auto;
    min-width: 180px;
}

.victory-condition-input {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 160px;
}

.victory-points-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-color);
}

.victory-points-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 500;
}

.victory-points-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-help {
    margin-top: 0.5rem;
}

.form-help small {
    color: var(--text-medium);
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .victory-condition-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .victory-condition-select,
    .victory-condition-input {
        min-width: 100%;
    }

    .victory-points-display {
        margin-left: 0;
        justify-content: center;
    }
}
/* src/styles/pages/game.css */

.game-container {
    /* width: 100%; */
    height: 100%;
    margin: 0.5rem 0.5rem 0 0.5rem;
}

.game-table__header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
}

.game-table__header-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.game-table__victory-condition {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 0.25rem;
}

.game-evaluation__json {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 70vh;
    overflow-y: auto;
    color: #495057;
}

.game-evaluation__actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.game-evaluation__section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.game-evaluation__section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-green);
    padding-bottom: 0.5rem;
}

.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.game-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-subtle);
    border-radius: 6px;
}

.game-detail-label {
    font-weight: 500;
    color: var(--text-dark);
}

.game-detail-value {
    font-weight: 600;
    color: var(--primary-green);
}

.players-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.player-item {
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: 6px;
    border-left: 4px solid var(--primary-green);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.player-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

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

.player-points, .player-rank {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.rounds-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.round-item {
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.round-item h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.round-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.round-bids, .round-tricks {
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.round-bids pre, .round-tricks pre {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    overflow-x: auto;
}

.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    color: white;
    font-size: 1.2rem;
}

.loading-state p {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: #333;
}

/* Rounds Table Styles */
.rounds-table-container {
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rounds-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
    min-width: 600px;
}

.rounds-table thead {
    background: var(--primary-green);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.rounds-table th {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rounds-table .sub-header th {
    padding: 0.5rem 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.rounds-table .sub-header-cell {
    border-top: none;
    background: transparent;
}

.rounds-table td {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e9ecef;
}

.rounds-table tbody tr:nth-child(even) {
    background: var(--bg-subtle);
}

.rounds-table tbody tr:hover {
    background: rgba(40, 167, 69, 0.1);
}

.player-column {
    min-width: 120px;
    text-align: left;
}

.player-name-cell {
    font-weight: 600;
    color: var(--text-dark);
}

.round-group-column {
    min-width: 100px;
    background: var(--primary-green);
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.result-group-column {
    min-width: 120px;
    background: var(--success-green);
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.round-sub-column {
    min-width: 45px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.5rem 0.25rem;
}

.result-sub-column {
    min-width: 55px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 0.5rem 0.25rem;
    font-weight: 600;
}

/* Winner Cards */
.winners-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.winner-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--success-green) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.winner-card--1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    transform: scale(1.05);
}

.winner-card--2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.winner-card--3 {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
}

.winner-card__rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.8;
}

.rank-number {
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.25rem;
}

.winner-card__content {
    text-align: center;
}

.winner-card__name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.winner-card__stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.winner-card__points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.points-label {
    font-weight: 500;
}

.points-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.winner-card__userid {
    font-size: 0.85rem;
    opacity: 0.9;
    text-align: center;
}

/* Players Table */
.players-table-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-subtle);
}

.players-table-container h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.players-table th {
    background: var(--primary-green);
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
}

.players-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.players-table tbody tr:nth-child(even) {
    background: var(--bg-subtle);
}

.players-table tbody tr:hover {
    background: rgba(40, 167, 69, 0.1);
}

.players-table .top-three {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(192, 192, 192, 0.1) 50%, rgba(205, 127, 50, 0.1) 100%);
    font-weight: 500;
}

.rank-cell {
    font-weight: bold;
    color: var(--primary-green);
    width: 80px;
}

.name-cell {
    font-weight: 600;
    color: var(--text-dark);
}

.points-cell {
    font-weight: bold;
    color: var(--primary-green);
    text-align: center;
    width: 100px;
}

.userid-cell {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
}

/* Collapsible */
.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary-green);
    margin-bottom: 1rem;
}

.collapsible-header h2 {
    margin: 0;
    color: var(--primary-green);
}

.collapse-icon {
    font-size: 1.2rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.collapse-icon.collapsed {
    transform: rotate(0deg);
}

.collapse-icon.expanded {
    transform: rotate(180deg);
}

/* Player Status Icon */
.player-status-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
    opacity: 0.9;
    cursor: help;
}

.player-status-icon.table-icon {
    position: static;
    font-size: 0.9em;
    opacity: 0.7;
    margin-right: 0.5rem;
    vertical-align: middle;
}/* src/components/rounds/RoundHeader.css */
.round-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    grid-template-areas:
        "h-heading h-heading"
        "h-ans h-erg";
    width: 105px; /* Feste Breite für jede Runde */
    height: 100%;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.h-heading {
    grid-area: h-heading;
    justify-self: center;
    align-self: center;
    font-weight: bold;
}

.h-ans {
    grid-area: h-ans;
    justify-self: center;
    align-self: center;
    font-weight: bold;
}

.h-erg {
    grid-area: h-erg;
    justify-self: center;
    align-self: center;
    font-weight: bold;
}/* src/components/rounds/RoundData.css */
.round-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0;
    grid-template-areas:
        "r-ans r-erg";
    width: 105px; /* Feste Breite für jede Runde */
    height: 100%;
}

.r-ans {
    grid-area: r-ans;
    justify-self: stretch;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff8dd; /* Heller gelb für Ansagen */
    box-sizing: border-box;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.r-ans:hover {
    background: #fff5c4; /* Dunkler beim Hover */
}

.r-erg {
    grid-area: r-erg;
    justify-self: stretch;
    align-self: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e0f2e0; /* Heller grün für Ergebnisse */
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s;
}

.r-erg:hover {
    background: #c8e6c9; /* Dunkler beim Hover */
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.modal-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.modal-buttons button:first-child {
    background: #007bff;
    color: white;
}

.modal-buttons button:last-child {
    background: #6c757d;
    color: white;
}

/* Invalid input animation */
.invalid {
    border-color: red !important;
    border-width: 3px !important;
    animation: shake 1s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Nummerisches Tastenfeld */
.number-pad {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    max-width: 280px;
}

.number-pad__row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.number-pad__button {
    width: 4rem;
    height: 4rem;
    border: 2px solid #007bff;
    border-radius: 8px;
    background: #f8f9fa;
    color: #007bff;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.number-pad__button:hover:not(:disabled) {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.number-pad__button:active:not(:disabled) {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.number-pad__button--highlighted {
    background: #fff3cd !important;
    border-color: #ffc107 !important;
    color: #856404 !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.number-pad__button--disabled {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.number-pad__button--disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.number-pad__button--zero {
    width: 100%;
    max-width: 280px;
}/* src/components/GameTable.css */

.game-table {
    /* width: 100%; */
    /* min-height: 100%; */
    height: 73vh;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.game-table__inner {
    height: 100%;
    /* padding: 1rem 1rem 1rem 1rem; */
    display: flex;
    flex-direction: column;
    overflow: auto;
    scrollbar-width: none; /* Versteckt Scrollbar in Firefox */
}

.game-table__inner::-webkit-scrollbar {
    display: none; /* Versteckt Scrollbar in Webkit (Safari, Chrome) */
}

.game-table__header-row {
    display: flex;
    position: sticky;
    top: 69px;
    left: 0;
    z-index: 2;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.game-table__header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 3;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* margin-bottom: 1rem; */
    padding-top: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.game-table__header h2 {
    margin: 0;
    color: #333;
}

.game-table__info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Neue zeilenbasierte Struktur */
.game-table__rows {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    flex: 1;
    scrollbar-width: none; /* Versteckt Scrollbar in Firefox */
    user-select: none; /* Verhindert Textselektion beim Ziehen */
}

.game-table__rows::-webkit-scrollbar {
    display: none; /* Versteckt Scrollbar in Webkit (Safari, Chrome) */
}

.game-table__row {
    display: flex;
}

.game-table__rounds-container {
    display: flex;
    flex: 1;
    background-color: #ffffff;
}

.game-table__player-cell {
    width: 180px;
    height: 50px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 1rem;
    box-sizing: border-box;
    font-weight: normal;
    position: sticky;
    left: 0;
    z-index: 1;
    flex-shrink: 0;
}

.game-table__player-cell--dealer {
    background: #e3f2fd;
}

.game-table__stats-container {
    display: flex;
    width: 150px;
    height: 50px;
    position: sticky;
    right: 0;
    z-index: 1;
    flex-shrink: 0;
}

.game-table__points-cell, .game-table__rank-cell {
    width: 75px;
    height: 50px;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-weight: normal;
    flex-shrink: 0;
}

.game-table__rank-cell {
    border-right: none;
}

.game-table__header-cell {
    background: #f8f9fa;
    font-weight: bold;
    border: 1px solid #dee2e6;
    height: 50px;
}

/* Actions */
.game-table__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1;
    padding: 1rem 0 1rem 0;
    border-top: 1px solid #e0e0e0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-warning {
    background: #ffc107;
    color: #212529;
}

.btn-warning:hover {
    background: #e0a800;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Responsive */
@media (max-width: 768px) {
    .game-table {
        padding: 0.5rem;
    }

    .game-table__player-cell {
        width: 180px;
    }

    .game-table__stats-container {
        width: 120px;
    }

    .game-table__points-cell,
    .game-table__rank-cell {
        width: 60px;
    }
}

.game-table__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    background: white;
}

.game-table__dealer-info {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.game-table__buttons {
    display: flex;
    gap: 1rem;
}

.game-table__tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #333;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    z-index: 1000;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Ranking colors */
.rank-1 {
    color: #FFD700; /* Gold */
}

.rank-2 {
    color: #C0C0C0; /* Silver */
}

.rank-3 {
    color: #CD7F32; /* Bronze */
}

.rank-other {
    color: #666; /* Default gray */
}/* Rankings Page Styles */
.rankings-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.rankings-header {
    text-align: center;
    margin-bottom: 30px;
}

.rankings-header h1 {
    color: #2d9f5e;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.rankings-header p {
    color: #666;
    font-size: 1.1rem;
}

.rankings-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.overview-card h3 {
    color: #2d9f5e;
    font-size: 2rem;
    margin: 0 0 5px 0;
}

.overview-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.rankings-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.rankings-table-header {
    display: grid;
    grid-template-columns: 80px 2fr 100px 80px 120px 80px 100px;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
    font-weight: bold;
    color: #333;
}

.rankings-row {
    display: grid;
    grid-template-columns: 80px 2fr 100px 80px 120px 80px 100px;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    transition: background-color 0.2s;
}

.rankings-row:hover {
    background-color: #f8f9fa;
}

.rankings-row.current-user {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.rank-col {
    text-align: center;
    font-weight: bold;
}

.rank-icon {
    font-size: 1.2rem;
}

.player-col {
    text-align: center;
}

.player-name {
    font-weight: 500;
}

.current-user-badge {
    background: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.points-col {
    text-align: center;
    font-weight: bold;
    color: #2d9f5e;
}

.games-col {
    text-align: center;
    color: #666;
}

.best-col {
    text-align: center;
}

.placement-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.placement-gold {
    background: #ffd700;
    color: #000;
}

.placement-silver {
    background: #c0c0c0;
    color: #000;
}

.placement-bronze {
    background: #cd7f32;
    color: #000;
}

.placement-normal {
    background: #e9ecef;
    color: #333;
}

.rating-col {
    text-align: center;
    font-weight: 500;
}

.actions-col {
    text-align: center;
}

.no-rankings {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-rankings p:first-child {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.rankings-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.rankings-info h3 {
    color: #2d9f5e;
    margin-bottom: 15px;
}

.rankings-info ul {
    list-style: none;
    padding: 0;
}

.rankings-info li {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.rankings-info li:last-child {
    border-bottom: none;
}

.rankings-info strong {
    color: #2d9f5e;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

/* Player Details Page Styles */
.player-details-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.player-details-section h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2d9f5e;
}

.stat-item strong {
    color: #2d3748;
}

.stat-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Placement Distribution */
.placement-distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.placement-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.placement-label {
    min-width: 120px;
    font-weight: 500;
    color: #2d3748;
}

.placement-count {
    min-width: 40px;
    text-align: right;
    color: #4a5568;
}

.placement-fill {
    flex: 1;
    height: 20px;
    background: linear-gradient(90deg, #2d9f5e, #38a169);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Recent Games Table */
.recent-games-table {
    margin-top: 15px;
}

.recent-games-table .rankings-table-header,
.recent-games-table .rankings-row {
    grid-template-columns: 100px 1fr 80px 80px 60px;
    gap: 15px;
}

.date-col {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

.game-col {
    font-weight: 500;
}

.rank-col {
    text-align: center;
    font-weight: bold;
}

.points-col {
    text-align: center;
    color: #2d9f5e;
    font-weight: bold;
}

.players-col {
    text-align: center;
    color: #718096;
}

/* Player Details Actions */
.player-details-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.player-details-actions .btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.player-details-actions .btn-primary {
    background: #2d9f5e;
    color: white;
    border: 1px solid #2d9f5e;
}

.player-details-actions .btn-primary:hover {
    background: #258a4a;
    border-color: #258a4a;
}

.player-details-actions .btn-outline {
    background: transparent;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.player-details-actions .btn-outline:hover {
    background: #f8f9fa;
    border-color: #cbd5e0;
}
@media (max-width: 768px) {
    .rankings-page {
        padding: 10px;
    }

    .rankings-header h1 {
        font-size: 2rem;
    }

    .rankings-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .overview-card {
        padding: 15px;
    }

    .rankings-table-header,
    .rankings-row {
        grid-template-columns: 60px 1fr 70px 60px 100px 60px 80px;
        gap: 8px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .rankings-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .rankings-table-header,
    .rankings-row {
        grid-template-columns: 50px 1fr;
        gap: 5px;
    }

    .rankings-table-header {
        display: none; /* Hide header on very small screens */
    }

    .rankings-row {
        display: block;
        text-align: center;
        padding: 15px;
    }

    .rank-col,
    .player-col,
    .points-col,
    .games-col,
    .best-col,
    .rating-col,
    .actions-col {
        display: inline-block;
        margin: 2px 5px;
        font-size: 0.9rem;
    }

    .player-col {
        display: block;
        margin: 5px 0;
    }
}/* src/styles/pages/support-tickets.css */

.support-tickets {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.support-tickets h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.loading, .no-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ticket-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ticket-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-title {
    font-weight: bold;
    font-size: 1.05em;
    color: #333;
}

.ticket-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

/* Status colors */
.status-offen {
    background-color: #dc3545; /* light red */
}

.status-bearbeitung {
    background-color: #ffc107; /* light yellow */
    color: #333;
}

.status-gelesen {
    background-color: #17a2b8; /* light blue */
}

.status-fehl {
    background-color: #28a745; /* light green */
}

.status-geschlossen {
    background-color: #6c757d; /* darker green/gray */
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
}

.ticket-message {
    color: #555;
    line-height: 1.4;
    font-size: 0.95em;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .support-tickets {
        padding: 10px;
    }

    .ticket-card {
        padding: 15px;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ticket-meta {
        flex-direction: column;
        gap: 5px;
    }
}/* src/styles/pages/support-ticket-edit.css */

.support-ticket-edit {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.support-ticket-edit h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.loading, .error {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error {
    color: #dc3545;
}

.closed-ticket {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border-left: 4px solid #6c757d;
}

.closed-ticket p {
    margin-bottom: 20px;
    color: #666;
}

.ticket-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #007bff;
}

.info-item {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.info-item:last-child {
    margin-bottom: 0;
}

.edit-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-save, .btn-cancel {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save {
    background-color: #28a745;
    color: white;
}

.btn-save:hover:not(:disabled) {
    background-color: #218838;
}

.btn-save:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .support-ticket-edit {
        padding: 10px;
    }

    .edit-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-save, .btn-cancel {
        width: 100%;
    }
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #333;
    font-size: 16px;
    margin: 0;
}/* src/styles/components/admin-sidebar.css */

.admin-sidebar {
  width: 250px;
  background: var(--bg-card);
  border-right: 1px solid #e0e0e0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  box-shadow: var(--shadow-sm);
}

.admin-sidebar__header {
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  background: var(--bg-gradient);
}

.admin-sidebar__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.admin-sidebar__nav {
  flex: 1;
  padding: 1rem 0;
}

.admin-sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-sidebar__menu-item {
  margin: 0;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
}

.admin-sidebar__link:hover {
  background: var(--bg-subtle);
  color: var(--primary-green-dark);
}

.admin-sidebar__link--active {
  background: var(--bg-subtle);
  color: var(--primary-green-dark);
  border-left-color: var(--primary-green);
  font-weight: 600;
}

.admin-sidebar__icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.admin-sidebar__label {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .admin-sidebar__nav {
    padding: 0.5rem 0;
  }

  .admin-sidebar__link {
    padding: 0.75rem 1rem;
  }
}
/* Ergänzung für Overview-Komponente */

.admin-overview {
  max-width: 1200px;
}

.admin-overview__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
}

.admin-overview__subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.admin-overview__info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.admin-overview__section-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.admin-overview__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-overview__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-overview__info-item strong {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.admin-overview__info-item span {
  color: var(--text-dark);
  font-size: 1rem;
}

/* Statistik-Karten */
.admin-overview__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.admin-overview__stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-overview__stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.admin-overview__stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.admin-overview__stat-content h3 {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.admin-overview__stat-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary-green-dark);
  margin: 0;
}
/* src/styles/pages/admin/user-management.css */

.user-management {
  max-width: 1200px;
}

.user-management__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
}

.user-management__subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.user-management__card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.user-management__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.user-management__section-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0;
}

.user-management__create-btn {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.user-management__create-btn:hover {
  background: var(--primary-green-dark);
}

.user-management__filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.user-management__name-link {
  background: none;
  border: none;
  color: var(--primary-green);
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  padding: 0;
}

.user-management__name-link:hover {
  color: var(--primary-green-dark);
}
}

.user-management__table-wrapper {
  overflow-x: auto;
}

.user-management__table {
  width: 100%;
  border-collapse: collapse;
}

.user-management__table thead tr {
  border-bottom: 2px solid #e0e0e0;
}

.user-management__table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
}

.user-management__table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.user-management__table tbody tr:hover {
  background-color: var(--bg-subtle);
}

.user-management__table td {
  padding: 0.75rem;
}

.user-management__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.role-change-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-change-buttons {
  display: flex;
  gap: 0.25rem;
}

.action-btn--confirm {
  background: var(--success-color, #28a745);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.action-btn--confirm:hover:not(:disabled) {
  background: var(--success-color-dark, #218838);
}

.action-btn--confirm:disabled {
  background: var(--text-light, #ccc);
  cursor: not-allowed;
  opacity: 0.6;
}

.action-btn--cancel {
  background: var(--danger-color, #dc3545);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.action-btn--cancel:hover {
  background: var(--danger-color-dark, #c82333);
}

.user-management__role-select {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.user-management__role-select:hover {
  border-color: var(--primary-green);
}

.user-management__role-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .user-management__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-management__filter {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
  }

  .user-management__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-management__role-select,
  .action-btn {
    width: 100%;
  }

  .role-change-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .role-change-buttons {
    justify-content: center;
  }

  .action-btn--confirm {
    flex: 1;
  }
}
/* src/styles/pages/admin/user-detail.css */

.user-detail {
  max-width: 800px;
}

.user-detail__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.user-detail__back-btn {
  background: var(--bg-button-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.user-detail__back-btn:hover {
  background: var(--bg-button-secondary-hover);
}

.user-detail__title {
  font-size: 2rem;
  color: var(--primary-green-dark);
  margin: 0;
}

.user-detail__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-detail__card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.user-detail__section-title {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.user-detail__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.user-detail__info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  height: 3.5rem;
}

.user-detail__info-item--editable {
  cursor: pointer;
}

.user-detail__info-item strong {
  color: var(--text-dark);
}

.user-detail__name-display {
  cursor: pointer;
  user-select: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  min-width: 100px;
  display: inline-block;
  text-align: left;
}

.user-detail__name-display:hover {
  background: var(--bg-light);
}

.user-detail__email-verified {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-detail__submit-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.user-detail__name-editor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-detail__name-input {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-dark);
  font-size: inherit;
  width: auto;
  min-width: 100px;
  max-width: 200px;
}

.user-detail__name-submit {
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.user-detail__name-submit:hover {
  background: var(--primary-green-dark);
}

.user-detail__actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.user-detail__action-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-detail__action-group label {
  font-weight: bold;
  color: var(--text-dark);
}

.user-detail__role-select {
  padding: 0.5rem;
  border: 1px solid gray;
  border-radius: var(--radius-lg);
  background: var(--bg-input);
  color: var(--text-dark);
  max-width: 200px;
}

.user-detail__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.user-detail__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

.user-detail__stat-label {
  color: var(--text-medium);
}

.user-detail__stat-value {
  font-weight: bold;
  color: var(--primary-green-dark);
}

.user-detail__loading,
.user-detail__error {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: var(--text-medium);
}

.user-detail__error {
  color: var(--error-color);
}

/* Role Badges */
.role-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}

.role-badge--admin {
  background: #fbbf24;
  color: #000;
}

.role-badge--host {
  background: #10b981;
  color: #fff;
}

.role-badge--player {
  background: #3b82f6;
  color: #fff;
}

.role-badge--banned {
  background: #ef4444;
  color: #fff;
}

/* Action Buttons */
.action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}

.action-btn--delete {
  background: #ef4444;
  color: white;
}

.action-btn--delete:hover {
  background: #dc2626;
}

.role-change-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-btn--confirm {
  background: var(--success-color, #28a745);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.action-btn--confirm:hover:not(:disabled) {
  background: var(--success-color-dark, #218838);
}

.action-btn--confirm:disabled {
  background: var(--text-light, #ccc);
  cursor: not-allowed;
  opacity: 0.6;
}

.action-btn--cancel {
  background: var(--danger-color, #dc3545);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.action-btn--cancel:hover {
  background: var(--danger-color-dark, #c82333);
}

/* Responsive */
@media (max-width: 768px) {
  .user-detail__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-detail__info-grid {
    grid-template-columns: 1fr;
  }

  .user-detail__stats {
    grid-template-columns: 1fr;
  }

  .user-detail__actions {
    gap: 1rem;
  }

  .role-change-container {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .action-btn--confirm {
    flex: 1;
  }
}

.user-detail__actions-table {
  width: 100%;
  border-collapse: collapse;
}

.user-detail__actions-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.user-detail__action-label {
  font-weight: 600;
  color: var(--text-dark);
  width: 200px;
  white-space: nowrap;
}

.user-detail__action-inputs {
  width: auto;
  padding: 0 1rem;
}

.user-detail__action-buttons {
  width: auto;
  text-align: right;
}/* src/styles/pages/admin/test-email.css */

.test-email {
  max-width: 800px;
}

.test-email__title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
}

.test-email__subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.test-email__card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.test-email__form {
  margin-bottom: 2rem;
}

.test-email__field {
  margin-bottom: 1.5rem;
}

.test-email__label {
  display: block;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.test-email__input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.test-email__input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.test-email__input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.test-email__button {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.test-email__button:hover:not(:disabled) {
  background: var(--primary-green-dark);
}

.test-email__button:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.test-email__info {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  border-left: 4px solid var(--primary-green);
}

.test-email__info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.test-email__info ul {
  margin: 0;
  padding-left: 1.5rem;
}

.test-email__info li {
  margin-bottom: 0.25rem;
  color: var(--text-medium);
}

.test-email__info code {
  background: #f0f0f0;
  padding: 0.125rem 0.25rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #666;
}/* src/styles/pages/admin/settings.css */

.admin-settings {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-settings__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.admin-settings__subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.admin-settings__section {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.admin-settings__section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.version-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.version-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.version-input-group label {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.version-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 1rem;
    min-width: 120px;
}

.version-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.version-save-btn {
    white-space: nowrap;
    padding: 0.75rem 1.25rem;
}

.debug-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.debug-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.debug-input-group label {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.debug-input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-primary);
    width: 100px;
}

.debug-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.visual-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.visual-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.visual-input-group label {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.visual-input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-primary);
    width: 100px;
}

.visual-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.visual-save-btn {
    margin-left: auto;
}

.radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.radio-option span {
    user-select: none;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-green-light);
}

.btn-primary:disabled {
    background: var(--bg-disabled);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-hover);
}

.btn-danger {
    background: var(--accent-red);
    color: white;
}

.btn-danger:hover {
    background: var(--accent-red-hover);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.settings-list {
    display: grid;
    gap: 1rem;
}

.setting-item {
    background: var(--bg-secondary);
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.setting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.setting-key {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.setting-actions {
    display: flex;
    gap: 0.5rem;
}

.setting-value {
    background: var(--bg-input);
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 0.75rem;
}

.setting-value em {
    color: var(--text-secondary);
    font-style: italic;
}

.setting-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.no-settings {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-settings {
        padding: 1rem;
    }

    .setting-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .setting-actions {
        justify-content: flex-end;
    }

    .form-actions {
        flex-direction: column;
    }

    .setting-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}/* src/styles/pages/admin/dashboard.css */

.admin-dashboard {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-dashboard__title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
  text-align: center;
}

.admin-dashboard__subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  text-align: center;
  margin-bottom: 2rem;
}

/* Info Card */
.admin-dashboard__info-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow-card);
}

.admin-dashboard__info-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: var(--text-dark);
}

/* Management Card */
.admin-dashboard__management-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid #e0e0e0;
  box-shadow: var(--shadow-card);
}

.admin-dashboard__management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-dashboard__section-title {
  font-size: 1.5rem;
  color: var(--primary-green-dark);
  margin: 0;
}

/* Filter Buttons */
.admin-dashboard__filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: #e5e7eb;
  color: var(--text-dark);
  cursor: pointer;
  text-transform: capitalize;
  font-weight: 500;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #d1d5db;
}

.filter-btn--active {
  background: var(--primary-green);
  color: white;
}

/* Loading State */
.admin-dashboard__loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-medium);
  font-size: 1.1rem;
}

/* Table */
.admin-dashboard__table-wrapper {
  overflow-x: auto;
}

.admin-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-dashboard__table thead tr {
  border-bottom: 2px solid #e0e0e0;
}

.admin-dashboard__table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.admin-dashboard__table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.admin-dashboard__table tbody tr:hover {
  background-color: var(--bg-subtle);
}

.admin-dashboard__table td {
  padding: 0.75rem;
  color: var(--text-dark);
}

/* Role Badges */
.role-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}

.role-badge--admin {
  background: #fbbf24;
  color: #000;
}

.role-badge--host {
  background: #10b981;
  color: #fff;
}

.role-badge--player {
  background: #3b82f6;
  color: #fff;
}

.role-badge--banned {
  background: #ef4444;
  color: #fff;
}

/* Actions Column */
.admin-dashboard__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.admin-dashboard__role-select {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e0e0e0;
  background: white;
  color: var(--text-dark);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.admin-dashboard__role-select:hover {
  border-color: var(--primary-green);
}

.admin-dashboard__role-select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.1);
}

/* Action Buttons */
.action-btn {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.action-btn--ban {
  background: #ef4444;
}

.action-btn--ban:hover {
  background: #dc2626;
}

.action-btn--unban {
  background: #10b981;
}

.action-btn--unban:hover {
  background: #059669;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-dashboard {
    padding: 1rem;
  }

  .admin-dashboard__title {
    font-size: 2rem;
  }

  .admin-dashboard__subtitle {
    font-size: 1rem;
  }

  .admin-dashboard__management-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-dashboard__filter {
    width: 100%;
  }

  .filter-btn {
    flex: 1;
    min-width: 70px;
  }

  .admin-dashboard__table {
    font-size: 0.85rem;
  }

  .admin-dashboard__table th,
  .admin-dashboard__table td {
    padding: 0.5rem;
  }

  .admin-dashboard__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-dashboard__role-select,
  .action-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .admin-dashboard__info-card,
  .admin-dashboard__management-card {
    padding: 1rem;
  }

  .admin-dashboard__section-title {
    font-size: 1.2rem;
  }
}
/* src/styles/pages/admin/dashboard.css */

.admin-dashboard {
  display: flex;
  min-height: calc(100vh - 200px); /* Anpassen an Header/Footer */
  background: var(--bg-light);
  gap: 0;
}

.admin-dashboard__content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-dashboard {
    flex-direction: column;
  }

  .admin-dashboard__content {
    padding: 1rem;
  }
}
/* src/styles/global.css */

:root {
  /* Hauptfarben vom Spiel */
  --primary-green: #2d9f5e;
  --primary-green-light: #3db872;
  --primary-green-dark: #1f7a47;
  
  --accent-blue: #1e5a8e;
  --accent-red: #d32f2f;
  --accent-orange: #ff9800;
  --accent-red-hover: #c62828;
  
  /* Hintergründe */
  --bg-light: #f5f5f5;
  --bg-card: #ffffff;
  --bg-subtle: #e8f5e9;
  --bg-gradient: linear-gradient(135deg, #2d9f5e 0%, #1e5a8e 100%);
  
  /* Text */
  --text-dark: #2c3e50;
  --text-medium: #546e7a;
  --text-light: #78909c;
  
  /* Schatten */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
  --shadow-card: 0 2px 8px rgba(45, 159, 94, 0.15);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* Links */
a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-green-dark);
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.3s ease;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Input fields */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 159, 94, 0.1);
}

/* Custom focus outline */
:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Utility Classes */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-green);
  color: white;
  border: 2px solid var(--primary-green);
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  border-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-success {
  background: var(--success-green, #28a745);
  color: white;
  border: 2px solid var(--success-green, #28a745);
}

.btn-success:hover {
  background: var(--success-green-dark, #218838);
  border-color: var(--success-green-dark, #218838);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: white;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  background: #ccc !important;
  color: #666 !important;
  border-color: #ccc !important;
}

.btn-primary:disabled {
  background: #ccc !important;
  color: #666 !important;
  border-color: #ccc !important;
}

.btn-success:disabled {
  background: #ccc !important;
  color: #666 !important;
  border-color: #ccc !important;
}

.btn-secondary:disabled {
  background: #ccc !important;
  color: #666 !important;
  border-color: #ccc !important;
}
