@import url('./roulette.css?ver=0.0.1');
@import url('./prizebox.css?ver=0.0.1');

/* Adicionar ao final do arquivo app.css existente */
/* Estilo para os botões de redes sociais */
.social-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.social-button-item {
    flex: 1;
    min-width: 100px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    background-color: #333;
    color: white;
    transition: background-color 0.3s;
}

.social-button.grupo {
    background-color: #25D366;
}

.social-button.whatsapp {
    background-color: #25D366;
}

.social-button.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-button i {
    font-size: 24px;
    margin-bottom: 5px;
}

.social-button-text {
    font-size: 12px;
}

/* Carrossel de imagens */
.raffle-carousel {
    position: relative;
    margin: 0;
    overflow: hidden;
    background-color: #212b36;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 337px;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

/* Cabeçalho da rifa */
.raffle-header {
    background: linear-gradient(254deg, rgba(29, 86, 255, 0.01) 0px, rgb(0, 0, 0));
    z-index: 1;
    content: "";
    width: 100%;
    bottom: 0;
    position: absolute;
    padding: 4px 15px 15px;
}

.raffle-status {
    margin-bottom: 10px;

    .status-badge {
        position: absolute;
        top: -25%;
        left: 2%;
    }
}

.status-label {
    font-size: 14px;
    color: #999;
    font-weight: bold;
}

.raffle-title {
    color: #fff;
    font-weight: 500;
    font-size: 1em;
    line-height: 1.2;
    margin: 0px;
    padding: 0px;
    word-break: break-word;
    text-align: left;
    text-transform: uppercase;
}

.raffle-subtitle {
    color: #fff;
    margin: 0px;
    line-height: 1.57143;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 400;
    font-size: 0.75em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Botão de ação */
.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    background-color: transparent;
    outline: 0px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.30;
    font-size: 0.8125rem;
    text-transform: capitalize;
    min-width: 64px;
    padding: 4px 5px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    width: 100%;
    background-image: linear-gradient(90deg, rgb(0, 0, 0), rgb(44, 44, 44));
    border-radius: 0px;
    overflow: hidden;
    position: relative;
}

.action-button::after {
    content: "";
    background-color: #1b3c2c;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s;
}

.action-button:active::after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s;
}

.action-button i {
    margin-right: 8px;
    font-size: 18px;
    color: rgb(255, 255, 255);
}

/* Formulário de participação */
.raffle-form {
    margin: 0;
    background-color: #212b36;
    padding: 0;
    border-radius: 10px;
}

.progress-container {
    position: relative;
    background-color: rgb(0, 82, 73);
    height: 20px;
    margin-bottom: 5px;
}

.progress-bar {
    position: absolute;
    height: 100%;
    background-color: #198754;
}

.progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    line-height: 1.5;
    font-size: 1rem;
    color: white;
}

.price-container {
    display: flex;
    align-items: center;
    margin: 0;
}

.price-label {
    color: #fff;
    margin: 0px;
    line-height: 1.57143;
    font-weight: 600;
    font-size: 0.75em;
}

.price-value {
    margin: 0px 0px 0px 8px;
    height: 22px;
    min-width: 22px;
    line-height: 0;
    border-radius: 6px;
    align-items: center;
    white-space: nowrap;
    display: inline-flex;
    justify-content: center;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 700;
    border: 1px solid rgba(145, 158, 171, 0.32);
    font-size: 1em;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 12px 8px;
    cursor: pointer;
}

.incentive-text {
    color: #fff;
    margin: 0px;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    font-size: 0.8em !important;
}

.tickets-select {
    padding: 10px 10px 0;
}

.ticket-options {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    /* Adicionado para permitir quebra de linha se necessário */
}

