/* Phase S.5 — PDPA Cookie / Storage Notice banner */

#pdpa-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9995;
  background: #1f2937;
  color: #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  animation: pdpa-slide-up .25s ease;
}

#pdpa-banner.pb-leaving {
  animation: pdpa-fade-out .2s ease forwards;
}

@keyframes pdpa-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes pdpa-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; transform: translateY(10px); }
}

.pb-text {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.pb-icon { font-size: 20px; flex-shrink: 0; }
.pb-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.pb-desc {
  font-size: 12px;
  color: #d1d5db;
  line-height: 1.55;
}
.pb-desc a {
  color: #fca5a5;
  text-decoration: underline;
  font-weight: 500;
}
.pb-desc a:hover { color: #fff; }

.pb-btn {
  background: #dc2626;
  color: #fff;
  border: 0;
  padding: 8px 18px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 36px;
  transition: background .15s;
}
.pb-btn:hover { background: #991b1b; }
.pb-btn:active { transform: scale(.97); }

/* Mobile */
@media (max-width: 600px) {
  #pdpa-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .pb-btn { width: 100%; }
}
