.notice.error-notice .notice-icon {
  flex: 0 0 33px;
  min-width: 33px;
  min-height: 33px;
  background-position: center;
}

.notice.error-notice .notice-content p {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.notice.error-notice .notice-content .hk-login-error-text--strong {
  flex-basis: 100%;
  color: #8f1f1f;
  line-height: 1.25;
}

.notice.error-notice .notice-content .hk-login-error-subtext {
  flex-basis: 100%;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #986363;
}

.notice.error-notice .notice-content .hk-login-error-action {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #167ca2;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice.error-notice .notice-content .hk-login-error-action:hover {
  color: #0f5f7c;
}

.notice.error-notice .notice-content .hk-login-error-action--mail {
  color: #8f1f1f;
  font-weight: 500;
}

.notice.error-notice .notice-content .hk-login-error-actions {
  display: inline-flex;
  flex-basis: 100%;
  margin-top: 2px;
}

.notice.error-notice .notice-content .hk-login-error-action-btn {
  margin-top: 0;
  text-transform: none;
  white-space: nowrap;
  border-color: var(--wp--preset--color--hakuna-link, #167ca2);
  background: var(--wp--preset--color--hakuna-link, #167ca2);
  color: #fff !important;
}

.notice.error-notice .notice-content .hk-login-error-help {
  flex-basis: 100%;
  font-size: 0.76rem;
  line-height: 1.25;
  color: #7f7f7f;
}

.notice.error-notice .notice-content .hk-login-error-help-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hk-login-mail-notice {
  margin: 0 0 14px;
  border: 1px solid #9fcdec;
  background: linear-gradient(180deg, #eef8ff 0%, #e4f3ff 100%);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(11, 79, 125, 0.1);
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.hk-login-mail-notice__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.28;
  color: #0b4f7d;
}

.hk-login-mail-notice__text {
  margin: 0;
  font-size: 0.9rem;
  color: #215575;
  line-height: 1.34;
}

.hk-login-mail-notice__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hk-login-mail-notice__btn {
  appearance: none;
  border: 1px solid #9ecff0;
  background: #fff;
  color: #0b4f7d;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  padding: 7px 11px;
  text-align: center;
  text-decoration: none;
  flex: 0 0 auto;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hk-login-mail-notice__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(12, 73, 114, 0.15);
  background: #f7fcff;
}

.hk-login-mail-notice__btn--primary {
  border-color: var(--wp--preset--color--hakuna-link, #167ca2);
  background: var(--wp--preset--color--hakuna-link, #167ca2);
  color: #fff !important;
}

.hk-login-mail-notice__btn--primary:hover {
  filter: brightness(0.93);
}

.hk-login-mail-notice__help {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #7b8e9b;
  font-style: italic;
}

.hk-login-password-help {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #6f7f8a;
}

@media (max-width: 680px) {
  .hk-login-mail-notice__actions {
    gap: 7px;
  }
}