.ticket-option {
    position: relative;
    width: calc(100% / 2 - 2px);
    /* 33.33% menos o espaçamento entre as opções */
    padding: 10px;
    border: 2px solid #198754;
    background-color: #c8facd;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s;
    min-height: 77px;
    box-sizing: border-box;
    /* Garantir que padding não afete a largura */

    &.first {
        &::before {
            content: "Mais popular";
            background-color: rgb(25, 135, 84);
            border-radius: 0px 0px 10px 10px;
            position: absolute;
            font-size: 0.6em;
            padding: 1px;
            width: 76px;
            color: rgb(255, 255, 255);
            top: -2px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
        }
    }
}

.ticket-option.active {
    background-color: #000;
    color: #fff;
    border-color: transparent;

    .option-select {
        color: #fff;
    }
}

.option-quantity {
    text-align: center;
    font-weight: 600;
    font-size: 2em;
    margin: 0px;
    line-height: 1.3;
}

.option-select {
    font-size: 13px;
    margin: 0;
    color: #000;
}

.quant-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.quantity-selector {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border-radius: 8px;
    padding: 0 8px;
    margin: 0;
    height: 60px;
    box-sizing: border-box;
    border: 1px solid rgba(145, 158, 171, 0.32);
}

.quantity-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    min-width: 32px;
    /* Largura mínima em vez de fixa */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Impede que os botões encolham demais */
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    flex: 1;
    /* Mantém a expansão flexível */
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 4px 2px;
    /* Padding horizontal menor para telas pequenas */
    box-sizing: border-box;
    margin: 0 5px;
    min-width: 40px;
    /* Garante um tamanho mínimo para o input */
    min-height: 40px;
    width: calc(100% - 70px);
    /* Calcula o espaço descontando os botões */
}

.purchase-button {
    width: 50%;
    position: relative;
    box-sizing: border-box;
    outline: 0px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.71429;
    font-size: 0.875rem;
    font-family: Montserrat, Public Sans, sans-serif;
    min-width: 64px;
    padding: 6px 16px;
    color: rgb(255, 255, 255);
    background-color: rgb(25, 135, 84);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
    border-radius: 5px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-transform: none;
    justify-content: center;
    height: 60px;
}

/* Estilos para a content do botão de compra */
.purchase-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-text h6 {
    margin: 0;
    font-size: 14px;
}

.purchase-text p {
    margin: 0;
    font-size: 12px;
}

/* Media queries para responsividade */
@media (max-width: 992px) {

    .quantity-selector,
    .purchase-button {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .quant-select {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector,
    .purchase-button {
        width: 100%;
    }

    .purchase-button {
        margin-top: -3px;
    }
}

@media (max-width: 576px) {

    .quantity-selector,
    .purchase-button {
        height: 60px;
    }

    .quantity-btn {
        font-size: 18px;
    }

    .quantity-input {
        font-size: 14px;
    }

    .purchase-text h6 {
        font-size: 13px;
    }

    .purchase-text p {
        font-size: 11px;
    }
}

@media (max-width: 375px) {

    .quantity-selector,
    .purchase-button {
        margin-top: 2px;
        height: 64px;
    }

    .quantity-btn {
        font-size: 16px;
    }

    .purchase-content {
        gap: 5px;
    }

    .purchase-text h6 {
        font-size: 12px;
    }

    .purchase-text p {
        font-size: 10px;
    }
}

.purchase-button:hover {
    background-color: #0e5e39;
}

.purchase-content {
    display: flex;
    align-items: center;
}

.purchase-content svg {
    font-size: 24px;
    margin: 0;
}

.purchase-text {
    text-align: left;
}

.purchase-text h6 {
    margin: 0px;
    line-height: 1.5;
    font-size: 1rem;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 400;
}

.purchase-text p {
    margin: 0;
    font-size: 1.125rem;
    ;
}

/* Regulamento */
.regulation-card {
    margin-bottom: 20px;
}

.regulation-header {
    padding: 0;
    color: #fff;
}

.regulation-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    background-color: transparent;
    outline: 0px;
    border: 0px;
    margin: 0px;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    color: inherit;
    line-height: 1.71429;
    text-transform: capitalize;
    font-family: Montserrat, Public Sans, sans-serif;
    min-width: 64px;
    padding: 6px 16px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 700;
    height: 20px;

    &:hover {
        color: rgb(25, 135, 84);
        background-color: rgba(255, 255, 255, 0.08);
    }
}

.regulation-toggle svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    transition:
        transform 0.2s ease-in-out, transform 0.2s ease-in-out, transform 0.2s ease-in-out;
    animation:
        0.1s linear spinOut;
}

