/* Blog-only feedback: scoped to avoid changing other public forms. */
.blog-comment-feedback-modal[hidden] { display: none !important; }
.blog-comment-feedback-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  box-sizing: border-box;
  background: rgb(3 9 30 / 88%);
  backdrop-filter: blur(7px);
  font-family: "Blog Detail Jost", sans-serif;
}
.blog-comment-feedback-modal .order-feedback-dialog {
  position: relative;
  width: min(100%, 576px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  margin: auto;
  padding: 40px;
  border: 1px solid #304b60;
  border-radius: 24px;
  background: linear-gradient(145deg, #0e2e4b, #081f37);
  box-shadow: 0 24px 70px rgb(0 0 0 / 35%);
  color: #f5f8fa;
  text-align: center;
  animation: blog-feedback-enter 180ms ease-out;
}
.blog-comment-feedback-modal .order-feedback-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #435d74 !important;
  border-radius: 50%;
  color: #eef5f8;
  background: rgb(255 255 255 / 6%) !important;
  cursor: pointer;
}
.blog-comment-feedback-modal .order-feedback-close i,
.blog-comment-feedback-modal .order-feedback-icon i { display: none; }
.blog-comment-feedback-modal .order-feedback-close::before,
.blog-comment-feedback-modal .order-feedback-close::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.blog-comment-feedback-modal .order-feedback-close::after { transform: rotate(-45deg); }
.blog-comment-feedback-modal .order-feedback-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgb(37 204 157 / 13%);
  color: #25cc9d;
}
.blog-comment-feedback-modal .order-feedback-icon::before {
  content: "";
  width: 38px;
  height: 38px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%2325cc9d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M33 21a14 14 0 1 1-8-13M13 19l7 7L36 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.blog-comment-feedback-modal.is-error .order-feedback-icon { background: rgb(255 112 112 / 12%); color: #ff8585; }
.blog-comment-feedback-modal.is-error .order-feedback-icon::before {
  content: "!";
  width: auto;
  height: auto;
  border: 0;
  background: none;
  transform: none;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.blog-comment-feedback-modal .order-feedback-dialog h3 { margin: 0 0 14px; color: #f5f8fa; font-size: clamp(23px, 3vw, 30px); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.blog-comment-feedback-modal .order-feedback-dialog p { max-width: 470px; margin: 0 auto; color: #bdc9d8; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; text-wrap: pretty; }
.blog-comment-feedback-modal .order-feedback-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 344px; margin: 32px auto 0; }
.blog-comment-feedback-modal .order-feedback-actions button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 60px; width: 100%; margin: 0; padding: 14px 20px; border: 1px solid #496177; border-radius: 9px; color: #fff; font: inherit; font-size: 22px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.blog-comment-feedback-modal .order-feedback-actions .btn-solid { border-color: #0088b2 !important; background: #0080a8 !important; }
.blog-comment-feedback-modal .order-feedback-actions .btn-outline { border-color: #496177 !important; background: rgb(255 255 255 / 6%) !important; }
.blog-comment-feedback-modal .order-feedback-actions .btn-solid:hover { border-color: #159fc5 !important; background: #087496 !important; }
.blog-comment-feedback-modal .order-feedback-actions .btn-outline:hover,
.blog-comment-feedback-modal .order-feedback-close:hover { border-color: #7894aa !important; background: rgb(255 255 255 / 12%) !important; }
.blog-comment-feedback-modal button:focus-visible { outline: 2px solid #50d6f7; outline-offset: 4px; }
.kimono-blog-detail .blog-detail-comment-form [aria-invalid="true"] { border-color: #ef8787; box-shadow: 0 0 0 2px rgb(239 135 135 / 15%); scroll-margin-block: 130px; }
.kimono-blog-detail .blog-detail-comment-form .order-field-error { margin-top: 8px; color: #ffaaaa; font-size: 14px; line-height: 1.5; }
@keyframes blog-feedback-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 575px) {
  .blog-comment-feedback-modal:not([hidden]) { padding: 16px; }
  .blog-comment-feedback-modal .order-feedback-dialog { max-height: calc(100dvh - 32px); padding: 48px 22px 24px; }
  .blog-comment-feedback-modal .order-feedback-dialog p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .blog-comment-feedback-modal .order-feedback-dialog { animation: none; } }
