@charset "utf-8";

/* ========== BASE ========== */

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    /* Hintergrundfarbe kommt aus styles.css (body/html -> #6e6d6d) */
    background-color: transparent;
    background: #6e6d6d;

}

div.clear {
    clear: both;
}

/* Wrapper/Content Cards:
   -> gleiche Optik wie .cards-1 .card / .cards-2 .card in styles.css:
      graues Panel (#b0aeae), leichte Rundung, kein knalliges Weiß  */
div#wrapper {
    background-color: #b0aeae;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.25);
    overflow: hidden;
}

div#content {
    min-height: 250px;
    padding: 1rem;
    background-color: #b0aeae;
    color: #000;
    border-radius: 0.5rem;
}

/* Headlines */
h1.headline {
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
    line-height: 1.875rem;
    font-weight: 700;
    color: #000;
    border-bottom: 1px dotted #434c54;
}

/* Links */
a {
    color: #2a2e32;
    text-decoration: underline;
    transition: all 0.2s ease;
}

a:hover {
    color: #2a2e32;
    text-decoration: none;
}

/* ========== NAVIGATION (TOP BAR) ========== */
/* Dark bar wie .navbar-custom in styles.css */

nav {
    width: 100%;
    background-color: #2a2e32;
    box-shadow: 0 0.0625rem 0.375rem rgba(0,0,0,0.4);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1rem;
}

ul.nav#headnav {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 0;
}

ul.nav#headnav li {
    border-right: 1px solid rgba(255,255,255,0.15);
}

ul.nav#headnav li:first-child {
    border-left: none;
}

ul.nav#headnav li:last-child {
    border-right: none;
}

ul.nav#headnav li a,
ul.nav#headnav li .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    min-width: 65px;
    text-align: center;
    color: #f7f5f5;
    text-decoration: none;
    opacity: .8;
    transition: all .2s ease;
    border: 0;
    background: transparent;
}

ul.nav#headnav li span#headline {
    display: block;
    font-size: 1.125rem;
    line-height: 1.5rem;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
}

ul.nav#headnav li a.active,
ul.nav#headnav li a:hover:not(.active),
ul.nav#headnav li a:focus:not(.active),
ul.nav#headnav li .nav-link:hover:not(.active),
ul.nav#headnav li .nav-link:focus:not(.active) {
    background-color: rgba(255,255,255,0.08);
    color: #fff;
    opacity: 1;
}

/* ========== TABLES / LISTEN ========== */

/* Tabelle soll wie deine Cards wirken:
   Hintergrund #b0aeae, Rahmen dunkler (#434c54), Header leicht dunkler Tone */
table.table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #434c54;
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: #b0aeae;
    font-size: 0.875rem;
    color: #000;
}

table.table th {
    background-color: #2a2e32;
    color: #fff;
    text-align: left;
    font-weight: 700;
    padding: 0.75rem 0.75rem;
    border-bottom: 1px solid #434c54;
}

table.table td {
    padding: 0.75rem 0.75rem;
    border-top: 1px solid #434c54;
    color: #000;
}

table.content tr.event-sendung {
    background-color: rgba(255,242,231,0.7); /* softer, weil Rest eher grau */
    color: #000;
}

/* Popup Profile Table */
table.popup-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    color: #000;
    font-size: 0.875rem;
    line-height: 1.4;
    background-color: #b0aeae;
}

table.popup-table td.popup-profil-bild {
    padding-top: 0.5rem;
    vertical-align: top;
    width: 110px;
}

img.profil_bild {
    max-width: 100px;
    max-height: 100px;
    border: 1px solid #434c54;
    border-radius: 0.25rem;
    object-fit: cover;
    background-color: #b0aeae;
}

table.popup-table td.popup-desc {
    vertical-align: top;
}

table.popup-table td.popup-desc span.headline {
    display: block;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: 700;
    border-bottom: 1px solid #434c54;
    color: #000;
}

/* ========== STATUS / ALERT BOXES ========== */

span.event {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    color: #2a2e32;
    background-color: #f3f7fd;
    border-top: 4px solid #2a2e32;
    border-bottom: 4px solid #2a2e32;
    border-radius: 0.5rem;
}

span.event-Success {
    color: #fff;
    background-color: #2a2e32;
    border-color: #2a2e32;
}

span.event-Fail {
    color: #fff;
    background-color: #c95a57;
    border-color: #c95a57;
}

/* Badges */
span.circle-red {
    display: inline-block;
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #fff;
    background-color: #c95a57;
    text-align: center;
}

