/* public/assets/feedback/feedback.css */

:root{
  --fb-bg: #111827;
  --fb-bg-hover: #0b1220;
  --fb-fg: #ffffff;
  --fb-overlay: rgba(0,0,0,.45);
  --fb-card-bg: #ffffff;
  --fb-border: #e5e7eb;
  --fb-text: #111827;
}

.fb-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--fb-bg);
  color: var(--fb-fg);
  box-shadow: 0 10px 25px rgba(0,0,0,.22);
  transition: transform .12s ease, background .12s ease;
}

.fb-fab:hover{
  background: var(--fb-bg-hover);
  transform: translateY(-1px);
}

.fb-icon{
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* IMPORTANTE:
   - Mantém o modal realmente escondido quando tiver o atributo hidden
   - Evita o bug de "abrir sozinho" / "não fechar"
*/
.fb-modal{
  position: fixed;
  inset: 0;
  background: var(--fb-overlay);
  z-index: 10000;
  padding: 16px;
  display: none;
  place-items: center;
}
.fb-modal:not([hidden]){
  display: grid;
}
.fb-modal[hidden]{
  display: none !important;
}

.fb-card{
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  background: var(--fb-card-bg);
  color: var(--fb-text);
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  border: 1px solid rgba(0,0,0,.05);
}

.fb-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
}

.fb-close{
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.fb-label{
  display:block;
  font-size: 14px;
  margin: 10px 0;
}

.fb-label select,
.fb-label input,
.fb-label textarea{
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--fb-border);
  outline: none;
  font: inherit;
}

.fb-submit{
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px;
  cursor: pointer;
  margin-top: 8px;
  background: var(--fb-bg);
  color: var(--fb-fg);
}

.fb-submit:hover{
  background: var(--fb-bg-hover);
}

.fb-status{
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
  color: #374151;
}
