@import 'aplausometro.css';

/* Contenedor Principal */
.voting-card {
    background: #0D0535;
    color: #fff;
    /* border-radius: 24px; */
    max-width: 960px;
    margin: auto;
    padding: 24px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .45);
    margin-bottom: 30px;
}
.voting-card__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    justify-content: center;
}

.voting-card__thumb {
    width: 270px;
    height: auto;
}

.voting-card__title {
    /* font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0; */
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 5px;
    text-align: center;
    margin: auto auto 48px;
    text-transform: uppercase;
}

.voting-card__content {
    padding-top: 8px;
}

.voting-step__instruction {
    text-align: center;
    font-weight: 600;
    opacity: .85;
    margin-bottom: 18px;
}

.rating-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.rating-option {
    display: grid;
    grid-template-columns: 26px 26px 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px 35px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12);
    color: #e9e3f5;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.rating-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

.rating-option__number {
    font-weight: 700;
    opacity: .85;
}

.rating-option__star {
    width: 22px;
    height: 22px;
    color: #cbb6ff;
}

.rating-option__label {
    text-align: right;
}

.rating-option.active {
    background: linear-gradient(135deg, #8f2bff 0%, #b44cff 100%);
    border-color: transparent;
    color: #fff;
}

.rating-option.active .rating-option__star {
    color: #fff;
}

.summary-badge {
    display: inline-block;
    margin: 0 auto 18px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #8f2bff, #b44cff);
    font-weight: 700;
    text-align: center;
    font-size: 30px;
}
.text-summary {
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 5px;
    text-align: center;
    text-transform: uppercase;
}

.gaviota-prompt {
    /* background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px; */
    padding: 18px;
}

.gaviota-prompt__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.gaviota-prompt__actions {
    display: flex;
    gap: 14px;
}

.gaviota-swiper {
    padding-bottom: 50px !important; 
    overflow: hidden; 
}
.gaviota-swiper .gaviota-nav {
    position: relative !important;
    z-index: 50 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
}

.gaviota-swiper .gaviota-nav .swiper-button-prev,
.gaviota-swiper .gaviota-nav .swiper-button-next {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
}

.gaviota-swiper .gaviota-nav .swiper-button-prev::after,
.gaviota-swiper .gaviota-nav .swiper-button-next::after {
    font-size: 18px !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.gaviota-swiper .gaviota-nav .gaviota-pagination,
.gaviota-swiper .gaviota-nav .swiper-pagination {
    position: relative !important;
    width: auto !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-family: 'Saira', sans-serif !important;
    font-size: 14px !important;
    text-align: center !important;
}

.gaviota-swiper .gaviota-nav .swiper-pagination-fraction {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 10px;
}

.button {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.button--yes {
    background: linear-gradient(135deg, #8f2bff, #b44cff);
    color: #fff;
}

.button--no {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.button-back {
    background: white;
    border-radius: 14px;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    text-transform: uppercase;
    font-family: 'Saira';
    font-size: 16px;
    font-weight: 500;
    color: #190839;
    margin: 30px auto 0;
}

.voting-step--final {
    text-align: center;
}

.results-display__thanks {
    margin-bottom: 16px;
    font-family: 'Saira';
    text-transform: uppercase;
}

.results-display__charts {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}
.final-results {
    display: flex;
    align-items: center;
}
.results-display {
    background: #30214D;
    padding: 15px;
}

@media (min-width: 768px) {
    .voting-card {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 28px;
        align-items: end;
    }

    .voting-card__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0;
    }

    .voting-card__thumb {
        width: 100%;
        height: auto;
    }

    .voting-card__title {
        margin-top: 16px;
        font-size: 1.4rem;
    }

    .voting-step__instruction {
        text-align: left;
    }
    .gaviota-prompt__actions {
        display: flex;
        gap: 14px;
        flex-direction: column;
    }
    .text-summary {
        width: 200px;
    }
    .button-back {
        position: relative;
        /* left: 40px; */
    }
}

.artistas-votaciones-titulo {
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 5px;
    text-align: center;
    max-width: 296px;
    margin: auto auto 48px;
    text-transform: uppercase;
}

.artistas-votaciones-subtitulo {
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 5px;
    text-align: center;
    margin: auto auto 48px;
    text-transform: uppercase;
}

.section-votaciones {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.opcion-voto {
    width: 330px;
    border: 1px solid;
    height: 34px;
    display: flex;
    border-radius: 15px;
    margin: 10px;
    align-items: center;
}

.evaluacion-puntaje {
    display: flex;
    margin-bottom: 20px;
    width: 350px;
}

.foto-artista {
    width: 265px;
}

.nombre-artista {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: 5px;
    text-align: center;
    margin: auto auto 48px;
    text-transform: uppercase;
}

.puntaje-obtenido {
    width: 100px;
    margin-left: 20px;
    background-color: #9222DC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: Saira;
    font-weight: 500;
    font-size: 30px;
    padding: 10px;
}

.texto-puntaje {
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
}

.gaviota-container.gaviota-ready {
    background: #30214D;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
    font-family: Saira;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .section-votaciones {
        display: flex;
        justify-content: space-around;
        flex-direction: row;
    }
    .gaviota-swiper .gaviota-nav {
        margin-top: 30px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}