/* Gemeinsame Styles für pferdeliebe.equislot.ch */

@import url('dashboard-tiles.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Theme System - Default: Dark Pink */
:root {
    --primary-color: #ff006e;
    --primary-light: #ff1779;
    --primary-dark: #cc005a;
    --primary-hover: #e6005f;
    --accent-color: #ff4791;
    --text-dark: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #999999;
    --header-bg: #1b1a1a;
    --bg-light: #2c2c2c;
    --bg-dark: #1c1c1c;
    --card-bg: #363636;
    --input-bg: #404040;
    --secondary-bg: #4a4a4a;
    --secondary-hover: #555555;
    --border-color: #555555;
    --error-color: #ff4444;
    --success-color: #00d4aa;
    --warning-color: #ffeb3b;
    --info-color: #2196f3;
    --equi-blue: #1a365d;
    --equi-mint: #98d8c1;
    --equi-dark-mint: #76bfa6;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 4px 20px rgba(255, 0, 110, 0.4);
}

/* Theme: Bright Pink/Anthracite */
[data-theme="darkpink"] {
    --primary-color: #d4477c;
    --primary-light: #e85f93;
    --primary-dark: #b83266;
    --primary-hover: #c7396e;
    --accent-color: #ff8ac4;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --text-muted: #888888;
    --header-bg: #1b1a1a;
    --bg-light: #1a1a1a;
    --bg-dark: #0f0f0f;
    --card-bg: #2a2a2a;
    --input-bg: #333333;
    --secondary-bg: #3d3d3d;
    --secondary-hover: #474747;
    --border-color: #3a3a3a;
    --error-color: #ff5555;
    --success-color: #50fa7b;
    --warning-color: #f1c40f;
    --info-color: #74b9ff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 4px 16px rgba(212, 71, 124, 0.3);
}

/* Theme: Bright Pink/Anthracite */
[data-theme="bright"] {
    --primary-color: #ff006e;
    --primary-light: #ff1779;
    --primary-dark: #cc005a;
    --primary-hover: #e6005f;
    --accent-color: #ff4791;
    --text-dark: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #999999;
    --header-bg: #1b1a1a;
    --bg-light: #2c2c2c;
    --bg-dark: #1c1c1c;
    --card-bg: #363636;
    --input-bg: #404040;
    --secondary-bg: #4a4a4a;
    --secondary-hover: #555555;
    --border-color: #555555;
    --error-color: #ff4444;
    --success-color: #00d4aa;
    --warning-color: #ffeb3b;
    --info-color: #2196f3;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 4px 20px rgba(255, 0, 110, 0.4);
}

/* Theme: Equi Ocean (Blau/Mint) */
[data-theme="equi-ocean"] {
    --primary-color: #62bd9d;        /* equi-blue */
    --primary-light: #84b8a5;
    --primary-dark: #508d77;
    --primary-hover: #2a9fd2;
    --accent-color: #b28f4f;         /* equi-purple */
    --text-dark: #080809;           /* equi-orange */
    --text-light: #030202;          /* equi-red */
    --text-muted: #777777;
    --header-bg: #d9d9d9;
    --bg-light: #fcfcfc;
    --bg-dark: #eff0f0;
    --card-bg: #447765;
    --input-bg: #40a380;
    --secondary-bg: #50977e;
    --secondary-hover: #57a388;
    --border-color: #3d5673;
    --error-color: #ff4757;
    --success-color: #2ed573;
    --warning-color: #ffa502;
    --info-color: #3742fa;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 4px 20px rgba(46, 134, 171, 0.3);
}

[data-theme="bright"] body {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
}

[data-theme="bright"] .container {
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

[data-theme="equi-ocean"] body {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
}

[data-theme="equi-ocean"] .container {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 20px 0 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
    border: 1px solid var(--border-color);
}

.bemerkung {
    display: none;
    font-size: 1.2rem;
    margin-left: 10px;
}

.teilnehmer-bemerkung {
    display: none;
}

.dashboard-top {
    display: flex; 
    justify-content: flex-end; 
    margin-bottom: 20px;
}

.einteilung-hinweis {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 10px;
}

.wartung-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.wartung-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    object-fit: contain;
    justify-content: center;
}

.einteilung-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.einteilung-image img {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    object-fit: contain;
    justify-content: center;
}

.einteilung-pdf .pdf-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
}

.einteilung-pdf .pdf-link:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-dark);
    padding: 40px 30px;
    text-align: center;
}

.header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.header p {
    font-size: 1rem;
    opacity: 0.95;
}

.form-content {
    padding: 40px 30px;
}

.form-section {
    margin-bottom: 35px;
}

.form-section h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

.form-section-divider {
    margin: 35px 0 20px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--error-color);
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-dark);
    color: var(--text-dark);
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    padding: 0;
}

