.odds-button {
    cursor: pointer;
}

.prizes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.competitions .main-competition {
    padding: 20px 140px 10px 30px;
}

.competitions .main-competition .competition-description {
    width: 100%;
    max-width: unset;
}




.prize-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #16151e;
    border-radius: 8px;
    border: 1px solid #141414;
}

.prize-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.prize-image-clickable {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.prize-image-clickable:hover {
    opacity: 0.8;
}

.prize-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.prize-content p {
    margin: 0;
    color: #bbbbbb;
    font-size: 14px;
}

.prize-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prize-info span {
    font-size: 14px;
    font-weight: 500;
}

.no-prize {
    color: #999;
    font-style: italic;
}

/* Lightbox styly */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

.league .window-switcher li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.league .window-switcher li img {
    border-radius: 100%;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.single-soutez .competition-text .subtitle {
    margin-top: 0;
    text-align: left;
    margin-left: 0;
}

/* Styly pro uzamčené tipy */
.odds-button[data-saved="true"] {
    cursor: not-allowed;
    opacity: 0.8;
    position: relative;
}

/* Styly pro expirované zápasy */
.odds-button[data-expired="true"] {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.match-expired-message {
    font-size: 12px;
    color: #A6A9B8;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
}

.odds-button[data-saved="true"]::after {
    content: "🔒";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
}

.odds-button[data-saved="true"]:not(.active) {
    pointer-events: none;
    opacity: 0.4;
}

.odds-button[data-saved="true"].active {
    background-color: #18AB00;
    border: 2px solid #18AB00;
}


/*
.window-switcher li:hover {
    color: #fff;
}

.window-switcher li.active {
    color: #fff;
    font-weight: 500;
}
 
.window-switcher__windows > div {
    display: none;
    padding: 30px 0;
}

.window-switcher__windows > div.active {
    display: block;
}

 
.two-columns {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.two-columns__column {
    flex: 1;
}

.two-columns__column.left {
    flex: 2;
}

.two-columns__column.right {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    padding: 20px;
    max-width: 300px;
}

.matches-recap {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.matches-recap .match {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.matches-recap .match:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.matches-recap .match-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matches-recap .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.matches-recap .team-name {
    font-size: 12px;
    text-align: center;
}

.matches-recap .logo-holder {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matches-recap .logo-holder img {
    max-width: 100%;
    max-height: 100%;
}

.matches-recap .odd {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #FF443B;
    border-radius: 50%;
    margin: 10px auto 0;
    font-size: 12px;
    font-weight: 700;
}

.matches-left {
    font-size: 14px;
    color: #A6A9B8;
    margin-bottom: 20px;
    text-align: center;
}

.matches-recap span {
    color: #A6A9B8;
}

.no-tips-yet {
    text-align: center;
    padding: 20px 0;
    color: #A6A9B8;
}

 
.round {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.round h3 {
    margin: 0 0 10px;
}

.round-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #A6A9B8;
}

.league {
    margin-top: 20px;
}

.league-title {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px 8px 0 0;
    border: 1px solid #21222D;
    border-bottom: none;
    padding: 15px;
}

.league-title h3 {
    margin: 0 0 15px;
}

.league-title .window-switcher {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.league-title .window-switcher li {
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid #21222D;
    border-radius: 16px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-title .window-switcher li .league-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.league-title .window-switcher li.active {
    background: linear-gradient(90deg, #B93532 0%, #FF443B 100%);
    border-color: transparent;
}

.league-title .window-switcher li.active::after {
    display: none;
}

.league-matches {
    display: none;
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border: 1px solid #21222D;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 15px;
}

.league-matches.active {
    display: block;
}

 
.match {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.match:last-child {
    border-bottom: none;
}

.match:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.match-time {
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
}

.match-time__hours {
    font-size: 16px;
    font-weight: 700;
}

.match-time__date {
    font-size: 12px;
    color: #A6A9B8;
}

.match-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home.team {
    flex-direction: row-reverse;
    text-align: right;
}

.team-name {
    font-weight: 500;
}

.logo-holder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-holder img {
    max-width: 100%;
    max-height: 100%;
}

.match-score {
    font-weight: 700;
    font-size: 18px;
    padding: 0 15px;
}

.odds {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.odds-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 30px;
    position: relative;
}

.odds-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.odds-button.active, .odds-button.selected {
    background-color: #FF443B;
}

.odds-value {
    font-size: 10px;
    position: absolute;
    bottom: -16px;
    color: #A6A9B8;
}

.points-indicator {
    font-size: 9px;
    position: absolute;
    bottom: -28px;
    color: #FF9800;
    font-weight: 600;
}

.odds-points {
    margin-left: 15px;
    font-size: 12px;
    color: #A6A9B8;
}

 
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pagination.big {
    margin-top: 0;
}

.pagination-prev, .pagination-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-prev:hover, .pagination-next:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.pagination-prev.disabled, .pagination-next.disabled {
    opacity: 0.3;
    cursor: default;
}

.pagination-prev::before, .pagination-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #A6A9B8;
    border-bottom: 2px solid #A6A9B8;
}

.pagination-prev::before {
    transform: translate(-40%, -50%) rotate(135deg);
}

.pagination-next::before {
    transform: translate(-60%, -50%) rotate(-45deg);
}

 
.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;
}

.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-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #A6A9B8;
}

.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;
}


.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);
}


.other-competitions {
    margin-top: 40px;
}

.competitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.competitions-grid .competition {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.competitions-grid .competition:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.competitions-grid .img-holder {
    height: 180px;
    overflow: hidden;
}

.competitions-grid .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.competitions-grid .competition:hover .img-holder img {
    transform: scale(1.05);
}

.competitions-grid .competition-text {
    padding: 20px;
}

.competitions-grid .subtitle {
    color: #A6A9B8;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.competitions-grid h3 {
    margin: 0 0 15px;
    font-size: 20px;
}

.competitions-grid .competition-description {
    color: #A6A9B8;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.competitions-grid .btn-holder {
    display: flex;
    justify-content: flex-end;
}


.competition-locked {
    background: linear-gradient(180deg, #24242F 0%, #15131D 100%);
    border-radius: 8px;
    border: 1px solid #21222D;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.lock-message h2 {
    margin-bottom: 20px;
}

.lock-message p {
    margin-bottom: 25px;
    color: #A6A9B8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-purchase-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 30px auto;
}

.product-price {
    font-size: 24px;
    color: #FF443B;
    font-weight: 700;
    margin: 15px 0;
}

.product-description {
    margin-bottom: 20px;
    font-size: 14px;
}

.product-actions,
.auth-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}


.tips-feedback {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 5px;
    display: none;
}

.tips-feedback.success {
    background-color: rgba(24, 171, 0, 0.15);
    color: #18AB00;
    display: block;
}

.tips-feedback.error {
    background-color: rgba(255, 68, 59, 0.15);
    color: #FF443B;
    display: block;
}

.login-to-tip,
.login-to-view-results,
.no-leaderboard-data,
.no-completed-matches {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
}

.login-to-tip p,
.login-to-view-results p {
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .two-columns {
        flex-direction: column;
    }

    .two-columns__column.right {
        max-width: 100%;
    }

    .guessing-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .window-switcher {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .window-switcher li {
        padding: 10px 15px;
        font-size: 14px;
    }

    .match {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .match-time {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-right: 0;
    }

    .match-info {
        width: 100%;
    }

    .odds,
    .user-match-tip {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .odds-points {
        text-align: center;
        margin-left: 0;
        margin-top: 5px;
    }
}