/**
 * Aidem Blunor Addons - Terminal FAQ Accordion styles
 *
 * Extracted from core.css on 2026-09-10 as part of splitting core.css down
 * to genuinely-shared utility classes only. These .afaq- and .Accordion__-
 * prefixed rules were previously core.css's sole source for the Terminal
 * FAQ widget (class-aidem-terminal-faq-widget.php) - core.css itself never
 * held any OTHER content this widget needs, confirmed by checking its
 * markup for every shared effect class (gsap-move, gsap-fixed,
 * aidem-fade-in-*, agv-*, etc.) - zero matches. Registered as
 * wfs-aba-terminal-faq-accordion and loaded only by widgets that declare
 * it.
 */

.elementor-widget-aidem_terminal_faq {
  align-self: stretch !important;
}

.elementor-widget-aidem_terminal_faq .elementor-widget-container {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.afaq-wrap {
  --afaq-panel-bg: rgba(25, 29, 36, 0.58);
  --afaq-panel-border: rgba(232, 190, 255, 0.45);
  --afaq-panel-radius: 15px;
  --afaq-panel-blur: 18px;
  --afaq-door-title: #f0f3f8;
  --afaq-question: #d7ff2f;
  --afaq-question-active: #ffffff;
  --afaq-divider: rgba(248, 248, 248, 0.28);
  --afaq-hover-bg: rgba(96, 123, 186, 0.16);
  --at-prompt: #d7ff2f;
  --at-out: #cccccc;
  --at-cursor: #d7ff2f;
  --at-font-size: 13px;
  --at-cursor-speed: 0.7s;

  position: relative;
  width: 100%;
  max-width: 980px;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 28px 30px;
  border-radius: var(--afaq-panel-radius);
  border: 1px solid var(--afaq-panel-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%),
    var(--afaq-panel-bg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(var(--afaq-panel-blur));
  -webkit-backdrop-filter: blur(var(--afaq-panel-blur));
  overflow: hidden;
  contain: layout;
}

.afaq-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 26%),
    repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 4px);
  opacity: 0.42;
}

.afaq-wrap .afaq-door {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.08) 10%, rgba(0,0,0,0.08) 48%, rgba(255,255,255,0.18) 100%),
    linear-gradient(135deg, #7c828b 0%, #4d525a 20%, #9399a2 50%, #434850 76%, #8f959e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -18px 28px rgba(0,0,0,0.22),
    0 18px 32px rgba(0,0,0,0.28);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.afaq-wrap .afaq-door::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.10) 0 1px,
      rgba(255,255,255,0.01) 1px 4px
    ),
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 18%, transparent 82%, rgba(0,0,0,0.22));
  mix-blend-mode: screen;
  opacity: 0.85;
}

.afaq-wrap .afaq-door::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 16%;
  bottom: 16%;
  border-radius: calc(var(--afaq-panel-radius) * 0.7);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.20);
}

.afaq-wrap .afaq-door__title {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 8%;
  color: var(--afaq-door-title);
  font-size: var(--xxl-size-title-60-165px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.28);
}

.afaq-wrap .afaq-door__handle {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: min(124px, 20%);
  height: 10px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(120,126,136,0.90));
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.40),
    0 2px 10px rgba(0,0,0,0.20);
}

.afaq-wrap .afaq-panel-heading {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 1.5em 0;
  padding: 0;
  text-align: center;
}

.afaq-wrap .afaq-panel-heading__text {
  margin: 0;
  color: #f0f3f8;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.afaq-wrap .Accordion {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.afaq-wrap .Accordion__tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.afaq-wrap .Accordion__tab {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-bottom: 1px solid var(--afaq-divider);
}

.afaq-wrap .Accordion__tab:last-child {
  border-bottom: 0;
}

.afaq-wrap .Accordion__tab__headline {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 16px;
  border: 0;
  background: transparent;
  color: var(--afaq-question);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.28s ease, color 0.22s ease;
}

.afaq-wrap .Accordion__tab__headline:hover,
.afaq-wrap .Accordion__tab__headline:focus-visible,
.afaq-wrap .Accordion__tab--open .Accordion__tab__headline {
  background: var(--afaq-hover-bg);
}

.afaq-wrap .Accordion__tab__headline:focus-visible {
  outline: 1px solid rgba(255,255,255,0.3);
  outline-offset: -1px;
}

.afaq-wrap .Accordion__tab__question {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.08em;
  user-select: none;
}

.afaq-wrap .Accordion__tab--open .Accordion__tab__headline {
  color: var(--afaq-question-active);
}

.afaq-wrap .Accordion__tab .icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.afaq-wrap .Accordion__tab .icon::before,
.afaq-wrap .Accordion__tab .icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.24s ease;
}

