﻿:root {
    --color-primary: #0d6efd;
    --color-primary-dark: #004b74;
    --color-text: #212529;
    --color-text-muted: #666;
    --color-bg: #fafafa;
    --color-bg-white: #ffffff;
    --color-border: #dee2e6;
    --color-bg-header: var(--color-bg-header);
    --color-hover: #f5f8ff;
}


body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 2rem;
    background: #fafafa;
}


#header {
    display: grid;
    grid-template-areas: "logo title";
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--color-primary), #0b5ed7);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: white;
}

    #header h1 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
        color: white;
    }


#logo {
    grid-area: logo;
    color: white;
}

#title {
    grid-area: title;
    text-align: center;
}



.filter-wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem 0;
}

    .filter-wrapper i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-text-muted);
        font-size: 0.9rem;
    }

#filter {
    padding: 0.5rem 0.5rem 0.5rem 2.2rem;
    width: 100%;
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    #filter:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    }
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

th, td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0.8rem;
    vertical-align: top;
}

th {
    background: linear-gradient(135deg, var(--color-primary), #0b5ed7);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 10;
}

td:first-child {
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    width: 200px;
}

tr:hover {
    background: var(--color-hover);
}

tbody tr:last-child td {
    border-bottom: none;
}


.note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--color-bg-white);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    line-height: 1.6;
}


i.fa-regular
{
    margin-right: 10px;
}

a {
    color: var(--color-primary-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

    a:hover {
        text-decoration: underline;
        color: var(--color-primary);
    }

td a {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.15s ease;
}

td a:hover {
    background-color: #ffe0e0;
    text-decoration: none;
}

    td a.link {
        display: inline;
        margin-top: 0;
        padding: 0;
        background-color: transparent;
        border: none;
        border-radius: 0;
    }


i.fa-regular {
    margin-right: 6px;
    color: #dc3545;
}

#aktenTabelle .group-header td {
    background: #eef3f8;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}