/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('/static/background.png') center center / cover no-repeat fixed;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(98, 0, 234, 0.15);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 28px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

/* Admin-Bereich nutzt volle Breite */
.admin-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #f5f7fa;
}

/* Header */
header {
    background: linear-gradient(135deg, #6F5C7E 0%, #3700b3 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.25px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 400;
}

/* Main Content */
main {
    padding: 40px;
}

/* Formulare */
.form-container {
    max-width: 100%;
}

.form-container h2 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8em;
}

fieldset {
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    background: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

legend {
    font-size: 1.25em;
    font-weight: 500;
    color: #6F5C7E;
    padding: 0 8px;
    letter-spacing: 0.15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 16px 12px;
    border: 1px solid rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="date"]:hover,
select:hover {
    border-color: rgba(0, 0, 0, 0.87);
    background: #f5f5f5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: #6F5C7E;
    border-width: 2px;
    background: white;
    box-shadow: 0 1px 3px 0 rgba(98, 0, 234, 0.3);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Checkbox */
.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Begleitpersonen-Felder */
.companion-fieldset {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.companion-fieldset h4 {
    color: #6F5C7E;
    margin-bottom: 16px;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.15px;
}

/* Kinder-Felder */
.child-fieldset {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.child-fieldset h4 {
    color: #6F5C7E;
    margin-bottom: 16px;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.15px;
}

/* Zahlungsinformationen */
.payment-info {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-info p {
    margin-bottom: 10px;
}

.payment-info strong {
    color: #856404;
}

.info-text {
    font-style: italic;
    color: #856404;
    margin-top: 10px;
}

/* Intro Text */
.intro-text {
    background-color: rgba(98, 0, 234, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(98, 0, 234, 0.1);
}

/* Intro Welcome Section */
.intro-welcome {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(98, 0, 234, 0.2);
}

.intro-welcome h3 {
    margin: 0;
    color: #6F5C7E;
    font-size: 1.4em;
    font-weight: 500;
}

/* Intro Info Grid */
.intro-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.intro-info-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.intro-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(98, 0, 234, 0.15);
}

.intro-info-item h4 {
    margin: 0 0 8px 0;
    color: #6F5C7E;
    font-size: 1.1em;
}

.intro-info-item p {
    margin: 0;
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Intro Footer */
.intro-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(98, 0, 234, 0.1);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
}

.intro-footer p {
    margin: 0;
    color: #6F5C7E;
    font-weight: 500;
    font-size: 1.1em;
}

/* Icons */
.intro-icon {
    font-size: 1.8em;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.intro-welcome .intro-icon {
    font-size: 2em;
}

.intro-footer .intro-icon {
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .intro-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Admin Dashboard */
@media (max-width: 992px) {
    .admin-dashboard {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar-header {
        padding: 0 15px 15px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .sidebar-link {
        padding: 8px 15px;
        border-left: none;
        border-radius: 20px;
        margin: 5px;
    }
    
    .sidebar-link.active {
        border-left: none;
        background-color: #6F5C7E;
        color: white;
    }
    
    .sidebar-section {
        width: 100%;
        margin: 10px 0;
        padding: 10px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    
    .sidebar-section-title {
        text-align: center;
    }
    
    .admin-main {
        padding: 20px 15px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-controls {
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
        font-size: 0.9em;
    }
    
    .registrations-grid {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: #6F5C7E;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 100px;
    font-size: 1em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
    background: #7c4dff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    background: #5e00d6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.btn-back {
    display: inline-block;
    background: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.87);
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.875em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-back:hover {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.required-note {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Erfolgsseite */
.success-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 5em;
    color: #28a745;
    margin-bottom: 20px;
}

.success-container h2 {
    color: #28a745;
    margin-bottom: 30px;
    font-size: 2em;
}

.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.success-message p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.payment-reminder {
    background: white;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.payment-reminder p {
    margin-bottom: 10px;
}

.success-actions {
    margin-top: 30px;
}

/* Admin-Dashboard */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
    width: 100vw;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 0;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    color: #6F5C7E;
    font-size: 1.4em;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(98, 0, 234, 0.05);
    color: #6F5C7E;
}

.sidebar-link.active {
    background-color: rgba(98, 0, 234, 0.1);
    color: #6F5C7E;
    border-left: 3px solid #6F5C7E;
    font-weight: 500;
}

.sidebar-icon {
    font-size: 1.2em;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.sidebar-section {
    margin: 10px 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.sidebar-section-title {
    padding: 0 20px 10px;
    font-size: 0.85em;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

/* Admin Main Content */
.admin-main {
    flex: 1;
    padding: 30px;
    overflow-x: auto;
}

.admin-header {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.admin-container h2 {
    color: #333;
    margin: 0 0 20px 0;
}

.admin-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.view-toggle {
    display: flex;
    gap: 10px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 8px;
}

.filter-toggle {
    display: flex;
    gap: 10px;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 8px;
}

.filter-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: rgba(0, 150, 136, 0.08);
    color: #00897b;
}

.filter-btn.active {
    background: #00897b;
    color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.toggle-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-btn:hover {
    background: rgba(98, 0, 234, 0.08);
    color: #6F5C7E;
}

.toggle-btn.active {
    background: #6F5C7E;
    color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.view-container {
    display: none;
}

.view-container.active {
    display: block;
}

.admin-info {
    background: #e7f3ff;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin-bottom: 20px;
    font-weight: bold;
}

.btn-detail {
    display: inline-block;
    padding: 10px 24px;
    background: #6F5C7E;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.875em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.btn-detail:hover {
    background: #7c4dff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 1.05em;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background: #6F5C7E;
    color: white;
    font-weight: 500;
    padding: 16px 12px;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tr:hover {
    background: #f5f5f5;
}

.no-data {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

.admin-actions {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e0e0e0;
}

/* Dashboard */
.dashboard-container {
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h2 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #6F5C7E 0%, #3700b3 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.registration-card {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.registration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.card-id {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1em;
}

.card-date {
    font-size: 0.85em;
    color: #666;
}

.card-body {
    margin-bottom: 15px;
}

.card-name {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.card-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.info-icon {
    margin-right: 10px;
    font-size: 1.1em;
}

.info-text {
    color: #555;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

.badge-companion {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-children {
    background: #fff3e0;
    color: #ef6c00;
}

.badge-payment {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-paid {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-unpaid {
    background: #fff3e0;
    color: #ef6c00;
}

.status-paid {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875em;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

.status-unpaid {
    background: #fff3e0;
    color: #ef6c00;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875em;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
}

.card-footer {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.view-details {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95em;
}

.dashboard-actions {
    text-align: center;
    margin-top: 40px;
}

.no-data {
    text-align: center;
    padding: 60px 20px;
}

.no-data-icon {
    font-size: 5em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-data p {
    color: #666;
    font-size: 1.2em;
}

/* Detailansicht */
.detail-container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.detail-header {
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #764ba2;
}

.detail-header h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

.detail-date {
    color: #666;
    font-size: 0.95em;
}

.detail-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.detail-section {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.detail-section:last-child {
    border-bottom: none;
}

.section-title {
    color: #6F5C7E;
    font-size: 1.25em;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.15px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    margin-bottom: 10px;
}

.detail-item label {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

.detail-value a {
    color: #667eea;
    text-decoration: none;
}

.detail-value a:hover {
    text-decoration: underline;
}

.text-muted {
    color: #999;
    font-style: italic;
}

.child-card {
    background: #fafafa;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

.child-card h4 {
    color: #6F5C7E;
    margin-bottom: 16px;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.15px;
}

.payment-status {
    padding: 15px 0;
}

.status-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
}

.status-confirmed {
    background: #e8f5e9;
    color: #388e3c;
}

.status-pending {
    background: #fff3e0;
    color: #f57c00;
}

.summary-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.summary-item label {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.summary-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
}

.detail-actions {
    text-align: center;
    margin-top: 30px;
}

/* Bezahlstatus-Toggle */
.payment-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.payment-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-current-status {
    flex: 1;
}

.payment-toggle-form {
    flex: 0 0 auto;
}

.btn-toggle-payment {
    padding: 14px 32px;
    background: #6F5C7E;
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 0.875em;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
}

.btn-toggle-payment:hover {
    background: #7c4dff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

.btn-toggle-payment:active {
    background: #5e00d6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
}

/* Preisberechnung */
.price-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1em;
}

.price-item:last-of-type {
    border-bottom: 2px solid #667eea;
}

.price-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #667eea;
}

.price-label {
    color: #666;
}

.price-amount {
    color: #333;
    font-weight: 600;
}

.price-total .price-amount {
    color: #667eea;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: none;
}

.flatpickr-day.selected {
    background: #6F5C7E;
    border-color: #6F5C7E;
}

.flatpickr-day.selected:hover {
    background: #7c4dff;
    border-color: #7c4dff;
}

.flatpickr-day:hover {
    background: rgba(98, 0, 234, 0.1);
    border-color: rgba(98, 0, 234, 0.1);
}

.flatpickr-months .flatpickr-month {
    background: #6F5C7E;
    color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #6F5C7E;
}

.flatpickr-weekdays {
    background: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    main {
        padding: 20px;
    }
    
    fieldset {
        padding: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-table {
        font-size: 0.9em;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .registrations-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}
