#passDruckButton.disabled,
#passDruckButton[aria-disabled="true"] {
    pointer-events: auto;
    cursor: pointer;
}

.dashboard-card {
    overflow: visible;
    background: #1a1a20;
    border: 1px solid #34343d;
}

.dashboard-card-header {
    border-bottom: 1px solid #34343d !important;
    gap: 0.75rem;
}

.dashboard-card-body {
    padding: 1.5rem;
    background: #1a1a20;
    overflow: visible;
}

.collapse-toggle-btn {
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: transparent;
}

.collapse-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.collapse-toggle-btn i {
    transition: transform 0.2s ease;
    display: inline-block;
}

.clickable-row.selected-row {
    background-color: #dbeafe;
}

.clickable-row.selected-row td {
    font-weight: 600;
}

.dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-table thead th {
    background-color: #64748b;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid #475569;
}

.dashboard-table th,
.dashboard-table td {
    padding: 0.6rem 0.9rem;
    border-right: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
    vertical-align: middle;
}

.dashboard-table th:last-child,
.dashboard-table td:last-child {
    border-right: none;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.dashboard-table tbody tr:nth-child(even) {
    background-color: #f3f4f6;
}

.dashboard-table tbody tr:hover {
    background-color: #e5e7eb;
}

.dashboard-table tbody tr.selected-row {
    background-color: #dbeafe !important;
}

.dashboard-table tbody tr.selected-row:hover {
    background-color: #bfdbfe !important;
}

.dashboard-accent-tabs {
    border-bottom-color: #d9a0a7;
    overflow: visible;
    position: relative;
    z-index: 20;
}

.dashboard-accent-tabs .nav-link {
    color: #e9b9be;
    background: #22161a;
    border: 1px solid #3a2429;
    border-bottom: none;
    margin-right: 0.35rem;
}

.dashboard-accent-tabs .nav-link:hover {
    background: #2b1a1f;
    color: #ffd7da;
    border-color: #5a3a40;
}

.dashboard-accent-tabs .nav-link.active,
.dashboard-accent-tabs .nav-link.active-category,
.dashboard-all-tab.active {
    color: #ffffff;
    background: linear-gradient(135deg, #c95a66, #b94b58);
    border-color: #b94b58;
    box-shadow: 0 0 0 0.12rem rgba(185, 75, 88, 0.25);
}

.dashboard-accent-tabs .dropdown {
    position: relative;
}

.dashboard-accent-tabs .dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
    z-index: 3000;
}

.dashboard-accent-tabs .dropdown-item.active {
    background-color: #b94b58;
    color: #ffffff;
}

.dashboard-all-tab {
    margin-left: 0.75rem;
    position: relative;
}

.dashboard-all-tab::before {
    content: "";
    position: absolute;
    left: -0.55rem;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: #5a3a40;
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    .dashboard-card-body {
        padding: 1.25rem;
    }
}

.profile-upload-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-upload-wrapper:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.profile-upload-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-upload-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(102, 16, 242, 0.8));
}

.profile-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-upload-overlay i {
    font-size: 1.6rem;
}

.profile-upload-wrapper:hover .profile-upload-overlay {
    opacity: 1;
}

.stempel-zelle {
    text-align: center;
    width: 90px;
    vertical-align: middle;
}

.stempel-inhalt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 62px;
}

.eintrag-stempel-marke {
    --stempel-x: 0px;
    --stempel-y: 0px;
    --stempel-rotation: -14deg;
    --stempel-opacity: 0.78;
    --stempel-color: #b00020;
    --stempel-filter: brightness(0) saturate(100%) invert(17%) sepia(95%) saturate(4931%) hue-rotate(352deg) brightness(91%) contrast(95%);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: var(--stempel-color);
    transform:
            translate(var(--stempel-x), var(--stempel-y))
            rotate(var(--stempel-rotation));
    opacity: var(--stempel-opacity);
}

.eintrag-stempel-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: var(--stempel-filter);
    border: 2px solid var(--stempel-color);
    border-radius: 50%;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--stempel-color) 25%, transparent);
}

.eintrag-stempel-text {
    display: inline-block;
    color: var(--stempel-color);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
    margin-left: -0.35rem;
    transform: rotate(90deg);
    transform-origin: center;
}

.pruefer-stempel-logo {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-top: 0.35rem;
    transform: rotate(-10deg);
    opacity: 0.82;
    filter: brightness(0) saturate(100%) invert(17%) sepia(95%) saturate(4931%) hue-rotate(352deg) brightness(91%) contrast(95%);
}

.pruefer-stempel-box {
    position: relative;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pruefer-stempel-hintergrund {
    --stempel-x: 0px;
    --stempel-y: 0px;
    --stempel-rotation: -12deg;
    --stempel-opacity: 0.4;

    position: absolute;
    width: 68px;
    height: 68px;
    object-fit: contain;
    opacity: var(--stempel-opacity);
    transform:
            translate(var(--stempel-x), var(--stempel-y))
            rotate(var(--stempel-rotation));
    filter: brightness(0) saturate(100%) invert(17%) sepia(95%) saturate(4931%) hue-rotate(352deg) brightness(91%) contrast(95%);
    z-index: 1;
    pointer-events: none;
}

.pruefer-stempel-text {
    position: relative;
    z-index: 2;
    text-align: center;
    line-height: 1.2;
    padding: 0.28rem 0.45rem;
}

.pruefer-titel {
    font-size: 0.72rem;
    font-weight: 800;
    color: #7a0f18;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.08rem;
}

.pruefer-name {
    font-weight: 700;
    color: #000000;
}

.teilnahme-ereignis-zelle {
    position: relative;
}

.teilnahme-hover-bilder {
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    padding: 0.75rem;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.teilnahme-hover-bild-item {
    min-width: 180px;
}

.teilnahme-hover-bild-label {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
}

.teilnahme-hover-bild-item img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 190px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.teilnahme-hover-bild-item img[alt="Urkunde zur Teilnahme"] {
    max-width: 320px;
    max-height: 420px;
    object-fit: contain;
}

.teilnahme-ereignis-zelle:hover .teilnahme-hover-bilder {
    display: flex;
}

.teilnahme-medien-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.86);
}

.teilnahme-medien-dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: 92vh;
    overflow-y: auto;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

.teilnahme-medien-close {
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
    margin-left: auto;
    margin-bottom: 0.75rem;
    border: 0;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    color: #ffffff;
    background: #dc3545;
    font-weight: 700;
}

.teilnahme-medien-dialog .teilnahme-hover-bilder {
    position: static;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.teilnahme-medien-dialog .teilnahme-hover-bild-item {
    flex: 1 1 0;
}

.teilnahme-medien-dialog .teilnahme-hover-bild-item img {
    width: 100%;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

@media (max-width: 768px) {
    .teilnahme-ereignis-zelle {
        cursor: pointer;
    }

    .teilnahme-ereignis-zelle:has(.teilnahme-hover-bilder)::after {
        content: "  📎";
        font-size: 0.9rem;
    }

    .teilnahme-ereignis-zelle:hover .teilnahme-hover-bilder {
        display: none;
    }

    .teilnahme-hover-bilder {
        display: none;
    }

    .teilnahme-medien-dialog .teilnahme-hover-bilder {
        display: flex;
        flex-direction: column;
    }

    .teilnahme-medien-dialog .teilnahme-hover-bild-item {
        min-width: 0;
    }

    .teilnahme-medien-dialog .teilnahme-hover-bild-label {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        color: #333333;
    }

    .teilnahme-medien-dialog .teilnahme-hover-bild-item img {
        max-height: 78vh;
    }
}