/* Flash Checker public page */

.fp-flash-checker-page {
  padding-bottom: 4rem;
}

.fp-flash-checker-page .fp-section-box,
.fp-sellers-page .fp-section-box,
.fp-contact-page .fp-section-box {
  background: linear-gradient(
    135deg,
    rgba(8, 12, 8, 0.92) 0%,
    rgba(4, 8, 4, 0.96) 100%
  );
  border: 1px solid rgba(0, 255, 65, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 65, 0.08),
    inset 0 0 48px rgba(0, 0, 0, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.45);
}

.fp-flash-checker-page .fp-topic-back,
.fp-sellers-page .fp-topic-back,
.fp-contact-page .fp-topic-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.fp-fc-field + .fp-fc-field {
  margin-top: 1.5rem;
}

.fp-fc-field--center {
  text-align: center;
}

.fp-fc-field--center .fp-fc-field-label {
  text-align: center;
}

.fp-fc-field--center .fp-fc-mode {
  margin-inline: auto;
}

.fp-fc-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.fp-fc-actions .fp-fc-error {
  width: 100%;
  text-align: left;
}

.fp-fc-form {
  margin-top: 2rem;
}

.fp-fc-form > * + * {
  margin-top: 1.25rem;
}

.fp-fc-field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-accent-bright, #39ff14);
}

.fp-fc-select {
  position: relative;
  width: 100%;
}

.fp-fc-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 255, 65, 0.4);
  background: rgba(10, 10, 10, 0.95);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fp-fc-select__trigger:hover,
.fp-fc-select.is-open .fp-fc-select__trigger {
  border-color: rgba(57, 255, 20, 0.65);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.12);
}

.fp-fc-select__chevron {
  color: #39ff14;
  display: inline-block;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.fp-fc-select.is-open .fp-fc-select__chevron,
.fp-multi-select.is-open .fp-fc-select__chevron {
  transform: rotate(180deg);
}

.fp-fc-select__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: 14rem;
  overflow-y: auto;
  border: 1px solid rgba(0, 255, 65, 0.35);
  background: rgba(6, 10, 6, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.fp-fc-select__menu[hidden] {
  display: none;
}

.fp-fc-select__option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.fp-fc-select__option:hover,
.fp-fc-select__option:focus {
  outline: none;
  background: rgba(0, 255, 65, 0.1);
  color: #39ff14;
}

.fp-fc-select__option.is-selected {
  color: #39ff14;
  background: rgba(0, 255, 65, 0.08);
}

.fp-fc-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fp-fc-mode {
  display: inline-flex;
  width: 100%;
  border: 1px solid var(--color-border, rgba(0, 255, 65, 0.35));
}

.fp-fc-mode button {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  color: var(--color-text-muted, rgba(255, 255, 255, 0.7));
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.fp-fc-mode button + button {
  border-left: 1px solid var(--color-border, rgba(0, 255, 65, 0.35));
}

.fp-fc-mode button:hover {
  color: var(--color-accent-bright, #39ff14);
}

.fp-fc-mode button.is-active {
  color: var(--color-bg, #000);
  background: var(--color-accent, #00ff41);
}

.fp-fc-input {
  width: 100%;
  font-family: var(--font-body, inherit);
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 255, 65, 0.4);
  background: rgba(10, 10, 10, 0.95);
  color: #fff;
}

.fp-fc-input:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 255, 65, 0.25);
}

.fp-fc-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 180, 0, 0.45);
  background: rgba(80, 50, 0, 0.25);
  color: #ffd966;
  font-size: 0.875rem;
  line-height: 1.5;
}

.fp-fc-error[hidden] {
  display: none;
}

.fp-fc-result.hidden {
  display: none;
}

#fc-check.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.fp-fc-report-form .field {
  margin-top: 1.25rem;
}

.fp-fc-report-form .field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-accent-bright, #39ff14);
}

.fp-fc-report-select {
  appearance: none;
  cursor: pointer;
}

.fp-fc-report-textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.fp-fc-success {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 255, 65, 0.45);
  background: rgba(0, 80, 30, 0.25);
  color: #9dff9d;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}

.fp-fc-success[hidden] {
  display: none;
}

#fc-report-submit.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 640px) {
  .fp-fc-mode {
    width: auto;
  }

  .fp-fc-mode button {
    flex: none;
    min-width: 7rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(180deg, var(--flash-green-bright), var(--flash-green-dim));
  color: var(--flash-black);
  border-color: var(--flash-green-dim);
  box-shadow: 0 4px 16px rgba(0, 255, 65, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 22px rgba(0, 255, 65, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--flash-green);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: rgba(0, 255, 65, 0.1);
  color: var(--flash-green-bright);
}