.afaq-wrap .Accordion__tab .icon::before {
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.afaq-wrap .Accordion__tab .icon::after {
  top: 50%;
  left: 50%;
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.afaq-wrap .Accordion__tab--open .icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.afaq-wrap .Accordion__tab__content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
  direction: ltr;
  text-align: left;
  transition:
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.afaq-wrap .Accordion__tab--open .Accordion__tab__content {
  opacity: 1;
}

.afaq-wrap .Accordion__tab__content .wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: calc(var(--at-font-size) * 1.7) 0 22px;
  direction: ltr;
  text-align: left;
  overflow: hidden;
}

.afaq-wrap .afaq-answer-measure,
.afaq-wrap .afaq-answer-shell {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: var(--at-font-size);
  line-height: 1.7;
  font-family: "Courier New", Courier, Menlo, Monaco, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  direction: ltr;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
}

.afaq-wrap .afaq-answer-measure {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  visibility: hidden;
  pointer-events: none;
  min-height: 1.7em;
}

.afaq-wrap .afaq-answer-shell {
  position: relative;
  z-index: 1;
  min-height: 1.7em;
}

.afaq-wrap .afaq-answer-shell .at-prompt,
.afaq-wrap .afaq-answer-measure .at-prompt {
  flex: 0 0 auto;
  align-self: flex-start;
}

.afaq-wrap .afaq-answer-shell .at-output,
.afaq-wrap .afaq-answer-measure .at-output {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  color: var(--at-out);
  margin: 0;
  padding-left: 2px;
  direction: ltr;
  text-align: left !important;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: visible;
  padding-bottom: 0.28em;
}

.afaq-wrap .afaq-answer-shell > .at-output > .afaq-answer-cursor {
  display: none;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-motion-answer,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-motion-answer {
  display: block;
  width: 100%;
  padding-bottom: 0.18em;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-progressive-answer,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-progressive-answer {
  display: block;
  width: 100%;
  padding-bottom: 0.18em;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-paragraph-answer,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-paragraph-answer {
  display: block;
  width: 100%;
  padding-bottom: 0.18em;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-motion-answer .aidem-motion-text-content,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-motion-answer .aidem-motion-text-content {
  text-align: inherit;
  color: inherit;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-progressive-answer .afaq-char-unit,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-progressive-answer .afaq-char-unit,
.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-progressive-answer .afaq-char-space,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-progressive-answer .afaq-char-space {
  display: inline;
  white-space: normal;
  color: inherit;
  vertical-align: baseline;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-paragraph-answer .afaq-paragraph-unit,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-paragraph-answer .afaq-paragraph-unit {
  display: block;
  color: inherit;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-paragraph-answer .afaq-paragraph-unit + .afaq-paragraph-unit,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-paragraph-answer .afaq-paragraph-unit + .afaq-paragraph-unit {
  margin-top: 1em;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-motion-answer .afaq-motion-line,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-motion-answer .afaq-motion-line {
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-progressive-answer .afaq-line-break,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-progressive-answer .afaq-line-break {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
}

.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-motion-answer .afaq-return-line,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-motion-answer .afaq-return-line,
.afaq-wrap .afaq-answer-shell .afaq-answer-typed.afaq-progressive-answer .afaq-return-line,
.afaq-wrap .afaq-answer-measure .afaq-answer-typed.afaq-progressive-answer .afaq-return-line {
  display: block;
  width: 100%;
  min-height: 1em;
  height: 1em;
  margin: 0;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.afaq-wrap .afaq-answer-shell .at-output .at-gray,
.afaq-wrap .afaq-answer-shell .at-output .at-grey,
.afaq-wrap .afaq-answer-measure .at-output .at-gray,
.afaq-wrap .afaq-answer-measure .at-output .at-grey {
  color: var(--at-out);
}

.afaq-wrap .afaq-answer-cursor,
.afaq-wrap .afaq-answer-measure .at-cursor {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  color: var(--at-cursor);
  margin-left: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-indent: -9999px;
}

.afaq-wrap .afaq-answer-cursor.afaq-answer-cursor--bar,
.afaq-wrap .afaq-answer-measure .at-cursor.afaq-answer-cursor--bar {
  width: 0.14em;
  min-width: 0.14em;
  height: 1em;
  background: currentColor;
  vertical-align: -0.12em;
}

.afaq-wrap .afaq-answer-cursor.afaq-answer-cursor--block,
.afaq-wrap .afaq-answer-measure .at-cursor.afaq-answer-cursor--block {
  width: 0.42em;
  min-width: 0.42em;
  height: 1em;
  background: currentColor;
  vertical-align: -0.12em;
}

.afaq-wrap .afaq-answer-cursor.afaq-answer-cursor--half,
.afaq-wrap .afaq-answer-measure .at-cursor.afaq-answer-cursor--half {
  width: 0.24em;
  min-width: 0.24em;
  height: 1em;
  background: currentColor;
  vertical-align: -0.12em;
}

.afaq-wrap .afaq-answer-cursor.afaq-answer-cursor--underscore,
.afaq-wrap .afaq-answer-measure .at-cursor.afaq-answer-cursor--underscore {
  width: 0.62em;
  min-width: 0.62em;
  height: 0.12em;
  background: currentColor;
  vertical-align: 0.02em;
}

@media (max-width: 767px) {
  .afaq-wrap {
    padding: 22px 18px;
  }

  .afaq-wrap .afaq-door {
    padding: 24px 18px;
  }

  .afaq-wrap .afaq-door__title {
    padding: 0 5%;
  }

  .afaq-wrap .Accordion__tab__headline {
    padding: 18px 10px;
    gap: 12px;
  }

  .afaq-wrap .Accordion__tab__content {
    padding: 0 10px;
  }

  .afaq-wrap .Accordion__tab__question {
    letter-spacing: 0.05em;
  }

}

