.public-notice .modal-dialog {
  max-width: 740px;
}

.public-notice .modal-content {
  border: 1px solid #dbe5e2;
  border-top: 5px solid #0f766e;
  border-radius: 18px;
  background: #fff;
  color: #344841;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

.public-notice-header {
  align-items: flex-start;
  gap: 16px;
  padding: 24px 30px;
  background: #f6faf9;
  border-bottom: 1px solid #e5ebe9;
}

.public-notice-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #0f766e;
}

.public-notice-header h2 {
  margin: 10px 0 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
  color: #153c38;
}

.public-notice-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d2dfda;
  border-radius: 50%;
  background: #fff;
  color: #344841;
  font-size: 30px;
  line-height: 1;
}

.public-notice-close:hover {
  background: #e8f1ee;
}

.public-notice-body {
  padding: 24px 30px 6px;
  font-size: 14px;
  line-height: 1.75;
  overscroll-behavior: contain;
}

.public-notice-body p {
  margin-bottom: 18px;
}

.public-notice-warning {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid #ecd5b2;
  border-left: 4px solid #b7791f;
  border-radius: 8px;
  background: #fff8ed;
  color: #5c421f;
}

.public-notice-warning h3 {
  margin: 0 0 10px;
  color: #8a5716;
  font-size: 13px;
  font-weight: 700;
}

.public-notice-warning p {
  margin: 0;
}

.public-notice-checklist-title {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #153c38;
}

.public-notice-checklist {
  padding-left: 22px;
  margin-bottom: 20px;
}

.public-notice-checklist li {
  padding-left: 3px;
  margin-bottom: 6px;
}

.public-notice-checklist li::marker {
  color: #0f766e;
}

.public-notice-signature {
  font-weight: 600;
  color: #153c38;
}

.public-notice-footer {
  justify-content: space-between;
  gap: 14px;
  padding: 18px 30px;
  background: #f6faf9;
  border-top: 1px solid #e5ebe9;
}

.public-notice-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #506560;
}

.public-notice-footer a {
  color: #0f766e;
  font-weight: 600;
}

.public-notice-reopen {
  align-self: flex-start;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.public-notice-reopen i {
  margin-right: 5px;
}

.dark-mode .public-notice-reopen {
  color: #5eead4;
}

@media (max-width: 575px) {
  .public-notice-header,
  .public-notice-body,
  .public-notice-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .public-notice-header h2 {
    font-size: 23px;
  }

  .public-notice-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .public-notice-footer .btn-primary {
    justify-content: center;
    width: 100%;
  }
}
