﻿.htmx-indicator, #grouped-fixtures-loader {
    display: none;
    position: relative;
}
.htmx-indicator {
    top: -29px;
}
.htmx-request.htmx-indicator {
    display: inline;
}
.htmx-request#grouped-fixtures-loader {
    display: block;
}

.questions-single-placeload.is-card {
    padding: 17px 30px 40px 17px !important;
    border-radius: .85rem;
}

.questions-settings .settings-body .switch-block {
    margin-bottom: 0;
}

.f-switch.is-accent input:checked + i {
    background-color: var(--default);
}

body.is-dark .f-switch.is-accent input:checked + i {
    background-color: var(--default) !important;
}

body.is-dark .questions-settings .settings-body .switch-block span:first-child {
    color: #fafafa;
}
/*
.fab-wrapper.is-share a {
    background: var(--default);
}*/

.mdi-heart::before {
    content: "\F2D1";
}

.mdi:before, .mdi-set {
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*.share-fab {
    animation: pulse 1s infinite;
}*/

.countries-search, .leagues-search {
    padding-top: 10px;
}

    .countries-search .control, .leagues-search .control {
        position: relative;
        margin-bottom: 0.5rem;
    }

        .countries-search .control .input, .leagues-search .control .input {
            position: relative;
            height: 38px;
            padding-right: 85px;
            padding-left: 38px;
            padding-bottom: 8px;
            transition: all .4s;
            background: #f7f7f7;
            border-color: #f7f7f7;
        }

        .countries-search .control .search-icon, .leagues-search .control .search-icon {
            position: absolute;
            top: 0;
            left: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 38px;
            width: 38px;
            z-index: 1;
        }

.actions-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 10px !important;
}
.button-label {
        color: #c6c6c6;
        margin-top: 8px;
        font-size: 0.8rem;
    }

.stories-content h1 {
    color: #999;
    font-size: 0.88rem;
}
.total-fixtures {
    font-size: .75rem;
    color: #393a4f;
    font-weight: 500;
}
body.is-dark .total-fixtures {
    color: #fafafa;
}
body.is-dark .input {
    color: unset;
}
.post-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: .75rem !important;
}

.team-logos {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden; /* Garante que o zoom não ultrapasse os limites */
}

.team-logo {
    width: 45%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
    filter: blur(1px); /* Aplica o blur padrão */
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease; /* Transições suaves */
}

.team-logos:hover .team-logo {
    filter: none; /* Remove o blur no hover */
    opacity: 1; /* Torna a imagem totalmente visível */
    transform: scale(1.1); /* Aplica o efeito de zoom suave */
}

.team1 {
    transform: rotate(-10deg);
}

.team2 {
    transform: rotate(10deg);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Escurecimento do fundo */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: .75rem;
    pointer-events: none;
}

.team-names {
    display: flex;
    flex-direction: row; /* Organiza os elementos em uma linha */
    align-items: center;
    gap: 10px; /* Espaçamento entre os nomes e o "vs" */
    position: relative;
}

.team-name {
    font-weight: bold;
    color: #ccc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap; /* Evita que o nome quebre em várias linhas */
}

.versus {
    font-size: 1em;
    font-weight: normal;
    color: #ccc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-name, .versus {
    font-size: clamp(2.5em, 2vw, 1.6rem);
}

.game-title {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center; /* Centraliza o texto */
    white-space: normal; /* Permite que o texto quebre em várias linhas */
    word-spacing: 0.2em; /* Adiciona espaçamento entre as palavras */
    padding: 0 10px; /* Adiciona um espaçamento interno para evitar que o texto encoste nas bordas */
}

.game-title {
    font-size: clamp(1em, 2vw, 1.5em); /* Ajusta o tamanho da fonte com base na largura da tela */
}

.team-name {
    white-space: normal;
    word-wrap: break-word;
}

.card.is-post .likers-text {
    display: block !important;
}

@media (max-width: 768px) {
    .post-cover {
        width: 100%;
        height: auto;
    }

    .team-logo {
        width: 40%;
    }

    .game-title {
        font-size: 1.2em;
    }
}

@media (max-width: 397px) {
    .card.is-post .likers-group {
        display: none !important;
    }
}