/* GERAIS */
body { background-color: #f0f2f5; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* NAVBAR FIX v4.0.32 - Restaurando padrão original */
.navbar { 
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%) !important; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
/* Força texto branco para visibilidade */
.navbar .nav-link, .navbar .navbar-brand, .navbar i {
    color: rgba(255,255,255,0.95) !important;
}
.navbar .nav-link.active {
    color: #ffffff !important;
    font-weight: bold;
    border-bottom: 2px solid white;
}
/* Ícone do menu mobile branco */
.navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.card { border-radius: 12px; border: none; }
.card-header { border-radius: 12px 12px 0 0 !important; }
.btn { border-radius: 8px; }
.section-content { display: none; }
.section-content.active { display: block; animation: fadeIn 0.4s; }
.cursor-pointer { cursor: pointer; }
#loadingOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* SUGESTÕES FLUTUANTES (FIX MOBILE) */
.suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #999;
    border-radius: 0 0 8px 8px;
    z-index: 9999 !important;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    background: white;
}
.suggestion-item:active, .suggestion-item:hover {
    background-color: #e8f0fe;
    color: #0d6efd;
}

/* Oculta área de recibo antiga (se existir) */
#comp-receipt, #receipt-area {
    display: none;
}

/* Fallback de Segurança para impressão direta */
@media print {
    body * {
        visibility: hidden;
    }
}
