/* ============================================================
   Path: /qbh2h/assets/css/tables.css
   Description: Table-specific layout and comparison styling
   ============================================================ */

.main-content {
    width: 100%;
    margin-top: 20px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--elf-blue);
    border-bottom: 2px solid var(--elf-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.comparison-block {
    width: 100%;
    margin-bottom: 50px;
}

.comparison-table {
    width: 100% !important;
    border-collapse: collapse;
    background: transparent;
    table-layout: fixed;
    position: relative;
    z-index: 1;
}

/* Header Styling */
.comparison-table th {
    background: var(--elf-blue);
    color: var(--elf-white);
    padding: 15px;
    text-align: left;
    vertical-align: middle;
}

/* Row & Cell Styling */
.comparison-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    background: transparent; /* Ermöglicht Wasserzeichen-Sichtbarkeit */
}

.comparison-table .stat-label {
    text-align: left;
    font-weight: 500;
    color: #555;
    width: 25%;
}

/* Category Separator */
.comparison-table .stat-cat {
    background: rgba(233, 238, 246, 0.6) !important;
    text-align: left;
    font-weight: bold;
    color: var(--elf-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Highlight for better value */
.highlight {
    background: var(--elf-highlight);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* QB Header Details */
.qb-header-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 6px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    min-width: 60px;
}

.header-logo {
    height: 55px !important; /* Etwas größer und mit !important erzwingen */
    width: auto;
    /* Weißer Glow-Effekt für dunkle Header */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) !important;
    display: block;
}

.header-logo-mini {
    height: 32px !important; /* Erhöht von 30px */
    width: auto;
    margin: 2px;
    /* Dezenterer Glow für kleine Logos */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) !important;
}

.qb-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.qb-name {
    font-size: 1.1rem;
    font-weight: bold;
}

.season-label {
    font-weight: normal;
    font-size: 0.85rem;
    opacity: 0.8;
}

.qb-team {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 3px;
}