.regulation-content {
    padding: 0 15px 15px;
    color: white;
    font-size: 14px;
}

.regulation-content p {
    margin-bottom: 10px;
}

.section-title {
    padding: 0 10px !important;
}

/* Ganhadores */
.winners-container {
    margin-bottom: 20px;
}

.winners-grid {
    margin: 0 10px;
}

.winner-ticket-card {
    padding: 0;
}

.winner-ticket-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    background-image: none;
    overflow: hidden;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 2px 0px, rgba(0, 0, 0, 0.12) 0px 12px 24px -4px;
    z-index: 0;
    padding: 4px;
    border-radius: 8px;
    background-color: rgb(22, 28, 36);
    margin: 0 0 5px;

    &.found {
        background-color: rgb(25, 135, 84);

        .ticket-number {
            background-color: #fff;
            color: #000;
        }
    }
}

.ticket-number {
    height: 22px;
    line-height: 0;
    border-radius: 6px;
    cursor: default;
    align-items: center;
    white-space: nowrap;
    display: inline-flex;
    justify-content: center;
    padding: 0px 8px;
    font-size: 0.75rem;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 700;
    background-color: rgb(145, 158, 171);
    color: rgb(255, 255, 255);
    /*min-width: 20%;
    max-width: 40%;*/
}

.prize-value {
    margin: 0px;
    line-height: 1.5;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 400;
    color: rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    justify-content: center;
    flex-grow: 1;
}

.winner-name {
    margin:
        0px;
    line-height: 1.5;
    font-family: Montserrat, Public Sans, sans-serif;
    font-weight: 400;
    color: rgb(255, 255, 255);
    font-size: 14px;
    text-align: left;
}

/* Rodapé com redes sociais */
.social-footer {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 300ms;

    &:hover {
        filter: brightness(1.2);
        transform: scale(1.1);
    }
}

.social-icons .facebook {
    background-color: #3b5998;
}

.social-icons .twitter {
    background-color: #1da1f2;
}

.social-icons .telegram {
    background-color: #0088cc;
}

.social-icons .whatsapp {
    background-color: #25d366;
}

.social-icons .instagram {
    background-color: #C13584;
}

.btn {
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    outline: 0px;
    border: 0px;
    margin: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.71429;
    font-size: 0.9375rem;
    text-transform: capitalize;
    font-family: Montserrat, Public Sans, sans-serif;
    min-width: 64px;
    padding: 8px 22px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
    width: 100%;
    border-radius: 5px;
    height: 48px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    &:after {
        content: "";
        background: rgba(255, 255, 255, 0.3);
        display: block;
        position: absolute;
        padding-top: 300%;
        padding-left: 350%;
        margin-left: -20px !important;
        margin-top: -120%;
        opacity: 0;
        transition: all 0.8s;
    }

    &:active:after {
        padding: 0;
        margin: 0;
        opacity: 1;
        transition: 0s;
    }

    &.btn-primary {
        color: rgb(255, 255, 255);
        background-color: rgb(25, 135, 84);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition-duration: 0.4s;



        &:active {
            background-color: rgb(21, 101, 52);
        }
    }
}

.btn-checkout {
    display: inline;

    svg {
        margin-left: 48px;
        width: 24px;
        height: 24px;
    }
}

