body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #eeecec;
}

h1 {
    color: #faac0e;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    width: 100%;
    margin: auto;
}

.tabs {
    display: flex;
    width: 100%;
    border-bottom: 4px solid #faac0e;
}

.tab-button {
    flex: 1;
    padding: 15px;
    border: 1px solid white;
    border-bottom: none;
    background-color: #d3d3d3;
    color: black;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
}

.tab-button.active {
    background-color: #faac0e;
    font-weight: bold;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.name {
    padding: 10px;
    border: 2px solid #0a559b;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

.selected {
    background-color: #faac0e;
    color: white;
}

.sold {
    background-color: #d3d3d3;
    color: black;
    pointer-events: none;
}

.paid {
    background-color: #28a745 !important;
    color: white;
    pointer-events: none;
    position: relative;
}

.paid::after {
    content: "Pago";
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    color: #28a745;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 5px;
    font-weight: bold;
}

.send-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0a559b;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

.image-container {
    width: 100%;
}

.image {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.top-bar {
    position: relative;
    left: -8px;
    top: -8px;
    width: calc(100% + 16px);
    background-color: #faac0e;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.separator {
    height: 2px;
    background-color: #faac0e;
    margin: 20px 0;
}

.input-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.buyer-list {
    text-align: left;
    margin: auto;
    max-width: 400px;
}

.buyer-item {
    background: #ffffff;
    padding: 10px;
    border: 2px solid #0a559b;
    margin-bottom: 5px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rifa-detalhes {
    width: 250px;
    flex-shrink: 0;
}

.detalhe-valor {
    color: #0a559b;
}

.icon {
    width: 26px;
    height: 26px;
    margin-right: 10px;
}

.legend {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.prize-container {
    display: flex;
    align-items: center;
}

.currency {
    font-size: 32px;
    font-weight: bold;
    color: #0a559b;
}

.prize {
    font-size: 64px;
    background-color: #0a559b;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
}

.price {
    font-size: 18px;
    color: #333;
}

.discount-info {
    color: #0a559b;
    margin-top: 5px;
}

label {
    text-align: left;
    margin-top: 10px;
    font-weight: bold;
    color: #0a559b;
    width: 100%;
}

/* .rifa-lista {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f4f8fb;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.rifa-item {
    background-color: #fff;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 6px solid #0a559b;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s;
} */

/* .rifa-item:hover {
    transform: scale(1.02);
    background-color: #eaf3fc;
} */

.rifa-titulo {
    font-weight: bold !important;
    color: #0a559b !important;
    font-size: 18px !important;
    margin-bottom: 4px !important;
}

.rifa-premio {
    font-size: 16px;
    color: #222;
}

/* .rifa-data {
    font-size: 14px;
    color: #777;
} */

.sorteio-info {
    text-align: center;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 10px;
    background-color: #faac0e;
}

#data-sorteio-text {
    margin: 5px 0;
}

.destaque-amarelo {
    background-color: #faac0e;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
}

.rifa-img img {
    width: 105px;
    border-radius: 8px;
}

.menu-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    cursor: pointer;
    color: white;
}

.floating-menu {
    display: none;
    position: absolute;
    right: 20px;
    top: 60px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    z-index: 1000;
    padding: 10px;
}

.floating-menu a {
    display: block;
    text-align: left;
    color: #0a559b;
    text-decoration: none;
    padding: 8px 12px;
    font-weight: bold;
}

.floating-menu a:hover {
    background-color: #f2f2f2;
}

.rifa-button {
    /* margin-top: 10px; */
    /* padding: 8px 16px; */
    font-size: 14px;
    background-color: #0a559b;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.rifa-button:hover {
    background-color: #063f77;
}

.toast {
    position: fixed;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    bottom: 0;
    left: 2%;
    right: 2%;
    width: 96%;
    background-color: #0a559b;
    color: white;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.toast-titulo {
    background-color: #faac0e;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    color: white;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}

.toast-mensagem {
    padding: 14px 20px;
    text-align: center;
}

.swiper {
    width: 100%;
    height: 100vh;
    padding-top: 30px;
    box-sizing: border-box;
}

.swiper-slide {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 10px;
}

.promotor-foto {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #faac0e;
}

.swiper-container {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    padding: 40px 0;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.swiper-slide {
    flex: 0 0 80%;
    margin: 0 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    user-select: none;
}

.participar-btn {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #faac0e;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.participar-btn:hover {
    background-color: #e89c0b;
}

.swiper-container {
    padding-bottom: 50px;
}