/* Perälän portti consent UI - no external services */
.perala-consent-backdrop {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(5, 12, 8, 0), rgba(5, 12, 8, 0.92));
}

.perala-consent-box {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(224, 214, 164, 0.45);
  border-radius: 18px;
  background: #11190f;
  color: #f4efd8;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55);
  padding: 1.05rem;
  font-size: 1rem;
  line-height: 1.55;
}

.perala-consent-box h2 {
  margin: 0 0 0.4rem 0;
  font-size: 1.28rem;
  line-height: 1.25;
}

.perala-consent-box p {
  margin: 0.35rem 0;
}

.perala-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.perala-consent-button {
  min-height: 44px;
  border: 1px solid rgba(244, 239, 216, 0.5);
  border-radius: 12px;
  background: #25391f;
  color: #fff7d7;
  font-weight: 700;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}

.perala-consent-button:hover,
.perala-consent-button:focus {
  outline: 3px solid #f7d774;
  outline-offset: 2px;
}

.perala-consent-button.secondary {
  background: #172214;
}

.perala-consent-settings {
  margin-top: 0.85rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.perala-consent-choice {
  display: block;
  margin: 0.5rem 0;
}

.perala-consent-choice input {
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: middle;
}

.perala-consent-small {
  font-size: 0.92rem;
  opacity: 0.94;
}

@media (max-width: 620px) {
  .perala-consent-backdrop {
    padding: 0.55rem;
  }

  .perala-consent-actions {
    display: block;
  }

  .perala-consent-button {
    width: 100%;
    margin-top: 0.55rem;
  }
}