span.label {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    padding: 4px 6px;
    border-radius: 0.375rem;
    background-color: #2a2e32;
}

span.label-red {
    background-color: #c95a57;
}

span.label-orange {
    background-color: #EF9C52;
}

span.label-green {
    background-color: #5DC15D;
}

/* ========== PAGINATION ========== */

div.pagenav {
    float: right;
    font-size: 0.875rem;
    line-height: 1rem;
    font-weight: 700;
    color: #2a2e32;
}

div.pagenav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #434c54;
    border-radius: 1.5rem;
    height: auto;
    display: flex;
    overflow: hidden;
    background-color: #b0aeae;
}

div.pagenav ul li {
    border-left: 1px solid #434c54;
}

div.pagenav ul li:first-child {
    border-left: 0;
}

div.pagenav ul li a {
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1rem;
    font-weight: 700;
    color: #2a2e32;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

div.pagenav ul li a:hover,
div.pagenav ul li#currentpage {
    background-color: #2a2e32;
    color: #fff;
}

/* ========== FORMS ========== */

/* Wrapper */
.input-group {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    font-family: "Open Sans", sans-serif;
    font-size: 0.875rem;
    color: #000;
}

/* Inputs */
input[type=text],
input[type=password],
input[type=file],
input[type=email],
input[type=url],
input[type=search],
input[type=number],
select,
textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #434c54;
    border-radius: 0.25rem;
    background-color: #b0aeae;
    color: #000;
    font: 400 0.875rem/1.4 "Open Sans", sans-serif;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url('../images/down-arrow.png');
    background-position: 96% 50%;
    background-repeat: no-repeat;
    background-color: #b0aeae;
    padding-right: 2rem;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

textarea {
    resize: vertical;
    min-height: 6rem;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=file]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
input[type=number]:focus,
select:focus,
textarea:focus {
    border: 1px solid #2a2e32;
    box-shadow: 0 0 0 3px rgba(42,46,50,0.4);
    outline: none;
    background-color: #b0aeae;
}

/* Buttons -> gleiche Buttons wie .btn-solid-reg aus styles.css (rund, dunkel) */
input[type=submit],
input[type=reset],
input[type=button],
.button-primary {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 0.125rem solid #2a2e32;
    border-radius: 2rem;
    background-color: #2a2e32;
    color: #fff;
    font: 700 0.875rem/1rem "Open Sans", sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:hover,
.button-primary:hover {
    background-color: transparent;
    color: #2a2e32;
}

/* Checkbox wrapper */
.form-check-ab {
    position: relative;
    display: block;
    padding-left: 2.25rem;
    padding-top: 5px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #000;
}

/* ========== FOOTER BAR (.footer) ========== */
/* Gleiche Dark-Bar-Optik wie .footer in styles.css */

div.footer {
    background-color: #2a2e32;
    color: #f3f7fd;
    min-height: 2rem;
    height: auto;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 -0.0625rem 0.375rem rgba(0,0,0,0.4);
}

div.footer a {
    color: #f3f7fd;
    text-decoration: none;
    transition: all .2s ease;
    font-weight: 600;
}

div.footer a.footer-current,
div.footer a:hover,
div.footer a.sign-in:hover {
    color: #2a2e32;
    background-color: #f3f7fd;
    border-radius: 0.375rem;
}

div.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

div.footer ul li {
    margin: 0;
    padding: 0;
}

div.footer ul li a {
    display: block;
    padding: 0 0.75rem;
    line-height: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

div.footer ul li:first-child a {
    border-left: 0;
}

/* ========== EXTRA ========== */

span#refreshBar {
    float: right;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #000;
    padding-top: 0.5rem;
}

ul.tabmenu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

ul.tabmenu li {
    margin-right: 0.5rem;
}

ul.tabmenu li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #2a2e32;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1rem;
    border: 1px solid #434c54;
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #b0aeae;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul.tabmenu li a:hover,
ul.tabmenu li a.current {
    background-color: #2a2e32;
    color: #fff;
}

/* moderation tools */
.mod_tool {
    color: #2a2e32;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    transition: color .15s ease;
    text-decoration: none;
    cursor: pointer;
}

.mod_tool:hover {
    color: #000;
}

.mod_tool-dark {
    color: #fff;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    transition: color .15s ease;
    text-decoration: none;
    cursor: pointer;
}

.mod_tool-dark:hover {
    color: #dcdcdc;
}

{
    margin: 0;
    padding: 0;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #000000;
    background: #6e6d6d;
    text-align: center
}

div#content
{
    min-height: 250px;
    padding: 10px;
    background: #6e6d6d;
}
