/* Shared confirmation and input dialogs; selectors do not affect business forms or toast messages. */
.layui-layer.yh-feedback {
  --yh-feedback-accent: #176cb7;
  --yh-feedback-soft: #eaf3fc;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 32px) !important;
  border: 1px solid #e3eaf2;
  border-radius: 14px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 64px #122c4e33 !important;
  color: #34465d;
  text-align: left;
}
.layui-layer.yh-feedback-danger { --yh-feedback-accent: #ce3e45; --yh-feedback-soft: #fff0f0; }
.layui-layer.yh-feedback-warning { --yh-feedback-accent: #a66a13; --yh-feedback-soft: #fff6e5; }
.layui-layer.yh-feedback-success { --yh-feedback-accent: #16806a; --yh-feedback-soft: #e8f7f1; }
.layui-layer.yh-feedback .layui-layer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  height: auto;
  min-height: 64px;
  box-sizing: border-box;
  padding: 20px 58px 16px 24px;
  border: 0;
  background: #fff;
  color: #253d58;
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.layui-layer.yh-feedback .layui-layer-title::before {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yh-feedback-soft);
  color: var(--yh-feedback-accent);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.layui-layer.yh-feedback-danger .layui-layer-title::before,
.layui-layer.yh-feedback-warning .layui-layer-title::before { content: '!'; }
.layui-layer.yh-feedback-success .layui-layer-title::before { content: '\2713'; }
.layui-layer.yh-feedback .layui-layer-content {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  padding: 4px 24px 24px !important;
  box-sizing: border-box;
  color: #53657b;
  font-size: 15px;
  line-height: 1.8;
  overflow: auto;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
.layui-layer.yh-feedback .layui-layer-content > .layui-layer-ico { display: none; }
.layui-layer.yh-feedback .layui-layer-setwin { right: 16px; top: 18px; }
.layui-layer.yh-feedback .layui-layer-setwin .layui-layer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  right: 0;
  top: 0;
  background: none;
  color: #8b99aa;
  border-radius: 7px;
}
.layui-layer.yh-feedback .layui-layer-close::before { content: '\00d7'; font: 26px/1 Arial, sans-serif; }
.layui-layer.yh-feedback .layui-layer-close:hover { background: #f1f5f9; color: #34465d; }
.layui-layer.yh-feedback .layui-layer-btn {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  box-sizing: border-box;
  padding: 16px 24px;
  border-top: 1px solid #eaf0f6;
  background: #f8fafc;
}
.layui-layer.yh-feedback .layui-layer-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 96px;
  max-width: 100%;
  height: auto;
  min-height: 40px;
  margin: 0;
  padding: 9px 18px;
  border: 1px solid #dbe4ee;
  border-radius: 7px;
  background: #fff;
  color: #53657b;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.layui-layer.yh-feedback .layui-layer-btn .layui-layer-btn0 {
  border-color: var(--yh-feedback-accent);
  background: var(--yh-feedback-accent);
  color: #fff;
}
.layui-layer.yh-feedback-two-actions .layui-layer-btn0 { order: 1; }
.layui-layer.yh-feedback .layui-layer-btn a:hover { opacity: .9; }
.layui-layer.yh-feedback a:focus-visible,
.layui-layer.yh-feedback input:focus-visible,
.layui-layer.yh-feedback textarea:focus-visible { outline: 3px solid #9bc5ec; outline-offset: 2px; }
.layui-layer.yh-feedback.layui-layer-prompt .layui-layer-input {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  color: #34465d;
  font-size: 15px;
  line-height: 24px;
}
.layui-layer.yh-feedback.layui-layer-prompt textarea.layui-layer-input { min-height: 112px; max-height: 40vh; resize: vertical; }
.yh-feedback .yh-multi-confirm ol { max-height: none; overflow: visible; padding-left: 24px; margin: 12px 0; }
.yh-feedback .yh-multi-confirm li { padding: 8px 10px; border-bottom: 1px solid #e9eff6; }
.yh-feedback .yh-multi-confirm p:first-child { color: #304b69; font-weight: 600; }
.yh-feedback .yh-action-confirm { padding: 14px 16px; background: #f5f8fc; border: 1px solid #e7eef6; border-radius: 8px; }
@media (max-width: 480px) {
  .layui-layer.yh-feedback .layui-layer-title { padding-left: 18px; font-size: 16px; }
  .layui-layer.yh-feedback .layui-layer-content { padding: 2px 18px 20px !important; }
  .layui-layer.yh-feedback .layui-layer-btn { padding: 14px 18px; gap: 8px; }
  .layui-layer.yh-feedback .layui-layer-btn a { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 9px 10px; }
}
