/* Teilnahmebestätigung */
.teilnahme-bestaetigung {margin-top: 20px;display: flex;flex-wrap: wrap;gap: 20px}
.teilnahme-bestaetigung h3 {font-size: 1.5em;margin-bottom: 10px;color: #333}
.teilnehmer-anzeige,.teilnahme-formular {flex: 1 1 250px}
.teilnahme-bestaetigung ul {list-style-type: none;padding-left: 0}
.teilnahme-bestaetigung li {padding: 10px 0}
.teilnahme-bestaetigung .teilnahme-formular-row{display:flex;align-items: center;justify-content: space-between; flex-wrap: wrap;flex-direction: row;gap:20px;}


/* Button-Stile */
.teilnahme-bestaetigung button, .rsv-termine-form button{    width: 100%;}
.teilnahme-bestaetigung button, .rsv-termine-form button, .rsv-filter-button {
	background-color: var(--orange);
    color: white;
    border: none;
    padding: 10px 15px;
     cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}
.teilnahme-bestaetigung button:hover, .rsv-termine-form button:hover, .rsv-filter-button:hover, .rsv-filter-button.active {background-color: #c25417}


/* Formular für RSV-Termine */
.rsv-termine-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;

    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rsv-termine-form .form-row {display: flex;justify-content: space-between;flex-wrap: wrap;margin-bottom: 15px}
.rsv-termine-form .form-group {flex: 1;min-width: 150px;margin-right: 10px}
.rsv-termine-form .form-group:last-child {margin-right: 0}
.rsv-termine-form label {margin-bottom: 5px;font-weight: bold}

/* Eingabefelder */
.rsv-termine-form input[type="text"],
.rsv-termine-form input[type="date"],
.rsv-termine-form input[type="time"],
.rsv-termine-form input[type="url"],
.rsv-termine-form textarea,
.rsv-termine-form select,
.teilnahme-bestaetigung input[type="text"]
{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.rsv-termine-form .required {
    color: red;
}

#post-246114 .success-message,
#post-246114 .error-message {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#post-246114.success-message {
    background-color: #d4edda;
    color: #155724;
}

#post-246114 .error-message {
    background-color: #f8d7da;
    color: #721c24;
}

.rsv-termine-form textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}




/* Veranstaltungsübersicht */
.rsv-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

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

.rsv-year-divider,.rsv-month-divider {margin-bottom: 25px}

.rsv-year-divider , .rsv-filter-buttons{display:none}


/* Monat-Trenner */
.rsv-month-divider {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    color: #eb621f;
    border-bottom: 2px solid #eb621f;
    padding-bottom: 10px;
  
}

/* Einzelne Veranstaltung */
.rsv-event {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.rsv-event-date {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: var(--orange);
    margin-right: 20px;
    padding: 10px;
    text-align: center;
    width: 60px;
	height: 60px;
}

.rsv-event-date span {
    display: block;
    font-size: 32px;
}

/* Titel und Details der Veranstaltung */
.rsv-event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.rsv-event-title a {
    color: #333;
    text-decoration: none;
}

.rsv-event-title a:hover {
    color: #eb621f;
}

.rsv-event-detail {
    font-size: 14px;
    color: #666;
}

/* Teilnehmer & Labels */
.rsv-event-label {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background-color: #eb621f;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

/* Teilnehmer-Anzeige mit FontAwesome-Icon */
.rsv-event-participants {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.rsv-event-participants i.fas.fa-user {
    color: #eb621f;
    margin-right: 5px;
}

.rsv-participant-count {
    font-size: 14px;
    color: #666;
}

/* Kalender-Button */
.rsv-calendar-add {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    background-color: #eb621f;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.rsv-calendar-add:hover { background-color: #d4551b}



.rsv-filter-buttons {margin-bottom: 20px}
.rsv-filter-button {margin-right: 5px;cursor: pointer;transition: background-color 0.3s}

.rsv-event-article {display: flex;flex-wrap: nowrap;margin: 10px 0;width: 100%}
.rsv-event-title-details {display: flex;flex-direction: column;flex-grow: 1}
.rsv-event-location {flex: 1 1 60%}
.rsv-event-time,.rsv-event-icaluser {flex: 1 1 20%}
.rsv-event-details {display: flex;flex-direction: row;gap: 10px}
.rsv-event-icaluser {display: flex;flex-direction: column;gap: 5px}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .rsv-event {flex-direction: column;align-items: flex-start}
    .rsv-event-date {margin-bottom: 10px;width: auto}
	.rsv-event-title {font-size: 16px}
	.rsv-event-title-details,.rsv-event-details {flex-wrap: wrap}
	.beschreibung {display:none}
	.rsv-event-location{min-width:100%}
	.rsv-event-date {padding: 5px;min-width: 40px;height: 40px}
	.rsv-event-date span {font-size: 16px}
	.rsv-event-icaluser {flex-direction: row; gap: 15px}
	
}