/* =========================================================
   TERMO · AJUSTES ESPECÍFICOS
========================================================= */

.page-termo {
  background: var(--bg);
}

/* =========================================================
   ACEITE DO TERMO
========================================================= */

.accept-box {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  margin-top: 30px;
  box-shadow: 0 12px 30px rgba(18, 51, 107, .06);
  transition: .2s ease;
}

.accept-box.active {
  border-color: var(--green);
  background: linear-gradient(180deg, #fff 0%, #FBFFFC 100%);
}

.check-row {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
}

.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-check {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: .18s ease;
}

.fake-check svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  opacity: 0;
  transition: .18s ease;
}

.check-row input:checked + .fake-check {
  background: var(--green);
  border-color: var(--green);
}

.check-row input:checked + .fake-check svg {
  opacity: 1;
}

.check-text strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.check-text span {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--body);
}

.accept-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.version {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.error-msg {
  display: none;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid rgba(231, 76, 60, .2);
  border-radius: 10px;
  padding: 10px 12px;
}

.error-msg.show {
  display: block;
}

#continueBtn:disabled {
  background: #B8CBD3;
  border-color: #B8CBD3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: .82;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 700px) {
  .accept-box {
    padding: 22px;
    border-radius: 18px;
  }

  .accept-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .accept-actions .btn {
    width: 100%;
  }
}