/* Session-Auswertung (com_event) — Epic lightbox wie Reporter */

body.com-event .astroid-component-section,
body.com_event .astroid-component-section {
    background: #e5e5e5;
}

body.com-event .astroid-component-area,
body.com_event .astroid-component-area {
    color: #222;
    background: transparent;
}

.rs-event-wrap.lightbox-2 {
    margin: 20px 0 20px;
    padding: 12px 14px 16px;
    color: #222;
    background: #f8f8f8 url("/images/template/lightbox-2.png") left bottom repeat-x;
    border-radius: 5px;
    box-shadow: 5px 4px 6px #888;
}

body.custom-color-violet .rs-event-wrap.lightbox-2 {
    background: #fef8fe url("/images/colors/violet/lightbox-2.png") left bottom repeat-x;
}

.rs-event-wrap h1 {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    margin: 0 0 12px;
    color: #333;
    border-bottom: 3px solid #777;
    padding-bottom: 4px;
}

.rs-event-input {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.rs-event-date,
.rs-event-server,
.rs-event-session {
    flex: 1 1 220px;
    min-width: 0;
    padding: 8px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 3px 3px 2px #bbb;
}

.rs-event-selected {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 6px 8px;
    background: linear-gradient(#e8e8e8, #ccc);
    border: 1px solid #aaa;
    border-radius: 4px;
}

.rs-event-date form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rs-event-date input[type="date"] {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 4px 6px;
    border: 1px solid #888;
    border-radius: 4px;
}

.rs-event-date button,
.rs-event-server-list a,
.rs-event-session-list a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #888;
    border-radius: 5px;
    background: linear-gradient(#f5f5f5, #b4b4b4);
    color: #333 !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.rs-event-date button:hover,
.rs-event-server-list a:hover,
.rs-event-session-list a:hover {
    background: linear-gradient(#fff, #e8e8e8);
    color: #000 !important;
}

.rs-event-server-list a.is-active,
.rs-event-session-list a.is-active {
    background: linear-gradient(#5a5a5a, #3d3d3d);
    color: #fff !important;
    border-color: #2a2a2a;
}

body.custom-color-violet .rs-event-server-list a.is-active,
body.custom-color-violet .rs-event-session-list a.is-active {
    background: linear-gradient(#9b5a9b, #6b2d6b);
    border-color: #5a205a;
}

.rs-event-server-list,
.rs-event-session-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-event-hint {
    font-size: 13px;
    margin: 0 0 8px;
    color: #444;
}

.rs-event-recent-title {
    font-size: 12px;
    font-weight: 600;
    margin: 10px 0 6px;
    color: #333;
}

.rs-event-day-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rs-event-day-grid a {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    color: #222 !important;
    text-decoration: none;
    font-size: 13px;
}

.rs-event-day-grid a:hover {
    background: #f3f3f3;
}

.rs-event-day-count {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.rs-event-session-list a {
    width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
}

.rs-event-results {
    margin-top: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 3px 3px 2px #bbb;
}

.rs-event-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.rs-event-table th,
.rs-event-table td {
    border: 1px solid #ccc;
    padding: 4px 6px;
    color: #222;
    vertical-align: top;
    text-align: center;
}

.rs-event-table thead th {
    background: linear-gradient(#5a5a5a, #3d3d3d);
    color: #fff;
    font-weight: 600;
}

body.custom-color-violet .rs-event-table thead th {
    background: linear-gradient(#9b5a9b, #6b2d6b);
}

.rs-event-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}