
.spv-feedback-open{display:block!important;width:calc(100% - 32px)!important;margin:14px auto 0!important;background:#e4b354!important;color:#1b1d22!important;font-size:13px!important;font-weight:800!important;min-height:40px!important;padding:10px 12px!important}
#spv-feedback-overlay[hidden]{display:none!important}
#spv-feedback-overlay{position:fixed;inset:0;z-index:1000001;background:#10151ac9;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;font-family:system-ui,sans-serif}
.spv-feedback-dialog{position:relative;background:#343744;color:#fff;border:1px solid #697181;border-radius:18px;padding:22px;width:min(100%,450px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 20px 70px #0009}
.spv-feedback-dialog h2{font-size:23px;margin:0 35px 10px 0}.spv-feedback-dialog>p{font-size:13px;line-height:1.5;color:#d7dbe4}
.spv-feedback-dialog label{display:block;font-size:13px;font-weight:650;margin:12px 0 0}
.spv-feedback-dialog input,.spv-feedback-dialog select,.spv-feedback-dialog textarea{display:block;width:100%;box-sizing:border-box;border-radius:9px;border:1px solid #a3aab5;background:#f9fafc;color:#18222b;padding:11px;font:15px system-ui;margin-top:5px}
.spv-feedback-dialog button{cursor:pointer;border:0;border-radius:9px;font-weight:750}
.spv-feedback-close{position:absolute;right:16px;top:14px;width:35px;height:35px;background:#515968;color:white;font-size:24px}
.spv-feedback-send{width:100%;padding:14px;background:#e4b354;color:#1b1d22;margin-top:12px}
.spv-feedback-send:disabled{opacity:.65}
.spv-feedback-status{font-size:13px;min-height:18px;color:#f6d48a;margin:12px 0 0}

.spv-feedback-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.spv-feedback-privacy{font-size:12px;line-height:1.4;color:#c9cbd3}

.spv-feedback-dialog>p+p{color:#f6d48a;font-weight:650}

/* SPV Locations feedback modal only: visible Close button without a white box.
   The form is the scrollable region; the existing bottom exit stays reachable. */
#spv-feedback-overlay .spv-feedback-dialog{
  display:flex;flex-direction:column;box-sizing:border-box;
  padding:0;overflow:hidden;max-height:calc(100dvh - 32px);
  width:min(100%,450px);
}
#spv-feedback-overlay .spv-feedback-scroll{
  min-height:0;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;padding:22px 22px 18px;
}
#spv-feedback-overlay .spv-feedback-scroll > p{font-size:13px;line-height:1.5;color:#d7dbe4}
#spv-feedback-overlay .spv-feedback-scroll > p + p{color:#f6d48a;font-weight:650}
#spv-feedback-overlay .spv-feedback-close{z-index:5}
@media(max-height:530px){
  #spv-feedback-overlay{padding:8px}
  #spv-feedback-overlay .spv-feedback-dialog{max-height:calc(100dvh - 16px)}
  #spv-feedback-overlay .spv-feedback-scroll{padding:18px 18px 12px}
}

/* v1.27: The feedback dialog only uses its existing upper X to close.
   A safety rule also hides a leftover footer when older JS is cached. */
#spv-feedback-overlay .spv-navigation-footer { display:none!important; }
