/* ===== BODY & CONTAINER ===== */
body {
    background: #1e1e1e;
    color: #e6e6e6;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    text-align: center;
}

/* ===== HEADLINES ===== */
h1 {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 10px;
    background: #333;
    border: 2px solid #555;
    margin-bottom: 10px;
    font-size: 28px;
}

h3 {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 10px;
    background: #2c2c2c;
    border: 1px solid #777;
    margin-bottom: 25px;
    font-size: 16px;
}

/* ===== SEARCH ===== */
#search {
    width: 400px;
    padding: 10px;
    border-radius: 20px;
    border: none;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
}

/* ===== TABLE WRAPPER ===== */
.table-wrapper {
    border-radius: 0px;
    background: rgba(40,40,40,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 8px 25px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05);

    /* Kein eigenes Scrollen */
    overflow: visible;
}

/* ===== TABLE ===== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* ===== TABLE HEADER ===== */
th {
    position: sticky;
    top: 0;          /* Header bleibt oben beim Scrollen */
    z-index: 20;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    background: linear-gradient(to bottom, rgba(70,70,70,0.95), rgba(50,50,50,0.95));
    border: 1px solid rgba(255,255,255,0.08);
}

/* Header Schatten */
th::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 6px;
    background: linear-gradient(rgba(0,0,0,0.5), transparent);
}


/* ===== BODY CELLS ===== */
td {
    padding: 8px 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.04);
}

/* Zebra & Hover */
tr:nth-child(even) { background: rgba(255,255,255,0.02); }
tr:hover { background: rgba(100,150,255,0.08); transition: 0.15s ease; }

/* Dicke Trennlinie */
.dickl { border-left: 4px solid rgba(255,255,255,0.15) !important; }

/* Checkbox */
input[type="checkbox"] { transform: scale(1.3); cursor: pointer; }
