/*
Theme Name: Tipni Jinak
Theme URI: https://webotvurci.cz
Author: Webotvůrci
Author URI: https://webotvurci.cz
Description: Šablona pro web Tipni Jinak založená na existujících statických souborech
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tipnijinak
*/

/* Originální styly budou načteny z CSS souboru */
.main .main-competition {
    padding-bottom: 0;
}

.main .main-competition .img-holder img {
    object-fit: contain;
}
.pagination-next.disabled,
.pagination-prev.disabled{
    opacity: .1;
}
 .guessing-summary {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.guessing-summary>div {
    font-weight: 500;
}

.guessing-summary__points {
    color: #FF443B;
}
.pagination a {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 9;
    position: relative;
}
.user-match-tip {
    margin-left: auto;
    text-align: center;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
}

.user-match-tip.correct-tip {
    color: #18AB00;
    background-color: rgba(24, 171, 0, 0.1);
}

.user-match-tip.wrong-tip {
    color: #FF443B;
    background-color: rgba(255, 68, 59, 0.1);
}

.user-match-tip.no-tip {
    color: #A6A9B8;
    font-style: italic;
}

.points-gained {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: #4CAF50;
    font-weight: bold;
}
.points-lost {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: #FF5722;
    font-weight: bold;
}

/* Statistiky tipování */
.tips-stats {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    padding: 25px;
    margin: 30px 0;
}

.tips-stats h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #fff;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-label {
    font-size: 14px;
    color: #A6A9B8;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FF443B;
}

/* Výsledky podle kol */
.rounds-results {
    margin-top: 30px;
}

.round-result {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    margin-bottom: 20px;
    overflow: hidden;
}

.round-header {
    padding: 20px;
    border-bottom: 1px solid #21222D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.round-header h4 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

 
.round-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.round-points {
    color: #FF443B;
    font-weight: 600;
}

.round-correct {
    color: #18AB00;
    font-weight: 600;
}

.round-result .matches {
    padding: 15px;
}

.round-result .match {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.round-result .match:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.pending-tip {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.pending-result {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* Ranking table */
.guessing-ranking table {
    width: 100%;
    border-collapse: collapse;
}

.guessing-ranking th,
.guessing-ranking td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #21222D;
}

.guessing-ranking th {
    color: #A6A9B8;
    font-weight: 500;
}

.guessing-ranking tr.current-user {
    background-color: rgba(255, 68, 59, 0.1);
}
@media (max-width: 991px) {
    .admin-bar .navigation-wrapper {
        top: 116px;
    }

    .admin-bar.scrolled .navigation-wrapper {
        top: 70px;
    }
}