/* Modal */
.modal-header {
    border-bottom: 1px solid #3c4752 !important;
    padding: 22px;

    .modal-title {
        margin: 0px;
        font-weight: 700;
        line-height: 1.55556;
        font-size: 1.0625rem;
        font-family: Montserrat, Public Sans, sans-serif;
        flex-grow: 1;

        svg {
            flex-grow: 0;
            width: 24px;
            height: 24px;
            margin-right: 16px;
        }
    }

    .btn-close {
        position: relative;
        box-sizing: border-box;
        background-color: transparent;
        cursor: pointer;
        font-size: 0.9rem;
        border-radius: 50%;
        overflow: visible;
        color: rgb(145, 158, 171);
        transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
        --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
        padding: 18px 19px;

        &:hover {
            font-size: 1.0rem;
            background-color: rgba(145, 158, 171, 0.08);
        }
    }
}

.modal-content {
    background-color: rgb(33, 43, 54);
    color: rgb(255, 255, 255);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.24) -40px 40px 80px -8px;
}

.modal-dialog {
    max-width: 600px;
    width: 600px;
}

.modal-body {
    .form-control {
        color: #fff;
        border: 1px solid #3c4752;
        margin: 0 0 16px;

        &:focus {
            border: 2px solid #198754;
            box-shadow: none;
        }
    }

    .text {
        line-height: 1.5;
        font-size: 13px;
        font-family: Montserrat, Public Sans, sans-serif;
        font-weight: 400;
        color: #8995a2;

        a {
            color: #1a7f51;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    .link-modal {
        a {
            font-weight: 600;
            line-height: 1.57143;
            font-size: 0.875rem;
            font-family: Montserrat, Public Sans, sans-serif;
            color: rgb(25, 135, 84);
            text-decoration: none;
            text-align: center;
        }
    }
}

/* Para telas menores que 600px */
@media (max-width: 600px) {
    .modal-dialog {
        max-width: 100%;
        width: auto;
        margin: 1rem;
    }
}

/* Estilos para inputs com label flutuante */
.form-floating {
    position: relative;
}

.form-floating>.form-control {
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    background-color: transparent;
}

.form-floating>label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out;
    color: #6c757d;
}

.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    opacity: 1;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.70rem);
    background-color: #212b36;
    padding: 0 0.5rem;
    height: auto;
    color: #198754;
}

.form-floating>.form-control:-webkit-autofill~label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Customizações adicionais para melhorar o visual */
.modal-content {
    border-radius: 10px;
}

.form-floating .form-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Estilos para a seção de promoções */
.promotions-container {
    margin: 20px 0;
}

.promotion-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.promotions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.promotion-item {
    background: linear-gradient(145deg, #212b36, #2f3944);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.33% - 10px);
    min-width: 110px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #3a3a4a;
}

.promotion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    border-color: #198754;
}

.promotion-quantity {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.promotion-price {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promotion-savings {
    background-color: #198754;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
}

.promotion-savings::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 179, 255, 0.2);
    top: 0;
    left: 0;
    border-radius: 4px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.2;
    }
}

/* Responsividade */
@media (max-width: 576px) {
    .promotions-list {
        flex-direction: row;
    }

    .promotion-item {
        width: calc(50% - 10px);
    }
}

@media (max-width: 375px) {
    .promotion-item {
        width: 100%;
    }
}

.promo-info {
    margin-top: 10px;
    color: #28a745;
    font-size: 0.9rem;
}

.promo-badge {
    background-color: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 5px;
}

/* Estilo para o contêiner principal da promoção */
.promo-applied {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    margin: 15px 0;
    position: relative;
    overflow: hidden;
    animation: promo-appear 0.4s ease-out;
    border-left: 5px solid #218838;
}

/* Conteúdo da promoção */
.promo-applied-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
}

