/* "האם התשובה עזרה?" under the answers (faq-feedback/front.php), in the redesigned FAQ's look (cilFaq--teal,
   css/faq-accordion.css): set in from the answer's own edges, a hairline above it. Brand tokens only; hovers draw
   an outline in rather than recolour (the theme paints bare buttons green, so colours are pinned). */

.cil-fb { padding-inline: 31px 40px; padding-block: 0 24px; color: var(--cil-black); }
.cil-fb *, .cil-fb *::before, .cil-fb *::after { box-sizing: border-box; }
.cil-fb__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 20px; border-top: 1px solid var(--cil-black-light-3); }
.cil-fb__prompt { margin: 0; margin-inline-end: 4px; color: var(--cil-black); font-size: 16px; font-weight: 600; line-height: 1.3; }
.cil-fb__votes { display: flex; gap: 8px; }

/* Yes and no: 44px tall at least, the mark and the word; pressed, filled with white words -- yes in the brand's
   green, no in its red (Oren 2026-10-15), each 5:1 or more against white. */
.cil-fb .cil-fb__vote {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; min-height: 44px; margin: 0; padding: 0 18px;
    border: 1px solid var(--cil-black-light-6); border-radius: 999px; background: var(--cil-white);
    color: var(--cil-black); font: inherit; font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.cil-fb .cil-fb__vote--like    { --fb-tone: var(--cil-green-regular-9); --fb-glow: var(--cil-green-light-3); }
.cil-fb .cil-fb__vote--dislike { --fb-tone: var(--cil-red-regular-5);   --fb-glow: var(--cil-red-light-2); }
.cil-fb .cil-fb__vote:is(:hover, :active) { border-color: var(--fb-tone); background: var(--cil-white); color: var(--cil-black); box-shadow: 0 0 0 3px var(--fb-glow); }
.cil-fb .cil-fb__vote:focus-visible { outline: 2px solid var(--fb-tone); outline-offset: 2px; }
.cil-fb .cil-fb__vote[aria-pressed="true"],
.cil-fb .cil-fb__vote[aria-pressed="true"]:is(:hover, :active) { border-color: var(--fb-tone); background: var(--fb-tone); color: var(--cil-white); }
.cil-fb[aria-busy="true"] .cil-fb__vote { cursor: progress; }
.cil-fb__mark { position: relative; display: grid; place-items: center; width: 20px; height: 20px; }

/* Yes, pressed: the mark lifts and settles with a small turn, a ring opens from it and fades, and the thanks
   rises in -- 0.5 s in all, once. Nothing moves when motion is asked to stay still; the state alone shows it. */
.cil-fb__mark::after { content: ""; position: absolute; inset: -8px; border: 2px solid currentColor; border-radius: 50%; opacity: 0; pointer-events: none; }
.cil-fb__vote.is-celebrating .cil-fb__mark svg { animation: cil-fb-lift .5s cubic-bezier(.34, 1.56, .64, 1); }
.cil-fb__vote.is-celebrating .cil-fb__mark::after { animation: cil-fb-ring .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes cil-fb-lift { 0% { transform: scale(.7) rotate(-14deg); } 55% { transform: scale(1.18) rotate(4deg); } 100% { transform: none; } }
@keyframes cil-fb-ring { 0% { opacity: .7; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.35); } }

.cil-fb__status { flex-basis: 100%; margin: 0; color: var(--cil-blue-regular-9); font-size: 15px; font-weight: 600; line-height: 1.3; }
.cil-fb__status:empty { display: none; }
.cil-fb__status.is-entering { animation: cil-fb-rise .3s .15s cubic-bezier(.22, 1, .36, 1) both; }
.cil-fb__status.is-error { color: var(--cil-red-regular-5); }
@keyframes cil-fb-rise { from { opacity: 0; transform: translateY(4px); } }

/* ---- No: what was missing, and the way to the team ---- */
.cil-fb__more { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.cil-fb__more[hidden] { display: none; }
.cil-fb__more.is-entering { animation: cil-fb-rise .3s cubic-bezier(.22, 1, .36, 1); }
.cil-fb__form { display: flex; flex-direction: column; gap: 8px; }
.cil-fb__form[hidden] { display: none; }
.cil-fb__label { color: var(--cil-black); font-size: 16px; font-weight: 600; line-height: 1.3; }
.cil-fb__label[hidden] { display: none; }
.cil-fb .cil-fb__text {
    width: 100%; min-height: 112px; margin: 0; padding: 12px 16px; resize: vertical;
    border: 1px solid var(--cil-black-light-6); border-radius: 10px; background: var(--cil-white);
    color: var(--cil-black); font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none;
}
.cil-fb .cil-fb__text:hover { border-color: var(--cil-black-regular-5); }
.cil-fb .cil-fb__text:focus { border-color: var(--cil-blue-dark-1); outline: 2px solid var(--cil-blue-dark-1); outline-offset: 0; }
.cil-fb__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cil-fb__note { margin: 0; color: var(--cil-black-regular-7); font-size: 14px; line-height: 1.4; }
/* Numbers read left to right in every language, at the box's far end. */
.cil-fb__count { flex: none; margin: 0; margin-inline-start: auto; color: var(--cil-black-regular-7); font-size: 14px; direction: ltr; font-variant-numeric: tabular-nums; }
.cil-fb__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
.cil-fb .cil-fb__send {
    display: inline-flex; align-items: center; justify-content: center; min-width: 150px; min-height: 44px; margin: 0; padding: 0 28px;
    border: 1px solid var(--cil-blue-dark-1); border-radius: 24px; background: var(--cil-blue);
    color: var(--cil-black); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: box-shadow .2s ease;
}
.cil-fb .cil-fb__send:is(:hover, :active) { background: var(--cil-blue); color: var(--cil-black); box-shadow: 0 0 0 3px var(--cil-blue-light-5); }
.cil-fb .cil-fb__send:focus-visible { outline: 2px solid var(--cil-blue-dark-1); outline-offset: 2px; }
.cil-fb .cil-fb__send[aria-disabled="true"],
.cil-fb .cil-fb__send[aria-disabled="true"]:is(:hover, :active) { border-color: var(--cil-black-light-6); background: var(--cil-black-light-3); color: var(--cil-black-regular-7); box-shadow: none; cursor: not-allowed; }
.cil-fb .cil-fb__send.is-sending { cursor: progress; }
.cil-fb__reason { margin: 0; color: var(--cil-black-regular-7); font-size: 14px; }
.cil-fb__reason[hidden] { display: none; }
/* Sending: the words and their dots counting . .. ..., each dot's room kept so the words stay put. */
.cil-fb__dots { display: inline-flex; }
.cil-fb__dots > span:nth-child(2) { animation: cil-fb-dot-2 1.2s steps(1, end) infinite; }
.cil-fb__dots > span:nth-child(3) { animation: cil-fb-dot-3 1.2s steps(1, end) infinite; }
@keyframes cil-fb-dot-2 { 0% { opacity: 0; } 33.333% { opacity: 1; } }
@keyframes cil-fb-dot-3 { 0% { opacity: 0; } 66.667% { opacity: 1; } }
.cil-fb__error { margin: 0; color: var(--cil-red-regular-5); font-size: 14px; font-weight: 600; }
.cil-fb__error[hidden] { display: none; }
.cil-fb__sent { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--cil-green-regular-10); font-size: 16px; font-weight: 600; }
.cil-fb__sent[hidden] { display: none; }
.cil-fb__sent:focus { outline: none; }
.cil-fb__offer { margin: 0; color: var(--cil-black-regular-7); font-size: 15px; line-height: 1.4; }
.cil-fb .cil-fb__offerLink { display: inline-flex; align-items: center; gap: 6px; color: var(--cil-blue-dark-1); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cil-fb .cil-fb__offerLink:is(:hover, :focus-visible) { color: var(--cil-blue-dark-1); text-decoration-thickness: 2px; }
.cil-fb .cil-fb__offerLink .cil-ctl-forward { display: inline-flex; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.cil-fb .cil-fb__offerLink:is(:hover, :focus-visible) .cil-ctl-forward { transform: translateX(-3px); }
.lang-to-css-ltr .cil-fb .cil-fb__offerLink:is(:hover, :focus-visible) .cil-ctl-forward { transform: scaleX(-1) translateX(-3px); }

@media (max-width: 767px) {
    .cil-fb { padding-inline: 14px; padding-block: 0 16px; }
    .cil-fb__ask { padding-top: 14px; }
    .cil-fb__prompt { flex-basis: 100%; font-size: 15px; }
    .cil-fb__meta { flex-direction: column; gap: 4px; }
    .cil-fb .cil-fb__send { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .cil-fb .cil-fb__vote, .cil-fb .cil-fb__send, .cil-fb .cil-fb__offerLink .cil-ctl-forward { transition: none; }
    .cil-fb__vote.is-celebrating .cil-fb__mark svg, .cil-fb__vote.is-celebrating .cil-fb__mark::after,
    .cil-fb__status.is-entering, .cil-fb__more.is-entering, .cil-fb__dots > span { animation: none; }
}
