/* =============================================
   RESERVIERUNGSLISTE
   ============================================= */

.res_ausgabe {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.res_ausgabe h1 {
    flex-basis: 100%;
    text-align: center;
}

.res_col {
    flex: 1;
    min-width: 0;
    border: 1px solid #b8b3c8;
}

.res_list_colhead {
    background: #a08cb869;
    color: #3b3b3b;
    text-align: center;
    font-weight: bold;
    padding: 10px;
}

.res_list_entries {
    padding: 10px 14px;
    background: #edeaf4;
}

.res_list_entry {
	padding: 3px 0px;
}

.res_rules_res {
    color: #3b3b3b;
    text-align: justify;
    font-size: 12px;
    display: flex;
    gap: 15px;
}

.res_non_avas_guest {
    min-width: 0;
    flex: 1;
}

.res_non_avas_user {
    min-width: 0;
    flex: 1;
}

.res_non_avas_point {
    min-width: 0;
    border: 1px solid #b8b3c8;
    width: 100%;
}

.res_non_avas {
	background: #a08cb869;
    color: #3b3b3b;
    text-align: center;
    font-weight: bold;
    padding: 10px;
	font-size: 13px;
}

.res_non_avas_list {
	padding: 10px 14px;
    background: #edeaf4;
}

/* =============================================
   RESERVIERUNGSFORMULAR (auf-/zuklappbar)
   ============================================= */

.res_add_toggle {
    cursor: pointer;
    text-align: center;
    padding: 6px;
    background: #a08cb869;
    color: #3b3b3b;
    font-weight: bold;
    user-select: none;
    margin-top: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.res_add_content {
    display: none;
    background: #edeaf4;
    padding: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.res_add_toggle:hover {
    background: #a08cb869;
}



/* =============================================
   BESTEHENDE KLASSEN
   ============================================= */

.res_tab {
    overflow: hidden;
    border: 1px solid #b3b3b3;
    background-color: #fafafa;
}

.res_bit form {
    display: inline;
}

.res_tab button {
    background-color: #fafafa;
    background-image: none;
    border-radius: 0;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
    font-size: 1.1em;
    font-weight: bold;
}

.res_tab button:hover {
    background-color: #ddd;
}

.res_tab button.active {
    border-bottom: 3px solid #3b3b3b;
}

.res_tabcontent {
       background-image: linear-gradient(40deg, #ffdde0ab 5%, #806c9a3b 70%);
    padding: 20px 12px 30px 12px;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.res_add {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.res_add h2 {
    flex-basis: 100%;
    text-align: center;
}

.res_add_save {
    flex-basis: 100%;
    text-align: center;
}

.res_mod {
    border-top: none;
    background-image: linear-gradient(40deg, #ffdde0ab 5%, #806c9a3b 70%);
    margin-top: 10px;
    padding: 20px;
}

.res_add_inputs,
.res_add_select {
    margin: 5px 25px;
}

.res_add_inputs {
    text-align: right;
}

/* =============================================
   RESERVIERUNGEN TAB-NAVIGATION
   ============================================= */

#res-topnav {
    width: 100%;
    margin-bottom: 10px;
}

.res-nav-bar {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background-image: linear-gradient(40deg, #ffdde091 5%, #806c9a3b 70%);
    backdrop-filter: blur(4px);
}

.res-nav-bar > li > a {
    display: block;
    padding: 10px 18px;
    color: #1a1026;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.res-nav-bar > li:first-child > a {
    border-left: 1px solid rgba(255,255,255,0.08);
}

.res-nav-bar > li > a:hover,
.res-nav-bar > li > a.active {
    background: rgba(186, 85, 185, 0.25);
    color: #fff;
}

