.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.card-produto {
    transition: transform 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.card-produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tipo-badge {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    padding: 8px 16px;
    border-radius: 0 0 0 15px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tipo-badge.ingresso {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.tipo-badge.promocao {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.tipo-badge.acessorio {
    background: linear-gradient(135deg, #39ff14, #32cd32);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.preco {
    font-size: 1.5rem;
    color: #28a745;
    font-weight: bold;
}

.estoque {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Estilos para a página de compra */
.horario-btn {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.horario-btn:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.horario-btn.selected {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    color: #0d6efd;
}

.horario-btn .hora {
    font-size: 18px;
    font-weight: bold;
}

.horario-btn .sessao {
    font-size: 14px;
    color: #6c757d;
}

.horario-btn.selected .sessao {
    color: #0d6efd;
}

.quantidade-controle {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    margin: 20px 0;
}

.quantidade-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantidade-btn:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.quantidade-input {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
}

.quantidade-input:focus {
    outline: none;
    border-color: #0d6efd;
}

.data-selector {
    max-width: 200px;
    margin-bottom: 20px;
}

.data-selector input {
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1.1rem;
}

.data-selector input:focus {
    border-color: #0d6efd;
    outline: none;
}

/* Remove as setas do input number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Estilo para a mensagem de dia inválido */
#mensagem-dia-invalido {
    border-left: 4px solid #ffc107;
    background-color: #fff8e1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

#mensagem-dia-invalido i {
    color: #ffc107;
    font-size: 1.2em;
}

#mensagem-dia-invalido strong {
    color: #856404;
}

/* Ajustes responsivos para a mensagem */
@media (max-width: 768px) {
    #mensagem-dia-invalido {
        padding: 12px;
        font-size: 0.9em;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    /* Ajustes gerais */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ajustes para a página inicial */
    .card {
        margin-bottom: 20px;
    }

    .badge {
        font-size: 0.8rem;
    }

    /* Ajustes para a página de compra */
    .quantidade-controle {
        margin: 0 auto;
    }

    .quantidade-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .quantidade-input {
        width: 60px;
        height: 35px;
        font-size: 14px;
    }

    .horario-btn {
        padding: 10px;
        margin-bottom: 8px;
    }

    .horario-btn .hora {
        font-size: 16px;
    }

    .horario-btn .sessao {
        font-size: 12px;
    }

    /* Ajustes para a página de confirmação */
    .table {
        font-size: 14px;
    }

    .table th {
        white-space: nowrap;
    }

    /* Ajustes para o footer */
    .footer {
        text-align: center;
        padding: 20px 0;
    }

    .footer .col-md-4 {
        margin-bottom: 20px;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 576px) {
    .card-title.h2 {
        font-size: 1.5rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /* Ajusta o grid de horários para uma coluna em telas pequenas */
    .horario-btn {
        width: 100%;
    }

    /* Melhora a visualização da tabela em telas pequenas */
    .table-responsive {
        margin-bottom: 0;
    }

    /* Ajusta o espaçamento do breadcrumb */
    .breadcrumb {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
}
