﻿/* Centrovanie celého kontajnera */
.report-container {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Centrovanie nadpisov */
.top20-container h1, 
.top20-container h2 {
    text-align: center;
    display: block;
    margin: 10px 0;
}

/* Centrovanie tabuľky */
.top20-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 0 auto;
}

.top20-table th, .top20-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.top20-table th {
    background-color: #4a4a4a;
    color: white;
}

.odd-row {
    background-color: #f2f2f2;
}

.even-row {
    background-color: #e0e0e0;
}

.album-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #176AB4;
}

/* Farba a štýl odkazov */
a {
    color: #0073e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Šírky a zarovnanie jednotlivých stĺpcov */
.top20-table th:nth-child(1), .top20-table td:nth-child(1),
.top20-table th:nth-child(2), .top20-table td:nth-child(2),
.top20-table th:nth-child(6), .top20-table td:nth-child(6) {
    width: 5%;
    text-align: center;
}

.top20-table th:nth-child(3), .top20-table td:nth-child(3),
.top20-table th:nth-child(4), .top20-table td:nth-child(4) {
    width: 30%;
}
.top20-table td:nth-child(3), .top20-table td:nth-child(4) {
    text-align: left;
}
.top20-table th:nth-child(5), .top20-table td:nth-child(5) {
    width: 8%;
    text-align: center;
    word-wrap: break-word;
}

/* Hover zväčšenie album-image */
.album-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #176AB4;
    transition: transform 0.3s ease, z-index 0.3s ease;
    transform-origin: left center;
}
.album-image:hover {
    transform: scale(4.1);
    transform-origin: left center;
    z-index: 10;
    position: relative;
}

/* Wrapper pre celú históriu */
.history-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

/* Štýl nadpisov rokov */
.year-title {
    background-color: #f2f2f2;
    color: #333;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
    margin: 5px;
    text-align: center;
}

.year-title:hover {
    background-color: #e0e0e0;
}

.year-title.active-year {
    background-color: #176AB4;
    color: white;
    font-weight: bold;
}

/* Kontajner pre dlaždice reportov */
.report-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Jedna dlaždica */
.report-item a {
    display: block;
    padding: 10px 14px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #0073e6;
    text-decoration: none;
    min-width: 120px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.report-item a:hover {
    background-color: #e0e0e0;
}

/* Aktívna vybraná dlaždica */
.report-item a.active-report {
    background-color: #176AB4;
    color: white;
    font-weight: bold;
    border: 1px solid #176AB4;
}

.year-blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Nový wrapper len pre tlačidlá rokov */
.year-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

