/* Guest feedback page — one thumb, a few seconds. */
* { box-sizing: border-box; }
.fb-body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: #1F2937; padding: 18px 14px 40px; }

.fb-card {
  max-width: 520px; margin: 0 auto; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: 22px 18px 26px;
  box-shadow: 0 24px 60px -30px rgba(15, 23, 42, .6);
}
.fb-head { text-align: center; margin-bottom: 18px; }
.fb-mark { font-size: 2.4rem; }
.fb-head h1 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; margin: 6px 0 2px; }
.fb-head p { color: #6B7280; margin: 0; }
.fb-score { display: inline-block; margin-top: 10px; background: #FEF3C7; color: #92400E;
            border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; }
.fb-score small { font-weight: 600; opacity: .8; }

.fb-block { margin-top: 18px; }
.fb-block h2 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6B7280; margin: 0 0 8px; }
.fb-block h2 small { text-transform: none; letter-spacing: 0; font-weight: 600; }

.fb-faces { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fb-face { background: #F9FAFB; border: 2px solid #E5E7EB; border-radius: 16px; padding: 10px 4px; cursor: pointer; }
.fb-face span { font-size: 1.9rem; display: block; line-height: 1.1; }
.fb-face small { display: block; font-size: .66rem; color: #6B7280; margin-top: 3px; }
.fb-face.on { border-color: #C8102E; background: #FFF1F2; box-shadow: 0 8px 20px -12px rgba(200, 16, 46, .9); }
.fb-face.on small { color: #C8102E; font-weight: 700; }

.fb-likes { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-like { border: 1.5px solid #E5E7EB; background: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: .86rem; cursor: pointer; }
.fb-like.on { background: #C8102E; border-color: transparent; color: #fff; }

.fb-more { margin-top: 16px; border-top: 1px dashed #E5E7EB; padding-top: 12px; }
.fb-more summary { cursor: pointer; font-weight: 700; font-size: .88rem; color: #C8102E; }
.fb-stars { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.fb-star-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fb-star-row span { font-size: .88rem; }
.fb-star-row .fb-set { display: flex; gap: 2px; }
.fb-star { background: none; border: 0; font-size: 1.35rem; line-height: 1; cursor: pointer; filter: grayscale(1); opacity: .45; padding: 2px; }
.fb-star.on { filter: none; opacity: 1; }

.fb-row { display: flex; gap: 8px; margin-bottom: 8px; }
.fb-body input[type=text], .fb-body input[type=tel] {
  width: 100%; border: 1.5px solid #E5E7EB; border-radius: 12px; padding: 12px 14px; font-size: 1rem; font-family: inherit;
}
.fb-body input:focus { outline: none; border-color: #C8102E; }

.fb-send { width: 100%; margin-top: 18px; background: linear-gradient(135deg, #C8102E, #E0384F); color: #fff;
           border: 0; border-radius: 14px; padding: 15px; font-size: 1.05rem; font-weight: 800; cursor: pointer;
           box-shadow: 0 14px 30px -16px rgba(200, 16, 46, .9); }
.fb-send:disabled { opacity: .6; }
.fb-hint, .fb-foot { text-align: center; color: #6B7280; font-size: .82rem; margin: 10px 0 0; }
.fb-off { text-align: center; color: #6B7280; padding: 24px 0; }

.fb-thanks { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
             gap: 8px; background: rgba(255, 255, 255, .96); text-align: center; padding: 24px; }
.fb-thanks[hidden] { display: none; }
.fb-thanks div { font-size: 3.4rem; }
.fb-thanks b { font-family: 'Poppins', sans-serif; font-size: 1.5rem; }
.fb-thanks span { color: #6B7280; }

.fb-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #1F2937; color: #fff;
            padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: 0 18px 40px -20px #000; }

/* Details from Admin → Settings */
.fb-logo { width: 68px; height: 68px; border-radius: 18px; object-fit: contain; background: #fff; }
.fb-socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.fb-socials a { background: #F9FAFB; border-radius: 999px; padding: 7px 14px; font-size: .82rem; font-weight: 600;
                color: #C8102E; text-decoration: none; }

/* ---------- One service per line, five stars beside it ---------- */
.fb-rows { display: flex; flex-direction: column; gap: 2px; }
.fb-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
          padding: 11px 12px; border-radius: 14px; }
.fb-row:nth-child(odd) { background: #FAFAF9; }
.fb-row.is-rated { background: #FFF7ED; }
.fb-label { font-size: .95rem; font-weight: 600; color: #1F2937; }
.fb-set { display: flex; gap: 2px; flex: 0 0 auto; }
.fb-star { background: none; border: 0; padding: 4px; line-height: 1; font-size: 1.6rem; cursor: pointer;
           color: #D6D3D1; transition: transform .12s ease, color .12s ease; }
.fb-star.on { color: #F59E0B; }
.fb-star:active { transform: scale(1.18); }
.fb-score-line { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 14px;
                 background: #FEF3C7; color: #92400E; border-radius: 14px; padding: 10px; font-weight: 600; }
.fb-score-line[hidden] { display: none; }
.fb-score-line b { font-family: 'Poppins', sans-serif; font-size: 1.5rem; }
.fb-inputs { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
@media (max-width: 380px) { .fb-star { font-size: 1.42rem; padding: 3px; } .fb-label { font-size: .88rem; } }