/* Readonly Felder sollen visuell identisch zu normalen Feldern sein */
.form-group input:read-only {
    background: var(--bg-dark);
    color: var(--text-dark);
    opacity: 1;
    cursor: text;
}

.input-with-toggle {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-toggle input {
    padding-right: 96px;
}

/* Phone Verification Styles */
.input-with-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-button input {
    flex: 1;
}

.btn-verify {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verify:hover:not(:disabled) {
    background: var(--accent-color);
}

.btn-verify:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.verification-status {
    margin-top: 8px;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

.verification-status.success {
    background: rgb(from var(--success-color) r g b / 0.1);
    color: #4CAF50;
    border: 1px solid rgb(from var(--success-color) r g b / 0.3);
    display: block;
}

.verification-status.error {
    background: rgb(from var(--error-color) r g b / 0.1);
    color: #f44336;
    border: 1px solid rgb(from var(--error-color) r g b / 0.3);
    display: block;
}

.verification-status.pending {
    background: rgb(from var(--warning-color) r g b / 0.1);
    color: #ff9800;
    border: 1px solid rgb(from var(--warning-color) r g b / 0.3);
    display: block;
}

/* Mobile optimierte Telefonnummer-Eingabe */
@media (max-width: 768px) {
    .input-with-button {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .input-with-button input {
        width: 100%;
        margin-bottom: 0;
    }
    
    .btn-verify,
    .btn-secondary {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
        justify-self: stretch;
    }
    
    .input-with-button .btn-secondary {
        margin-top: 0;
    }

    .btn-secondary-dashboard {
        width: 85%;
        text-align: center;
        display: block;    /* Macht den Button zum Block-Element */
        margin: 0 auto 10px;    /* Zentriert das Block-Element horizontal */
    }
}

@media (max-width: 480px) {
    .input-with-button {
        gap: 10px;
    }
    
    .btn-verify,
    .btn-secondary {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .btn-secondary-dashboard {
        width: 85%;
        text-align: center;
        display: block;    /* Macht den Button zum Block-Element */
        margin: 0 auto 10px;    /* Zentriert das Block-Element horizontal */
    }

    .bemerkung {
        display: none;
    }

    .teilnehmer-bemerkung {
        display: inline-block;
        font-size: 0.65rem;
    }
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--text-dark);
    border-color: var(--primary-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 71, 124, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.helper-text {
    color: var(--text-light);
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

.password-meter {
    width: 100%;
    height: 8px;
    background: #2a2a2a;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--border-color);
}

.password-meter-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background 0.3s ease;
    background: var(--error-color);
}

.password-meter-bar[data-strength="weak"] {
    background: var(--error-color);
}

.password-meter-bar[data-strength="medium"] {
    background: #f5c542;
}

.password-meter-bar[data-strength="strong"] {
    background: var(--success-color);
}

.password-meter-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.equiden-container {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.equiden-container:hover {
    border-color: var(--primary-light);
    background: var(--bg-dark);
}

.equiden-item {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    animation: slideIn 0.3s ease;
}

/* Container für die horizontale Ausrichtung */
.toggle-container {
  display: flex;
  align-items: center; /* Zentriert Schalter und Text vertikal zueinander */
  gap: 15px;           /* Abstand zwischen Schalter und Text */
  font-family: sans-serif;
}

/* Der Text rechts daneben */
.label-text {
  font-size: 16px;     /* Hier kannst du die Schriftgröße unabhängig anpassen */
  color: var(--text-dark);
}

/* Der Container - definiert die Größe des Schalters */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0; 
  align-self: flex-start;
}

/* Text innerhalb des Sliders (ON/OFF) */
.on, .off {
  color: var(--primary-light);
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  font-size: 10px;
  font-weight: bold;
  pointer-events: none; /* Text soll Klicks nicht blockieren */
}

.on {
  left: 8px;
  display: none; /* Standardmäßig versteckt */
  color: var(--bg-dark)
}

.off {
  right: 8px;
  color: var(--bg-dark);
}

/* Logik für den Innentext beim Umschalten */
input:checked + .slider .on { display: block; }
input:checked + .slider .off { display: none; }

/* Die originale Checkbox verstecken */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
}

/* Der Hintergrund des Schalters (das Gehäuse) */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--input-bg);
  color: var(--bg-light);
  transition: .4s;
  border-radius: 34px; /* Rundet die Ecken ab */
}

/* Der bewegliche Kreis (der "Knopf") */
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--primary-color);
  transition: .4s;
  border-radius: 50%;
}

/* Standardzustand */
.slider .on { display: none; }
.slider .off { display: block; }

/* Wenn die Checkbox aktiviert ist: Hintergrund blau/grün */
input:checked + .slider {
  background-color: var(--input-bg);
}

/* Wenn aktiviert: Den Kreis nach rechts schieben */
input:checked + .slider:before {
  transform: translateX(26px);
}

.emergency-contact {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    width: 85%;
    position: relative;
}

.delete-emergency {
    position: absolute; /* Positioniert den Button unabhängig vom Textfluss */
    top: 1px;          /* Abstand von oben */
    right: 5px;        /* Abstand von rechts */
    padding: 5px 8px;   /* Etwas kompakter für das Eck-Icon */
    line-height: 1;
}

.emergency {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.emergency-contact-content {
    padding: 5px;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.equiden-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.equiden-header h3 {
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.equiden-header h3::before {
    content: '🐴';
    font-size: 1.2rem;
}

.btn-remove {
    background: var(--error-color);
    color: var(--text-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: var(--error-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-add {
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-add:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-add::before {
    content: '+';
    font-size: 1.4rem;
    font-weight: bold;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-dark);
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-submit:active {
    transform: translateY(0);
}

.privacy-notice {
    background: rgba(var(--bg-dark) 0.55);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin-top: 25px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.privacy-notice a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 25px 0;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-group .checkbox-text {
    flex: 1;
    line-height: 1.5;
}

/* WhatsApp Admin Interface */
.users-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.user-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(212, 71, 124, 0.2);
}

.user-card.selected {
    border-color: var(--primary-color);
    background: rgba(212, 71, 124, 0.08);
}

.user-info {
    margin-bottom: 5px;
}

.user-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.user-email {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.user-status {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.status-badge.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-badge.info {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.status-badge.disabled {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
}

.user-actions {
    text-align: right;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.selected-users {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.selected-user-tag {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-user {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-user:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-section, .users-section, .selected-section, .message-section, .actions-section {
    margin-bottom: 30px;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.loading {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .users-container {
        grid-template-columns: 1fr;
    }
    
    .user-card {
        padding: 15px;
    }
    
    .selected-users {
        flex-direction: column;
    }
    
    .selected-user-tag {
        justify-content: space-between;
    }
}

/* Animationen für bessere UX */
.form-group input:valid, .form-group select:valid, .form-group textarea:valid, .form-group select:valid {
    border-color: var(--success-color);
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Nachrichten-Box für Erfolgs- und Fehlermeldungen */
.message-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
    position: relative;
}

.message-success {
    background: rgba(80, 250, 123, 0.15);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.message-error {
    background: rgba(255, 85, 85, 0.15);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
}

.message-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
    line-height: 1.5;
}

.message-close {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Datenschutz-Seite spezifische Styles */
.container.datenschutz {
    max-width: 900px;
}

.content {
    padding: 40px 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-light);
    transform: translateX(-5px);
}

.back-link::before {
    content: '←';
    font-size: 1.2rem;
}

h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

h2:first-of-type {
    margin-top: 0;
}

h3 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin: 25px 0 12px 0;
}

p {
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: justify;
}

ul {
    margin: 15px 0 15px 25px;
    color: var(--text-dark);
}

ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-box {
    --background: rgba(var(--bg-dark) 0.15);
    background: var(--primary-dark);
    border-left: 6px solid var(--primary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.info-box h3 {
    margin-top: 0;
    color: var(--accent-color);
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-content p {
    margin: 0 0 8px 0;
    color: #424242;
    line-height: 1.5;
}

/* ===================================================================
   PREISOPTIONEN INTERFACE
   =================================================================== */

.pricing-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pricing-options-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.pricing-option {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 0;
    background: var(--card-bg, #2a2a2a);
    transition: box-shadow 0.2s ease;
}

.pricing-option:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pricing-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
}

.option-number {
    font-weight: bold;
    min-width: 25px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.option-sort-order {
    font-weight: bold;
    min-width: 25px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--header-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.option-title {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--header-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.option-title::placeholder {
    color: #aaa;
}

.remove-option {
    background: #ff4444;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-option:hover {
    background: #cc0000;
}

.pricing-option-content {
    padding: 16px;
    background: var(--card-bg);
    border-radius: 0 0 8px 8px;
}

.option-description {
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.option-price, .option-max-verfuegbar {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--header-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.option-price:focus, .option-description:focus, .option-title:focus, .option-sort-order:focus, .option-payment-type:focus, .option-max-verfuegbar:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 71, 124, 0.1);
}

.option-payment-type {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #1f1f1f;
    color: var(--text-dark);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-small {
    font-size: 14px;
    padding: 8px 16px;
    min-height: 36px;
}

/* ===================================================================
   BUCHUNG PREISOPTIONEN STYLES  
   =================================================================== */

.price-options-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}

.payment-methods-hint {
    font-size: 12px;
    color: var(--primary-color);
    margin-top: 5px;
}

.event-price.free {
    color: #4CAF50;
    font-weight: bold;
}

.selected-price-details {
    margin-top: 10px;
    padding: 12px;
    background: var(--card-bg, #2a2a2a);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.price-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: flex-start;
}

.price-detail-item:last-child {
    margin-bottom: 0;
    font-weight: bold;
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
}

.price-tag {
    color: var(--primary-color);
    font-weight: bold;
}

.payment-method-info {
    margin-top: 8px;
    padding: 8px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-light);
}

/* Preisoptionen Select readonly Styling */
select[readonly], select.readonly {
    background: var(--input-readonly-bg, #f5f5f5) !important;
    color: var(--text-muted, #666) !important;
    cursor: not-allowed;
}

/* Event-Info responsive */
@media (max-width: 768px) {
    .price-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .price-detail-item:last-child {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.contact-info {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 20px 0;
    color: var(--text-dark);
}

.contact-info .contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-info .contact-item a:hover {
    text-decoration: underline;
    color: var(--text-muted)
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info strong {
    color: var(--accent-color);
    display: inline-block;
    min-width: 80px;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 1.6rem;
    }

    .form-content,
    .content {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-section h2 {
        font-size: 1.2rem;
    }

    .equiden-item {
        padding: 15px;
    }

    .equiden-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-remove {
        width: 100%;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p, ul {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.4rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .form-content,
    .content {
        padding: 20px 15px;
    }

    .btn-submit {
        padding: 14px 30px;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .contact-info strong {
        display: block;
        margin-bottom: 5px;
    }
}

/* Neue Button- und Form-Styles für einheitliches Design */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin: 10px 5px 10px 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 10px 5px 10px 0;
}

.btn-secondary-dashboard {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 10px 5px 10px 0;
    width: 25%;
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
}
/*
.btn-danger {
    background: linear-gradient(135deg, var(--error-color) 0%, #ff6b6b 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 10px 5px 10px 0;
}*/

.btn-danger:hover {
    background: linear-gradient(135deg, #ff3333 0%, #ff5555 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 85, 85, 0.3);
    color: white;
    text-decoration: none;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.form-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.form-footer p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.form-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Dashboard spezielle Anpassungen */
.dashboard-container {
    max-width: 1200px;
}

/* Equiden-Verwaltung Stile */
.equiden-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.equide-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.equide-item:hover {
    background: var(--bg-light);
    border-color: var(--primary-light);
}

.equide-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    flex-grow: 1;
}

.news-section-container {
    display: grid;
    /* Erstellt automatisch so viele Spalten wie Platz haben, min. 300px breit */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.news-tile {
    display: flex;
    flex-direction: column;
    padding: 15px;
    transition: transform 0.2s;
    background-color: var(--bg-dark);
}

.news-tile:hover {
    transform: translateY(-3px); /* Subtiles Feedback auf Desktop */
    background-color: var(--bg-dark);
    cursor: default;
}

/* Smartphone-Optimierung */
@media only screen and (max-width: 402px) {
    .news-section-container {
        grid-template-columns: 1fr; /* Volle Breite auf kleinen Handys */
        gap: 15px;
    }

    .news-tile {
        padding: 5px;
    }

    #newsList .news-tile h3 {
        margin-bottom: 1px; /* Kleinerer Abstand zum Text darunter */
        font-size: 0.75rem;  /* Optional: Grösse anpassen, falls es zu wuchtig wirkt */
        line-height: 1.2;   /* Verringert den Zeilenabstand bei mehrzeiligen Titeln */
    }

    #newsList .news-tile p {
        margin-top: 0;      /* Entfernt den Standardabstand nach oben */
        margin-bottom: 2px; /* Etwas Abstand zum unteren Rand der Kachel */
        font-size: 0.65rem; /* Optional: Text etwas kleiner für bessere Übersicht */
        line-height: 1.4;   /* Angenehmer Zeilenabstand für den Text */
        font-weight: 400;   /* Normaler Text, damit Titel hervorstechen */
    }

    .bemerkung {
        display: none;
    }

    .teilnehmer-bemerkung {
        display: inline-block;
        font-size: 0.65rem;
    }
}

.news-section-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

#newsList .news-tile h3 {
    margin-top: 2px;    /* Kleinerer Abstand nach oben */
    margin-bottom: 4px; /* Kleinerer Abstand zum Text darunter */
    font-size: 1.1rem;  /* Optional: Grösse anpassen, falls es zu wuchtig wirkt */
    line-height: 1.2;   /* Verringert den Zeilenabstand bei mehrzeiligen Titeln */
}

#newsList .news-tile p {
    margin-top: 0;      /* Entfernt den Standardabstand nach oben */
    margin-bottom: 10px; /* Etwas Abstand zum unteren Rand der Kachel */
    font-size: 0.95rem; /* Optional: Text etwas kleiner für bessere Übersicht */
    line-height: 1.4;   /* Angenehmer Zeilenabstand für den Text */
    font-weight: 400;   /* Normaler Text, damit Titel hervorstechen */
}

/* 1. Die Standard-Versteck-Logik (wenn NICHT expandiert) */
#newsList:not(.is-expanded) .news-tile:nth-child(n+2) {
    display: none;
}

/* 2. Desktop-Sonderfall: 2 und 3 anzeigen, ab dem 4. verstecken */
@media (min-width: 1024px) {
    #newsList:not(.is-expanded) .news-tile:nth-child(2),
    #newsList:not(.is-expanded) .news-tile:nth-child(3) {
        display: block; 
    }
    
    #newsList:not(.is-expanded) .news-tile:nth-child(n+4) {
        display: none;
    }
}

/* 3. Der Show-All Zustand (Spezifizitäts-Hammer) */
/* Wir erzwingen die Anzeige, sobald die Klasse vorhanden ist */
#newsList.is-expanded .news-tile {
    display: block;
}

/* --- Standard: Nur das erste Element anzeigen (Smartphone) --- */
.news-tile {
    display: block; /* oder flex, je nach Design */
}

/* Alle News-Tiles ab dem zweiten Element ausblenden */
.news-tile:nth-child(n+2) {
    display: none;
}

/* --- Desktop-Version (ab 768px oder 1024px) --- */
@media (min-width: 1024px) {
    /* Das zweite und dritte Element wieder einblenden */
    .news-tile:nth-child(2),
    .news-tile:nth-child(3) {
        display: block;
    }

    /* Erst ab dem vierten Element ausblenden */
    .news-tile:nth-child(n+4) {
        display: none;
    }
}

.tile-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-height: 36px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-danger {
    background: linear-gradient(135deg, var(--input-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text-dark);
    border: 2px solid var(--secondary-hover);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--input-bg) 100%);
    border-color: var(--secondary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.no-data {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 30px 20px;
    background: #1f1f1f;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 15px;
}

/* Profil-spezifische Stile */
.section-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.form-section h3 {
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 80px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    background: rgba(255, 138, 196, 0.1);
    color: var(--primary-light);
}

.password-meter {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.password-meter-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: #ff5555;
}

.password-meter-bar[data-strength="weak"] {
    background: linear-gradient(90deg, #ff5555 0%, #ff7777 100%);
}

.password-meter-bar[data-strength="medium"] {
    background: linear-gradient(90deg, #ffaa55 0%, #ffcc77 100%);
}

.password-meter-bar[data-strength="strong"] {
    background: linear-gradient(90deg, #50fa7b 0%, #77ff99 100%);
}

.password-meter-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.password-match {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.password-match.success {
    color: var(--success-color);
}

.password-match.error {
    color: var(--error-color);
}

.form-section + .form-section {
    margin-top: 30px;
    border-top: 2px solid var(--border-color);
    padding-top: 30px;
}

/* Buchungsseite-spezifische Stile */
.event-details-card {
    background: var(--bg-light)
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.event-card {
    color: var(--text-dark);
}

.event-card h3 {
    margin: 0 0 15px 0;
    color: var(--accent-color);
    font-size: 1.4rem;
}

.event-info p {
    margin: 8px 0;
    color: var(--text-light);
}

.event-info strong {
    color: var(--text-dark);
}

/* Preis-Hervorhebung */
.event-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    background: rgb(from var(--primary-dark) r g b / 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    text-align: center;
    margin: 15px 0;
}

.event-price.free {
    color: var(--success-color);
    border-color: var(--success-color);
    background: rgb(from var(--success-color) r g b / 0.1);
}

/* Zahlungshinweise */
.payment-notice {
    background: rgb(from var(--bg-dark) r g b / 0.15);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.payment-notice h4 {
    margin: 0 0 10px 0;
    color: var(--accent-color);
    font-size: 1rem;
}

.payment-notice ul {
    margin: 10px 0 0 20px;
    color: var(--text-light);
}

.payment-notice ul li {
    margin-bottom: 5px;
}

.payment-fee {
    font-weight: bold;
    color: var(--primary-color);
}

/* Payment Details für neues Tab-Verhalten */
.payment-details {
    background: rgba(196, 196, 196, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.payment-details h3 {
    margin: 0 0 15px 0;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.payment-details p {
    margin: 10px 0;
    color: var(--text-dark);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 2rem;
}

.payment-methods span {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.payment-methods span:hover {
    transform: scale(1.1);
}

.equiden-selection {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.equide-checkbox {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #1f1f1f;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.equide-checkbox:hover {
    background: #252525;
    border-color: var(--primary-light);
}

.equide-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    background: #1a1a1a;
}

.equide-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.equide-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.equide-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    flex-grow: 1;
}

.no-equiden {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 30px 20px;
    background: #1f1f1f;
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.no-equiden a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.no-equiden a:hover {
    text-decoration: underline;
}

.error-message {
    text-align: center;
    color: var(--error-color);
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid var(--error-color);
    border-radius: 8px;
    padding: 20px;
    font-weight: 500;
}

.error-message a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.error-message a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen für Buchungsseite */
@media (max-width: 768px) {
    .equide-checkbox {
        padding: 12px;
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .equide-name {
        font-size: 1rem;
    }
    
    .event-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin: 5px 0;
    }

    .btn-secondary-dashboard {
        width: 85%;
        text-align: center;
        display: block;    /* Macht den Button zum Block-Element */
        margin: 0 auto 10px;    /* Zentriert das Block-Element horizontal */
    }
    
    .equide-item {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .btn-small {
        align-self: flex-end;
        width: auto;
    }
}

/* Admin-Bereich Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 15px;
}

.data-table thead {
    background: var(--primary-color);
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: #252525;
}

.data-table tr.inactive-row {
    opacity: 0.6;
    background: #1a1a1a;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: rgba(80, 250, 123, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.status-badge.inactive {
    background: rgba(255, 85, 85, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* Role Badges */
.role-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge.user {
    background: rgba(255, 138, 196, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.role-badge.admin {
    background: rgba(212, 71, 124, 0.3);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Publication Badges */
.publication-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.publication-badge.allowed {
    background: rgba(80, 250, 123, 0.2);
    color: var(--success-color);
}

.publication-badge.denied {
    background: rgba(255, 85, 85, 0.2);
    color: var(--error-color);
}

/* Equiden Count */
.equiden-count {
    font-weight: 600;
    color: var(--primary-color);
}

/* Message Box */
.message-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.message-box.message-info {
    background: rgba(64, 179, 255, 0.1);
    border-color: #40b3ff;
    color: #40b3ff;
}

.message-box.message-error {
    background: rgba(255, 85, 85, 0.15);
    border-color: var(--error-color);
    color: var(--error-color);
}

.message-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
}

/* Responsive Table */
@media (max-width: 1024px) {
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 6px;
    }
}

@media (max-width: 768px) {
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Event Status Anzeigen */
.event-status-warning {
    margin: 15px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid;
    text-align: center;
}

.event-status-warning.closed {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border-color: #c44569;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.event-status-warning.open {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    border-color: #20bf6b;
    color: white;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.3);
}

.event-status-warning.full {
    background: linear-gradient(135deg, #ffa502, #ff6348);
    border-color: #e55039;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 165, 2, 0.3);
}

/* Formular deaktiviert State */
form[disabled] {
    opacity: 0.6;
    pointer-events: none;
}

/* Anmeldungsverwaltung */
.event-info-card {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.event-overview h3 {
    margin: 0 0 16px 0;
    color: var(--accent-color);
    font-size: 1.4rem;
}

.event-meta p {
    margin: 8px 0;
    color: var(--text-light);
}

.event-meta strong {
    color: var(--text-dark);
    margin-right: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-item {
    background: var(--header-bg);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-small {
    /* Duplicate definition removed - see above for main definition */
}

.niveau-badge {
    background: var(--primary-color);
    color: white;
    padding: 2px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    font-style: italic;
}

.no-data {
    background: #1a1a1a;
    border: none !important;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-header {
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.close-btn:hover {
    background: var(--error-color);
    color: white;
}

.modal form {
    padding: 24px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Event-Einteilung Styles */
.event-details {
    margin: 20px 0;
}

.event-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(212, 71, 124, 0.2);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.event-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    flex: 1;
    min-width: 200px;
}

.event-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status.success {
    background: var(--success-color);
    color: var(--bg-dark);
}

.event-status.info {
    background: var(--accent-color);
    color: var(--bg-dark);
}

.event-status.warning {
    background: #ffb86c;
    color: var(--bg-dark);
}

.event-status.error {
    background: var(--error-color);
    color: white;
}

.event-meta {
    display: grid;
    gap: 15px;
}

.event-time,
.event-description,
.event-capacity {
    color: var(--text-dark);
    line-height: 1.6;
}

.event-description {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.participants-list {
    display: grid;
    gap: 12px;
}

.participant-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 10px;
}

.participant-card:hover {
    border-color: var(--primary-color);
    background: rgba(212, 71, 124, 0.05);
}

.participant-info {
    flex: 1;
    min-width: 200px;
}

.participant-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.participant-email {
    color: var(--text-light);
    font-size: 0.85rem;
}

.participant-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.participant-status small {
    color: var(--text-light);
    font-size: 0.75rem;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-header h3 {
        min-width: unset;
    }
    
    .participant-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .participant-status {
        align-items: flex-start;
        margin-top: 10px;
    }
}

/* Footer Styles */
.page-footer {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--input-bg) 100%);
    border-top: 1px solid var(--border-color);
    padding: 20px 30px;
    text-align: center;
    margin: 60px -20px 0 -20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(212, 71, 124, 0.1);
    transform: translateY(-1px);
}

.footer-links a:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Event-Bild Upload Styles */
.bild-vorschau, .aktuelle-bild {
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.bild-vorschau img, .aktuelle-bild img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.bild-vorschau img:hover, .aktuelle-bild img:hover {
    transform: scale(1.02);
}

input[type="file"] {
    background: var(--bg-dark);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===================================================================
   NEUE PRICING OPTION CARDS (Flexible Zahlungsarten)
   =================================================================== */

.pricing-option-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    background: var(--bg-dark);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-option-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(212, 71, 124, 0.2);
}

.pricing-option-header {
    padding: 16px 20px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
}

.pricing-option-header h4 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.option-description {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.payment-methods-group {
    padding: 16px 20px;
}

.payment-method-option {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.payment-method-option:last-child {
    margin-bottom: 0;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-option:hover .payment-method-content {
    border-color: var(--primary-light);
    background: var(--secondary-bg);
}

.payment-method-option input[type="radio"]:checked + .payment-method-content {
    border-color: var(--primary-color);
    background: var(--bg-dark);
    box-shadow: 0 0 0 3px var(--card-bg);
}

.option-selected {
    display: none;
}

.pricing-add-on {
    display: none;
}

.pricing-add-on-selected {
    display: none;
}

.pricing-add-on:checked ~ .payment-method-content .pricing-add-on-selected {
    display: block;
}

.pricing-selection:checked ~ .payment-method-content .option-selected {
    display: block;
}

.payment-method-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.payment-method-text {
    flex: 1;
    min-width: 0;
}

.payment-method-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.payment-method-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
}

.payment-method-price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    text-align: right;
}

/* Pricing Summary neue Version */
.pricing-summary-content {
    padding: 20px;
    background: rgba(212, 71, 124, 0.08);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    margin-top: 20px;
}

.pricing-summary-content h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.summary-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.summary-option strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.summary-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-payment {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.payment-note {
    background: rgba(255, 138, 196, 0.1);
    padding: 10px 12px;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.summary-total {
    text-align: center;
    padding: 16px 0 8px 0;
    border-top: 2px solid var(--primary-color);
    margin-top: 12px;
}

.summary-total strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Pricing Info Section */
.pricing-info {
    background: var(--header-bg);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Responsive Anpassungen für neue Pricing Karten */
@media (max-width: 768px) {
    .payment-method-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }
    
    .payment-method-icon {
        align-self: center;
    }
    
    .payment-method-price {
        text-align: left;
        font-size: 1.2rem;
        margin-top: 8px;
    }
    
    .pricing-option-header {
        padding: 12px 16px;
    }
    
    .payment-methods-group {
        padding: 12px 16px;
    }
    
    .pricing-summary-content {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .pricing-option-header h4 {
        font-size: 1.1rem;
    }
    
    .payment-method-content {
        padding: 12px;
    }
    
    .payment-method-name {
        font-size: 0.95rem;
    }
    
    .payment-method-desc {
        font-size: 0.8rem;
    }
    
    .summary-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .summary-total strong {
        font-size: 1.2rem;
    }
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}

/* Event-Bild in Buchungsseite */
.event-card .event-image {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.event-card .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.event-card .event-image:hover img {
    transform: scale(1.02);
}

/* Kategorien-Verwaltung Styles */
.kategorien-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.kategorie-item {
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.kategorie-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.kategorie-item.inactive {
    opacity: 0.7;
    border-color: #666;
}

.kategorie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.kategorie-farbe {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.kategorie-titel {
    flex: 1;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.kategorie-status {
    font-size: 0.85rem;
    color: var(--text-light);
}

.kategorie-beschreibung {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 8px 0 12px 0;
    line-height: 1.4;
}

.kategorie-meta {
    margin: 12px 0;
    padding: 8px 0;
    border-top: 1px solid var(--border-color);
}

.event-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.kategorie-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sm.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-sm.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-sm.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-sm.btn-danger:hover:not(:disabled) {
    background: #c0392b;
}

.btn-sm:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-container {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
}

input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

input[type="color"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Mobile optimierte Kategorien */
@media (max-width: 768px) {
    .kategorien-liste {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .kategorie-item {
        padding: 16px;
    }
    
    .kategorie-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .kategorie-actions {
        justify-content: stretch;
    }
    
    .btn-sm {
        flex: 1;
        text-align: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

/* Event-Filter Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
}

#eventFilters {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

#eventFilters .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

#eventFilters .form-group {
    margin-bottom: 10px;
}

#eventFilters label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-light);
}

#eventFilters select,
#eventFilters input[type="date"] {
    width: 100%;
    padding: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
}

#eventFilters select:focus,
#eventFilters input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 71, 124, 0.2);
}

/* Event Kategorie-Tags auf Tiles */
.tile-kategorien {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.kategorie-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Responsive Filter */
@media (max-width: 768px) {
    #eventFilters .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .section-header h2 {
        text-align: center;
    }
}

/* Theme-spezifische Filter-Styles */
[data-theme="bright"] #eventFilters {
    background: #4a4a4a;
    border-color: #666666;
}

[data-theme="bright"] #eventFilters select,
[data-theme="bright"] #eventFilters input[type="date"] {
    background: #3a3a3a;
    border-color: #666666;
    color: var(--text-dark);
}

/* Payment Status Polling Styles */
.payment-status-info {
    margin-top: 15px;
    padding: 12px;
    background: #2a2a2a;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    font-size: 0.9rem;
}

.payment-success {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 8px;
    border: 2px solid var(--primary-light);
    text-align: center;
}

.payment-success h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.payment-success p {
    color: #f8e6f0;
    margin: 8px 0;
    line-height: 1.5;
}

.payment-success .redirect-notice {
    font-style: italic;
    opacity: 0.8;
    margin-top: 15px;
    font-size: 0.9rem;
}

.payment-failed {
    padding: 20px;
    background: linear-gradient(135deg, #5d1a1d, #7f1d1d);
    border-radius: 8px;
    border: 2px solid #f44336;
    text-align: center;
}

.payment-failed h3 {
    color: #ef5350;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.payment-failed p {
    color: #ffcdd2;
    margin: 8px 0;
    line-height: 1.5;
}

.payment-retry {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.payment-retry .btn-primary,
.payment-retry .btn-secondary {
    padding: 12px 24px;
    font-size: 1rem;
    min-width: 150px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Theme-spezifische Payment-Styles */
[data-theme="bright"] .payment-status-info {
    background: #4a4a4a;
    border-left-color: var(--accent-color);
    color: var(--text-dark);
}

[data-theme="bright"] .payment-success {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-dark);
}

[data-theme="bright"] .payment-failed {
    background: linear-gradient(135deg, #6e1e1e, #9e2e2e);
    color: var(--text-dark);
}

/* Animation für Polling-Status */
@keyframes polling-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.payment-status-info p:first-child {
    animation: polling-pulse 2s infinite ease-in-out;
}

/* ===================================================== */
/* Theme Selector Styles */
/* ===================================================== */

.theme-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.theme-option {
    display: block;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.theme-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-option input[type="radio"]:checked + .theme-preview {
    border-color: var(--primary-color);
    background: var(--bg-light);
    box-shadow: var(--shadow-hover);
}

.theme-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-dark);
    transition: all 0.3s ease;
}

.theme-colors {
    display: flex;
    gap: 8px;
}

.color-sample {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-name {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: block;
}

.theme-preview small {
    color: var(--text-light);
    font-size: 0.85em;
}

/* Spezifische Theme-Vorschau-Styles */
.equi-ocean-theme .theme-preview {
    background: linear-gradient(135deg, #1B3A47 0%, #254251 100%);
}

[data-theme="equi-ocean"] .theme-selector .theme-option:hover {
    border-color: #2E86AB;
}

[data-theme="equi-ocean"] .theme-option input[type="radio"]:checked + .theme-preview {
    border-color: #2E86AB;
    box-shadow: 0 4px 20px rgba(46, 134, 171, 0.3);
}

/* Responsive Payment-Styles */
@media (max-width: 768px) {
    .payment-retry {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-retry .btn-primary,
    .payment-retry .btn-secondary {
        width: 100%;
        max-width: 250px;
    }

    .btn-secondary-dashboard {
        width: 85%;
        text-align: center;
        display: block;    /* Macht den Button zum Block-Element */
        margin: 0 auto 10px;    /* Zentriert das Block-Element horizontal */
    }
    
    .payment-success,
    .payment-failed {
        padding: 15px;
    }
    
    .payment-success h3,
    .payment-failed h3 {
        font-size: 1.1rem;
    }
}

/* Status Badges für Admin */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.pending {
    background: rgba(255, 235, 59, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.badge.confirmed {
    background: rgba(0, 212, 170, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.badge.rejected {
    background: rgba(255, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}