/* Texto da promoção */
.promo-applied-text {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

/* Ícone antes do texto */
.promo-applied-text::before {
    content: "🎉";
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Elemento para informação de economia */
.promo-savings {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Botão de fechar */
.promo-applied-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    opacity: 0.8;
}

.promo-applied-close:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* Animação de entrada */
@keyframes promo-appear {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Efeito de destaque */
.promo-applied::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

/* Animação de brilho */
@keyframes shine {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }

    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

/* Adaptação para dispositivos móveis */
@media (max-width: 768px) {
    .promo-applied-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-applied-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }

    .promo-savings {
        margin-left: 0;
        margin-top: 8px;
    }
}

.ranking-container {
    margin-bottom: 2rem;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.ranking-item:hover {
    transform: translateY(-2px);
}

.ranking-top-1 {
    background-color: #fff9e6;
    border-left: 4px solid #ffd700;
}

.ranking-top-2 {
    background-color: #f5f5f5;
    border-left: 4px solid #c0c0c0;
}

.ranking-top-3 {
    background-color: #fff0e8;
    border-left: 4px solid #cd7f32;
}

.ranking-position {
    margin-right: 1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-medal {
    font-size: 1.5rem;
}

.ranking-number {
    font-weight: bold;
    font-size: 1.1rem;
    color: #555;
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ranking-tickets {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.ranking-empty {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* ================================
   ALERTAS DE PROMOÇÃO
   ================================ */

/* Alertas base */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.6s ease-out;
}

/* Alerta de sucesso (promoção ativada) */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #b6d7a8;
    color: #155724;
    position: relative;
    overflow: hidden;
}

.alert-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    animation: shimmer 2s infinite;
}

/* Alerta de aviso (erro de promoção) */
.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffc107;
    color: #856404;
}

/* Ícones dos alertas */
.alert .fas {
    font-size: 1.1rem;
    vertical-align: middle;
}

.alert-success .fas {
    color: #28a745;
    animation: pulse 1.5s infinite;
}

.alert-warning .fas {
    color: #ffc107;
}

/* Botão de fechar */
.btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.25rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* ================================
   BANNER DE PROMOÇÃO ATIVA
   ================================ */

.promo-link-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 50%, #ffab73 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.3),
        0 2px 8px rgba(255, 107, 53, 0.2);
    animation: pulseGlow 3s ease-in-out infinite;
}

.promo-link-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: sweep 3s infinite;
}

.promo-link-banner::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #ff8e53, #ffab73, #ff6b35);
    border-radius: 18px;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.promo-link-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.promo-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
}

.promo-text {
    flex: 1;
}

.promo-text h6 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

/* ================================
   ANIMAÇÕES
   ================================ */

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(255, 107, 53, 0.3),
            0 2px 8px rgba(255, 107, 53, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(255, 107, 53, 0.4),
            0 4px 16px rgba(255, 107, 53, 0.3);
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ================================
   RESPONSIVIDADE
   ================================ */

@media (max-width: 768px) {
    .alert {
        padding: 0.875rem 1rem;
        margin-bottom: 0.875rem;
        border-radius: 0.625rem;
    }
    
    .promo-link-banner {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .promo-link-content {
        gap: 15px;
    }
    
    .promo-icon {
        font-size: 2.5rem;
    }
    
    .promo-text h6 {
        font-size: 1.1rem;
    }
    
    .promo-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .alert {
        padding: 0.75rem;
        border-radius: 0.5rem;
        font-size: 0.9rem;
    }
    
    .promo-link-banner {
        padding: 14px;
        border-radius: 10px;
    }
    
    .promo-link-content {
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .promo-icon {
        font-size: 2.2rem;
    }
    
    .promo-text h6 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .promo-text p {
        font-size: 0.85rem;
    }
}

/* ================================
   ESTADOS DE HOVER
   ================================ */

.promo-link-banner:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.alert:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* ================================
   TEMA ESCURO (OPCIONAL)
   ================================ */

@media (prefers-color-scheme: dark) {
    .alert-success {
        background: linear-gradient(135deg, #1e3a2e 0%, #2d4a3a 100%);
        border-color: #4a6741;
        color: #a7d4aa;
    }
    
    .alert-warning {
        background: linear-gradient(135deg, #3d3a1e 0%, #4a452d 100%);
        border-color: #6b5b2a;
        color: #e6d690;
    }
}

/* ================================
   UTILITÁRIOS
   ================================ */

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.show {
    opacity: 1;
}

/* Margem específica para ícones */
.me-2 {
    margin-right: 0.5rem;
}

/* Garantir que o texto forte tenha peso adequado */
.alert strong {
    font-weight: 600;
}

/* ================================
   ALERTAS DE PROMOÇÃO
   ================================ */

/* Alertas base */
.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.6s ease-out;
}

/* Alerta de sucesso (promoção ativada) */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: #b6d7a8;
    color: #155724;
    position: relative;
    overflow: hidden;
}

.alert-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    animation: shimmer 2s infinite;
}

/* Alerta de aviso (erro de promoção) */
.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffc107;
    color: #856404;
}

/* Ícones dos alertas */
.alert .fas {
    font-size: 1.1rem;
    vertical-align: middle;
}

.alert-success .fas {
    color: #28a745;
    animation: pulse 1.5s infinite;
}

.alert-warning .fas {
    color: #ffc107;
}

/* Botão de fechar */
.btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    padding: 0.25rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* ================================
   BANNER DE PROMOÇÃO ATIVA
   ================================ */

.promo-link-banner {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8e53 50%, #ffab73 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.3),
        0 2px 8px rgba(255, 107, 53, 0.2);
    animation: pulseGlow 3s ease-in-out infinite;
}

.promo-link-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: sweep 3s infinite;
}

