/* =============================================================
   ESTILOS DE MEUS CUPONS
   ============================================================= */

.container-cupons {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 15px 100px 15px; /* Espaço para não cobrir footer */
    box-sizing: border-box;
}

.header-cupons {
    text-align: center;
    margin-bottom: 30px;
}

.header-cupons h2 {
    font-family: 'Poppins', sans-serif;
    color: rgb(92, 12, 142);
    margin: 0 0 5px 0;
}

.header-cupons p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* --- CARD DE CUPOM (Estilo Ticket) --- */
.card-cupom {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}

.card-cupom:hover {
    transform: translateY(-3px);
}

/* Lado Esquerdo (Valor) */
.cupom-esquerda {
    background: rgb(92, 12, 142); /* Roxo Caverna */
    color: white;
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-right: 2px dashed rgba(255,255,255,0.3);
    position: relative;
    flex-shrink: 0;
}

/* Bolinhas do ticket */
.cupom-esquerda::before, .cupom-esquerda::after {
    content: '';
    position: absolute;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #EAF0F6; /* Cor do fundo da página */
    border-radius: 50%;
}
.cupom-esquerda::before { top: -10px; }
.cupom-esquerda::after { bottom: -10px; }

.cupom-valor {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.cupom-tipo {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 5px;
}

/* Lado Direito (Info) */
.cupom-direita {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cupom-titulo {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.cupom-regras {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 15px;
}

.area-codigo {
    background: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.codigo-texto {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

.btn-copiar {
    background: none;
    border: none;
    color: rgb(92, 12, 142);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-copiar:hover {
    text-decoration: underline;
}

/* Estado Inválido/Expirado */
.card-cupom.invalido {
    opacity: 0.6;
    filter: grayscale(1);
}

.loading-cupons, .vazio-cupons {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* Spinner */
.spinner {
    border: 3px solid rgba(92, 12, 142, 0.1);
    border-top: 3px solid rgb(92, 12, 142);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* =========================================================
   RODAPÉ / MENU INFERIOR (MANTIDOS)
   ========================================================= */

#menu {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 65px;
    width: 100%;
    z-index: 2000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(64, 4, 102, 0.738);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.menu-inicio {
    flex: 1;
    text-align: center;
}

.menu-inicio a {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 8px 0; 
    color: #e0e0e0;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-inicio a svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px; 
}

.menu-inicio a span {
    font-size: 12px;
    font-weight: 500;
}

.menu-inicio a:hover, .menu-inicio a:active {
    background-color: rgba(255, 255, 255, 0.049);
    color: #ffffff;
}
.header-cima{
    height: 80px;
}