/* ==========================================================================
   QUICK PROMPTS - Sugestoes de perguntas frequentes/recentes
   ========================================================================== */
.quick-prompts-wrap{
  position: relative;
  display: inline-flex;
}

#quickPromptsBtn.qp-active{
  background: rgba(0, 240, 255, .22);
  border-color: var(--pri);
  color: var(--pri);
  box-shadow: 0 0 10px rgba(0, 240, 255, .55);
}

.quick-prompts-panel{
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  transform-origin: bottom center;
  width: 360px;
  max-width: 92vw;
  max-height: 380px;
  background: linear-gradient(180deg, rgba(0, 10, 25, 0.94), rgba(0, 20, 45, 0.92));
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 10px;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.3),
              0 0 0 1px rgba(0, 240, 255, 0.2),
              inset 0 1px 0 rgba(0, 240, 255, 0.15);
  font-family: 'Orbitron', 'Rajdhani', sans-serif;
  color: #e0f7ff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}
.quick-prompts-panel.qp-open{
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.quick-prompts-panel::after{
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 240, 255, .45);
}

.qp-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 240, 255, .25);
  background: linear-gradient(180deg, rgba(0, 240, 255, .12), rgba(0, 240, 255, .04));
  border-radius: 10px 10px 0 0;
}
.qp-title{
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--pri);
  text-shadow: 0 0 4px rgba(0, 240, 255, .5);
}
.qp-clear{
  background: transparent;
  border: 1px solid rgba(255, 170, 0, .4);
  color: #fa0;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 1.2px;
  cursor: pointer;
  font-family: 'Orbitron';
  transition: .2s;
}
.qp-clear:hover{
  background: rgba(255, 170, 0, .15);
  box-shadow: 0 0 6px rgba(255, 170, 0, .5);
}

.qp-body{
  flex: 1;
  overflow-y: auto;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qp-body::-webkit-scrollbar{ width: 4px; }
.qp-body::-webkit-scrollbar-thumb{ background: rgba(0, 240, 255, .35); border-radius: 2px; }

.qp-section-title{
  font-size: 8.5px;
  letter-spacing: 2px;
  color: rgba(0, 240, 255, .65);
  padding: 8px 8px 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.qp-section-title::before{
  content: '';
  width: 5px; height: 5px;
  background: var(--pri);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--pri);
}

.qp-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(0, 240, 255, .04);
  border: 1px solid rgba(0, 240, 255, .15);
  border-radius: 6px;
  cursor: pointer;
  transition: .18s;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  color: #e0f7ff;
  text-align: left;
  width: 100%;
  letter-spacing: .3px;
}
.qp-item:hover{
  background: rgba(0, 240, 255, .14);
  border-color: rgba(0, 240, 255, .55);
  box-shadow: 0 0 8px rgba(0, 240, 255, .35);
  transform: translateX(2px);
}
.qp-item-text{
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qp-item-count{
  flex-shrink: 0;
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(0, 240, 255, .55);
  font-family: 'Orbitron';
  background: rgba(0, 240, 255, .08);
  border: 1px solid rgba(0, 240, 255, .25);
  border-radius: 10px;
  padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}
.qp-item-icon{
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: rgba(0, 240, 255, .6);
}

.qp-empty{
  text-align: center;
  padding: 30px 16px;
  color: rgba(0, 240, 255, .5);
  font-family: 'Orbitron';
  font-size: 10px;
  letter-spacing: 1.8px;
  line-height: 1.6;
}
.qp-empty-hint{
  font-family: 'Rajdhani';
  font-size: 12px;
  letter-spacing: .5px;
  margin-top: 8px;
  opacity: .8;
  text-transform: none;
}

body.light-theme .quick-prompts-panel{
  background: linear-gradient(180deg, rgba(238, 242, 246, 0.97), rgba(221, 228, 235, 0.94));
  border-color: rgba(0, 136, 200, 0.4);
  color: #18222f;
  box-shadow: 0 12px 40px rgba(0, 136, 200, 0.3);
}
body.light-theme .qp-title{ color: #004870; }
body.light-theme .qp-item{
  background: rgba(255, 255, 255, .65);
  border-color: rgba(0, 136, 200, .25);
  color: #18222f;
}
body.light-theme .qp-item:hover{
  background: rgba(0, 168, 222, .15);
  border-color: rgba(0, 136, 200, .55);
}
body.light-theme .qp-item-count{
  background: rgba(0, 168, 222, .12);
  color: #0088c8;
  border-color: rgba(0, 136, 200, .3);
}

@media (max-width: 768px){
  .quick-prompts-panel{
    width: 320px;
  }
}
