/* Estilos gerais do calendário */
.calendario-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
}

.calendario-header {
    text-align: center;
    margin-bottom: 30px;
}

.calendario-header h1 {
    color: #00E676;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.mes-navegacao {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-mes {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    color: #555;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-mes:hover {
    background: #e0e0e0;
}

.mes-atual {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.dia-semana {
    font-weight: bold;
    color: #00E676;
    padding: 10px 0;
    border-bottom: 2px solid #00c853;
    margin-bottom: 5px;
}

.dia {
    padding: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
    min-height: 60px; /* Garante espaço para preço */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dia-vazio {
    background: #f8f8f8;
    border-radius: 8px;
}

.dia-indisponivel {
    color: #ccc;
    cursor: not-allowed;
    background: #f8f8f8;
}

.dia-disponivel {
    background: #00E676; /* Verde vibrante como no site original */
    color: white;
    border: 1px solid #00c853;
    font-weight: bold;
}

.dia-disponivel:hover {
    background: #00c853;
    transform: translateY(-2px);
}

.dia-selecionado {
    background: #00E676 !important; /* Mantém o verde de fundo */
    border: 3px solid #FFA500 !important; /* Borda laranja para selecionado */
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 165, 0, 0.3);
}

.numero-dia {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.preco-dia {
    font-size: 0.8em;
    color: #555;
}

/* Cores para os tipos de evento */
.dia.bilheteria {
    background-color: #e3f2fd; /* Azul claro */
    border: 1px solid #90caf9;
}

.dia.bilheteria .preco-dia {
    color: #1976d2; /* Azul */
}

.dia.fronteiras {
    background-color: #00E676; /* Verde vibrante */
    border: 1px solid #00E676;
    color: white;
}

.dia.fronteiras .numero-dia {
    color: white;
    font-weight: bold;
}

.dia.fronteiras .preco-dia {
    color: white; /* Texto branco no fundo verde */
    font-weight: bold;
}

.dia.horror {
    background-color: #ffebee; /* Vermelho claro */
    border: 1px solid #ef5350;
}

.dia.horror .preco-dia {
    color: #c62828; /* Vermelho */
}

/* Legenda */
.legenda {
    margin-top: 40px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.legenda h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.legenda-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
}

.legenda-item.bilheteria {
    background-color: #1976d2;
    color: white;
}

.legenda-item.fronteiras {
    background-color: #00E676;
    color: white;
}

.legenda-item.horror {
    background-color: #c62828;
    color: white;
}

.legenda-item div:first-child {
    flex-grow: 1;
}

.info-funcionamento {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

/* Layout com duas colunas */
.calendario-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}
/* Indicadores de passo - lado esquerdo */
.step-indicator-left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Indicadores de passo - lado direito */
.step-indicator-right {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    transition: background 0.3s ease, color 0.3s ease;
}

.step.active {
    background: #00E676;
    color: white;
}

/* Container da seleção de quantidade */
.quantidade-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid #00E676;
    position: sticky;
    top: 20px;
}

.quantidade-header h2 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 25px;
    text-align: center;
    display: block !important;
}

/* Informações do ingresso */
.ingresso-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.ingresso-nome {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.ingresso-preco {
    font-size: 2em;
    font-weight: bold;
    color: #00E676;
    margin-bottom: 5px;
}

.ingresso-preco-original {
    font-size: 1em;
    color: #666;
}

/* Seletor de quantidade */
.quantidade-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-quantidade {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #00E676;
    background: white;
    color: #00E676;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-quantidade:hover {
    background: #00E676;
    color: white;
}

.btn-quantidade:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#quantidadeInput {
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    color: #333;
}

/* Total da compra */
.total-compra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #00E676;
}

.total-label {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
}

.total-valor {
    font-size: 1.5em;
    font-weight: bold;
    color: #00E676;
}

/* Informação de promoção */
.promocao-info {
    background: linear-gradient(135deg, #00E676, #00C853);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.promocao-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

/* Checkbox de termos */
.termos-checkbox {
    margin-bottom: 25px;
    text-align: left;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.termos-checkbox input[type="checkbox"] {
    margin: 0;
    transform: scale(1.3);
    accent-color: #00E676;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.termos-checkbox label {
    font-size: 0.95em;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
    flex: 1;
}

.termos-checkbox a {
    color: #00E676;
    text-decoration: underline;
    font-weight: bold;
}

.termos-checkbox a:hover {
    color: #00a843;
}

/* Botão comprar agora */
.btn-comprar-agora {
    width: 100%;
    background: linear-gradient(135deg, #00E676, #00C853);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-comprar-agora:hover:not(:disabled) {
    background: linear-gradient(135deg, #00E676, #00C853);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}

.btn-comprar-agora:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsividade */
@media (max-width: 1024px) {
    .calendario-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quantidade-container {
        position: static;
        order: 2;
    }
}

@media (max-width: 768px) {
    .quantidade-container {
        padding: 20px;
        margin: 0 10px;
    }
    
    .quantidade-selector {
        gap: 10px;
    }
    
    .btn-quantidade {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
    #quantidadeInput {
        width: 60px;
        height: 40px;
        font-size: 1.2em;
    }
    
    .step-indicator {
        gap: 15px;
    }
    
    .step {
        width: 40px;
        height: 40px;
    }
}



.dia-passado {
    background-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
}

/* Estilo para dias que já passaram */
.dia-passado {
    background: #f5f5f5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    border: 1px solid #ddd !important;
}

.dia-passado .numero-dia {
    color: #999 !important;
    text-decoration: line-through;
}

.dia-passado .preco-dia {
    color: #999 !important;
    text-decoration: line-through;
}

.dia-passado:hover {
    background: #f5f5f5 !important;
    transform: none !important;
    box-shadow: none !important;
}
