/* ===== Bảng góp ý ===== */
.fb-root { position: fixed; inset: 0; z-index: 200; font-family: "Quicksand", system-ui, sans-serif; }
.fb-root[hidden] { display: none; }
.fb-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s; }
.fb-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(452px, 100%);
  display: flex; flex-direction: column; background: #FAFAF7; color: #1b2a1a;
  border-left: 2px solid #111; box-shadow: -12px 0 40px rgba(0,0,0,.2);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.fb-root.open .fb-overlay { opacity: 1; }
.fb-root.open .fb-panel { transform: none; }

.fb-head { position: relative; flex: none; padding: 18px 20px; border-bottom: 2px solid #111; background: #fff; text-align: center; }
.fb-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #0F6B4E; letter-spacing: .02em; }
.fb-close { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: #55616e; border-radius: 8px; cursor: pointer; }
.fb-close:hover { background: #f0f2ee; }

.fb-body, .fb-done { flex: 1; overflow-y: auto; padding: 22px 20px 30px; }
.fb-intro { margin: 0 0 18px; text-align: center; color: #3F6FB0; font-size: 14px; }
.fb-label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #1b2a1a; }
.fb-label i { color: #e0493a; font-style: normal; }
.fb-input {
  width: 100%; margin-bottom: 22px; padding: 12px 16px; border: 2px solid #111; border-radius: 10px;
  font: inherit; font-size: 14px; background: #fff; color: inherit; outline: none; box-shadow: 2px 2px 0 #111;
  transition: box-shadow .15s;
}
.fb-input:focus { box-shadow: 3px 3px 0 #F07A1A; }
.fb-text { resize: vertical; min-height: 100px; }
.fb-issues { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.fb-issues legend { padding: 0; }
.fb-radio {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid #dfe3dc; border-radius: 10px;
  background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s;
}
.fb-radio:hover { border-color: #b9c4b3; }
.fb-radio input { width: 16px; height: 16px; margin: 0; accent-color: #0F6B4E; flex: none; }
.fb-radio:has(input:checked) { border-color: #0F6B4E; background: #EEF6F1; }
.fb-upload-title { margin-bottom: 2px; }
.fb-hint { margin: 0 0 10px; font-size: 12px; color: #6b7a86; }
.fb-drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; margin-bottom: 12px;
  border: 2px dashed #c9cfd6; border-radius: 12px; color: #8a96a3; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.fb-drop svg { color: #F07A1A; }
.fb-drop:hover, .fb-drop.drag { border-color: #F07A1A; background: #FFF6EE; }
.fb-drop.full { display: none; }
.fb-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fb-thumb { position: relative; margin: 0; width: 86px; height: 86px; border-radius: 10px; overflow: hidden; border: 2px solid #111; }
.fb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fb-thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.fb-msg { min-height: 1.2em; margin: 6px 0 12px; text-align: center; font-size: 13px; font-weight: 700; }
.fb-msg.err { color: #d62828; }
.fb-submit {
  display: block; margin: 0 auto; padding: 14px 34px; border-radius: 999px; border: 2px solid #111;
  background: #F07A1A; color: #fff; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .03em;
  box-shadow: 3px 3px 0 #111; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.fb-submit:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #111; }
.fb-submit:disabled { opacity: .7; cursor: wait; }
.fb-body .invalid { border-color: #d62828 !important; }
.fb-issues.invalid .fb-radio { border-color: #f0a4a4; }

.fb-done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.fb-done[hidden] { display: none; }
.fb-done-icon { font-size: 54px; }
.fb-done h3 { margin: 6px 0 0; font-size: 22px; color: #0F6B4E; }
.fb-done p { margin: 0 0 20px; color: #55616e; line-height: 1.6; max-width: 320px; }
