/* Divine Bliss to Life – feedback form. Inherits the theme's fonts; accent colour set in WP Admin → Feedback → Settings. */
.dbl-fb {
	--dbl-accent: #239293;
	--dbl-ink: inherit;
	--dbl-muted: rgba(0, 0, 0, .62);
	--dbl-line: rgba(0, 0, 0, .14);
	--dbl-soft: rgba(0, 0, 0, .035);
	max-width: 820px;
	margin: 0 auto;
	font: inherit;
	color: var(--dbl-ink);
}
.dbl-fb *, .dbl-fb *::before, .dbl-fb *::after { box-sizing: border-box; }
.dbl-fb h3 { margin: 0 0 .4em; font-size: 1.25em; line-height: 1.3; }

.dbl-fb-notice { border: 1px solid var(--dbl-line); border-left: 4px solid var(--dbl-accent); border-radius: 10px; padding: 1em 1.2em; margin: 0 0 1.4em; background: var(--dbl-soft); }
.dbl-fb-notice p { margin: .4em 0; }
.dbl-fb-error { border-left-color: #b42318; }
.dbl-fb-context { margin: 0 0 1.2em; color: var(--dbl-muted); }

.dbl-fb-card, .dbl-fb-group { margin: 0 0 1.6em; }
.dbl-fb-card { border: 1px solid var(--dbl-line); border-radius: 12px; padding: 1.2em 1.3em; }
.dbl-fb-intro { color: var(--dbl-muted); margin: 0 0 .9em; font-size: .95em; }

.dbl-fb-section { border: 1px solid var(--dbl-line); border-radius: 12px; margin: 0 0 .7em; background: #fff; }
.dbl-fb-section > summary { cursor: pointer; list-style: none; padding: .95em 1.2em; display: flex; align-items: center; gap: .7em; font-weight: 600; }
.dbl-fb-section > summary::-webkit-details-marker { display: none; }
.dbl-fb-section > summary::before { content: "+"; display: inline-flex; width: 1.5em; height: 1.5em; align-items: center; justify-content: center; border-radius: 50%; background: var(--dbl-accent); color: #fff; font-weight: 700; flex: none; }
.dbl-fb-section[open] > summary::before { content: "–"; }
.dbl-fb-section > summary:focus-visible { outline: 2px solid var(--dbl-accent); outline-offset: 2px; border-radius: 12px; }
.dbl-fb-title { flex: 1; }
.dbl-fb-badge { font-size: .75em; font-weight: 600; padding: .2em .7em; border-radius: 99px; background: var(--dbl-accent); color: #fff; }
.dbl-fb-body { padding: 0 1.2em 1.1em; }

.dbl-fb-q { border: 0; padding: 0; margin: 0 0 1.25em; min-width: 0; position: relative; }
.dbl-fb-q legend, .dbl-fb-q > label { display: block; font-weight: 500; margin: 0 0 .5em; padding: 0; line-height: 1.4; }
.dbl-fb-req { color: #b42318; }

.dbl-fb-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4em; }
.dbl-fb-nps { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .3em; }
.dbl-fb-choices { display: flex; flex-wrap: wrap; gap: .4em; }
.dbl-fb-nps-ends { display: flex; justify-content: space-between; font-size: .8em; color: var(--dbl-muted); margin-top: .3em; }

.dbl-fb-pill { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--dbl-line); border-radius: 10px; padding: .5em .4em; cursor: pointer; line-height: 1.2; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.dbl-fb-choices .dbl-fb-pill { padding: .5em 1em; border-radius: 99px; }
.dbl-fb-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dbl-fb-pill span { font-weight: 600; }
.dbl-fb-pill small { font-size: .72em; color: var(--dbl-muted); margin-top: .15em; }
.dbl-fb-pill:hover { border-color: var(--dbl-accent); }
.dbl-fb-pill:has(input:checked) { background: var(--dbl-accent); border-color: var(--dbl-accent); color: #fff; }
.dbl-fb-pill:has(input:checked) small { color: rgba(255, 255, 255, .9); }
.dbl-fb-pill:has(input:focus-visible) { outline: 2px solid var(--dbl-accent); outline-offset: 2px; }

.dbl-fb-clear { background: none; border: 0; padding: .2em 0; margin-top: .3em; color: var(--dbl-muted); font-size: .8em; text-decoration: underline; cursor: pointer; }

.dbl-fb textarea { width: 100%; border: 1px solid var(--dbl-line); border-radius: 10px; padding: .7em .8em; font: inherit; resize: vertical; background: #fff; }
.dbl-fb textarea:focus { outline: 2px solid var(--dbl-accent); outline-offset: 1px; border-color: var(--dbl-accent); }

.dbl-fb-steps { border-top: 1px dashed var(--dbl-line); margin: 0 0 1.25em; padding-top: .8em; }
.dbl-fb-steps > summary { cursor: pointer; font-weight: 600; color: var(--dbl-accent); margin-bottom: .8em; }
.dbl-fb-step legend { font-weight: 400; font-size: .95em; }

.dbl-fb-actions { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; margin: 1.5em 0 0; }
.dbl-fb-btn { display: inline-block; background: var(--dbl-accent); color: #fff !important; border: 0; border-radius: 99px; padding: .8em 1.8em; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.dbl-fb-btn:hover { filter: brightness(1.08); }
.dbl-fb-btn:disabled { opacity: .6; cursor: wait; }
.dbl-fb-link { margin-left: 1em; color: var(--dbl-accent); }
.dbl-fb-js-error { color: #b42318; font-weight: 500; }

@media (max-width: 600px) {
	.dbl-fb-card, .dbl-fb-body { padding-left: .9em; padding-right: .9em; }
	.dbl-fb-pill small { display: none; }
	.dbl-fb-nps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
