
/* Tatort Giftschrank Plugin Styles */
.tatort-content-card {
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tatort-stats-card {
    background-color: #e7f3ff;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.tatort-stats-card h4 {
    margin-top: 0;
    color: #0d6efd;
}

.tatort-table th {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 25px;
}

.tatort-table th:hover {
    background-color: #f8f9fa;
}

.tatort-table .table-dark th:hover {
    background-color: #495057;
}

.tatort-table a {
    color: #0d6efd;
    text-decoration: none;
}

.tatort-table a:hover {
    text-decoration: underline;
}

.sort-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    transition: opacity 0.2s;
}

.sort-arrow.active {
    opacity: 1;
}

.sort-arrow::after {
    content: "↕";
    font-size: 12px;
}

.sort-arrow.asc::after {
    content: "↑";
}

.sort-arrow.desc::after {
    content: "↓";
}

.highlight-old {
    background-color: #fff3cd !important;
}

.highlight-very-old {
    background-color: #f8d7da !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tatort-content-card {
        padding: 10px;
        margin: 10px;
    }
    
    .tatort-table {
        font-size: 0.85rem;
    }
    
    .tatort-table th,
    .tatort-table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Bootstrap-kompatible Alerts falls nicht vorhanden */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
