/**
 * AKSRT Site Notice — Popup notice styles
 */

.aksrt-site-notice {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.aksrt-site-notice__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.aksrt-site-notice__dialog {
  position: relative;
  background: var(--surface-1, #fff);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
}

.aksrt-site-notice__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.aksrt-site-notice__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink, #333);
}

.aksrt-site-notice__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--surface-2, #eee);
  color: var(--color-ink-3, #777);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.aksrt-site-notice__close:hover {
  background: var(--surface-3, #ddd);
}

.aksrt-site-notice__body {
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink-2, #4e5358);
}

.aksrt-site-notice__body a {
  color: var(--color-primary);
}

.aksrt-site-notice__foot {
  padding: 0 24px 20px;
  text-align: center;
}

.aksrt-site-notice__confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius, 8px);
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.aksrt-site-notice__confirm:hover {
  filter: brightness(1.08);
}

/* Dark mode */
html.dark .aksrt-site-notice__dialog {
  background: var(--surface-1, #323335);
}

html.dark .aksrt-site-notice__close {
  background: var(--surface-3, #3a3b3e);
}