.promo-link-banner::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #ff8e53, #ffab73, #ff6b35);
    border-radius: 18px;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.promo-link-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.promo-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: bounce 2s ease-in-out infinite;
}

.promo-text {
    flex: 1;
}

.promo-text h6 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.4;
}

/* ================================
   ANIMAÇÕES
   ================================ */

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(255, 107, 53, 0.3),
            0 2px 8px rgba(255, 107, 53, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(255, 107, 53, 0.4),
            0 4px 16px rgba(255, 107, 53, 0.3);
        transform: scale(1.02);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes sweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ================================
   RESPONSIVIDADE
   ================================ */

@media (max-width: 768px) {
    .alert {
        padding: 0.875rem 1rem;
        margin-bottom: 0.875rem;
        border-radius: 0.625rem;
    }
    
    .promo-link-banner {
        padding: 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .promo-link-content {
        gap: 15px;
    }
    
    .promo-icon {
        font-size: 2.5rem;
    }
    
    .promo-text h6 {
        font-size: 1.1rem;
    }
    
    .promo-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .alert {
        padding: 0.75rem;
        border-radius: 0.5rem;
        font-size: 0.9rem;
    }
    
    .promo-link-banner {
        padding: 14px;
        border-radius: 10px;
    }
    
    .promo-link-content {
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .promo-icon {
        font-size: 2.2rem;
    }
    
    .promo-text h6 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .promo-text p {
        font-size: 0.85rem;
    }
}

/* ================================
   ESTADOS DE HOVER
   ================================ */

.promo-link-banner:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.alert:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* ================================
   TEMA ESCURO (OPCIONAL)
   ================================ */

@media (prefers-color-scheme: dark) {
    .alert-success {
        background: linear-gradient(135deg, #1e3a2e 0%, #2d4a3a 100%);
        border-color: #4a6741;
        color: #a7d4aa;
    }
    
    .alert-warning {
        background: linear-gradient(135deg, #3d3a1e 0%, #4a452d 100%);
        border-color: #6b5b2a;
        color: #e6d690;
    }
}

/* ================================
   UTILITÁRIOS
   ================================ */

.fade {
    transition: opacity 0.15s linear;
}

.fade:not(.show) {
    opacity: 0;
}

.show {
    opacity: 1;
}

/* Margem específica para ícones */
.me-2 {
    margin-right: 0.5rem;
}

/* Garantir que o texto forte tenha peso adequado */
.alert strong {
    font-weight: 600;
}

