/* ---------- EVENTS PAGE ---------- */

/* Event Card mit Bild */
.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 0;
}

.event-info h2 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-description {
    color: #B0B0B0;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.events-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid #2C2C2C;
}

.events-hero h1 {
    color: #FFFFFF;
    font-size: 3.5rem;
    margin: 1rem 0;
}

.events-hero p {
    color: #9E9E9E;
    max-width: 600px;
    margin: 0 auto;
}

.events-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sidebar */
.events-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.filter-box, .calendar-box, .submit-box {
    background: #1E1E1E;
    border: 1px solid #2C2C2C;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
}

.filter-box h3, .calendar-box h3 {
    color: #FFFFFF;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2C2C2C;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    color: #9E9E9E;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.filter-group input, .filter-group select {
    width: 100%;
    background: #2C2C2C;
    border: 1px solid #3a3a3a;
    padding: 0.6rem;
    color: #FFFFFF;
    font-family: inherit;
}

.filter-btn, .reset-btn {
    display: block;
    width: 100%;
    padding: 0.6rem;
    text-align: center;
    background: #2C2C2C;
    border: 1px solid #3a3a3a;
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.filter-btn {
    background: #FFFFFF;
    color: #121212;
    font-weight: 600;
}

.filter-btn:hover, .reset-btn:hover {
    opacity: 0.8;
}

.submit-box {
    text-align: center;
}

.submit-box p {
    color: #9E9E9E;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.submit-event-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.submit-event-btn:hover {
    background: #FFFFFF;
    color: #121212;
}

/* Events Liste */
.events-list {
    flex: 1;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: #1E1E1E;
    border: 1px solid #2C2C2C;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    transition: transform 0.2s;
}

.event-card:hover {
    transform: translateX(5px);
    border-color: #3a3a3a;
}

.event-date-large {
    min-width: 80px;
    text-align: center;
    padding: 0.5rem;
    background: #121212;
    border: 1px solid #2C2C2C;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
}

.event-month {
    display: block;
    font-size: 0.7rem;
    color: #9E9E9E;
    letter-spacing: 1px;
}

.event-details {
    flex: 1;
}

.event-details h2 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.event-meta span {
    font-size: 0.7rem;
    color: #9E9E9E;
}

.event-description {
    color: #B0B0B0;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-price, .event-price-free {
    font-size: 0.8rem;
    font-weight: 600;
}

.event-price {
    color: #FFFFFF;
}

.event-price-free {
    color: #88FF88;
}

.event-details-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #E0E0E0;
    padding: 0.4rem 1rem;
    cursor: pointer;
    font-size: 0.7rem;
}

.event-details-btn:hover {
    background: #FFFFFF;
    color: #121212;
}

/* Submit Form */
.submit-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.submit-box-large {
    background: #1E1E1E;
    border: 1px solid #2C2C2C;
    padding: 2rem;
}

.submit-header {
    text-align: center;
    margin-bottom: 2rem;
}

.submit-header h1 {
    color: #FFFFFF;
    margin: 0.5rem 0;
}

.submit-form .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
}

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

.submit-form label {
    display: block;
    color: #E0E0E0;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.submit-form input, .submit-form select, .submit-form textarea {
    width: 100%;
    background: #2C2C2C;
    border: 1px solid #3a3a3a;
    padding: 0.7rem;
    color: #FFFFFF;
    font-family: inherit;
}

.submit-form textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #FFFFFF;
    border: none;
    color: #121212;
    font-weight: 700;
    padding: 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.form-note {
    font-size: 0.7rem;
    color: #6c6c6c;
    text-align: center;
    margin-top: 1rem;
}

/* No Events */
.no-events {
    text-align: center;
    padding: 3rem;
    background: #1E1E1E;
    border: 1px solid #2C2C2C;
}

.no-events a {
    color: #FFFFFF;
    margin-top: 1rem;
    display: inline-block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    background: #1E1E1E;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border: 1px solid #2C2C2C;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #9E9E9E;
}

/* Admin Event Status */
.event-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
}

.status-pending { color: #FFAA44; }
.status-approved { color: #44FF44; }
.status-rejected { color: #FF4444; }

.filter-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #2C2C2C;
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.7rem;
}

.filter-badge.active {
    background: #FFFFFF;
    color: #121212;
}

.action-btn.approve { color: #44FF44; }
.action-btn.reject { color: #FFAA44; }

/* Responsive */
@media (max-width: 900px) {
    .events-container {
        flex-direction: column;
    }
    
    .events-sidebar {
        width: 100%;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date-large {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-width: auto;
    }
    
    .submit-form .form-row {
        flex-direction: column;
    }
}
/* ---------- KALENDER ---------- */
.calendar-box {
    background: #1E1E1E;
    border: 1px solid #2C2C2C;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
}

.calendar-box h3 {
    color: #FFFFFF;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2C2C2C;
}

#fullCalendar {
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.calendar-prev, .calendar-next {
    background: #2C2C2C;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.2rem 0.6rem;
    transition: background 0.2s;
}

.calendar-prev:hover, .calendar-next:hover {
    background: #3a3a3a;
}

.calendar-title {
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
}

.calendar-weekdays span {
    color: #9E9E9E;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
}

.calendar-day, .calendar-empty {
    padding: 0.5rem 0;
    font-size: 0.7rem;
}

.calendar-day {
    background: #2C2C2C;
    color: #E0E0E0;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day:hover {
    background: #3a3a3a;
    transform: scale(1.05);
}

.calendar-day.has-event {
    background: #FFFFFF;
    color: #121212;
    font-weight: bold;
}

.calendar-day.today {
    border: 1px solid #FFFFFF;
    background: #1E1E1E;
    color: #FFFFFF;
}

.calendar-empty {
    background: transparent;
    color: #4a4a4a;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.filter-btn, .reset-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.filter-btn {
    background: #FFFFFF;
    color: #121212;
    font-weight: 600;
}

.reset-btn {
    background: #2C2C2C;
    color: #E0E0E0;
    border: 1px solid #3a3a3a;
}

.filter-btn:hover, .reset-btn:hover {
    opacity: 0.8;
}

/* Events Header */
.events-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2C2C2C;
}

.events-header h2 {
    color: #FFFFFF;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Responsive Kalender */
@media (max-width: 500px) {
    .calendar-day, .calendar-empty {
        padding: 0.3rem 0;
        font-size: 0.6rem;
    }
    
    .calendar-weekdays span {
        font-size: 0.55rem;
    }
    
    .calendar-title {
        font-size: 0.7rem;
    }
}