/**
 * PIPA cookie consent banner styles.
 *
 * Visual: bottom-fixed bar, neutral grayscale, mobile-first responsive.
 * No vendor prefixes (modern browsers only — same baseline as the rest of
 * apps/site).
 */

#roa-consent-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 32px);
  max-width: 720px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.roa-consent-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .roa-consent-inner {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

.roa-consent-text {
  flex: 1;
  min-width: 0;
}

.roa-consent-title {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.roa-consent-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #4b5563;
}

.roa-consent-desc a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.roa-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.roa-consent-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}

.roa-consent-reject {
  background: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.roa-consent-reject:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.roa-consent-accept {
  background: #111827;
  color: #ffffff;
}

.roa-consent-accept:hover {
  background: #1f2937;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .roa-consent-btn {
    transition: none;
  }
}
