.wvr-submit-scope{
  --bg-page: #F5F8FD;
  --card: #EDF1FC;
  --paper: #FFFFFF;
  --border: #DCE3F5;
  --ink: #1D2A4D;
  --ink-soft: #6B7490;
  --placeholder: #A7AFC7;
  --gold: #F6A828;
  --gold-dark: #E2921A;
  --gold-tint: #FFF3DE;
  --star-bg: #F4F6FC;
  --star-idle: #C7CCE0;
  --blue-cta: #17ABD8;
  --blue-cta-dark: #1293BB;
  --link-blue: #3E7BFA;
  --radius-card: 22px;
  --shadow: 0 1px 2px rgba(29,42,77,0.05), 0 14px 34px -18px rgba(29,42,77,0.28);
  background:var(--bg-page);
  color:var(--ink);
  font-family:'Manrope', sans-serif;
  -webkit-font-smoothing:antialiased;
  padding-bottom:20px;
}
.wvr-submit-scope *{box-sizing:border-box;}
.wvr-submit-scope h1,.wvr-submit-scope h2,.wvr-submit-scope h3{font-family:'Manrope',sans-serif;font-weight:800;letter-spacing:-0.01em;color:var(--ink);}

.wvr-submit-scope .wvr-wrap{max-width:760px;margin:0 auto;padding:0 20px 90px;}

/* Business header */
.wvr-submit-scope .biz-header{
  padding:38px 0 26px;
  display:flex;align-items:center;gap:18px;
  border-bottom:1px solid var(--border);
}
.wvr-submit-scope .biz-logo{
  width:58px;height:58px;border-radius:16px;
  background:linear-gradient(155deg,var(--ink),#324875);
  display:flex;align-items:center;justify-content:center;
  color:#DCE6FA;font-size:26px;font-weight:800;
  flex-shrink:0;box-shadow:var(--shadow);
}
.wvr-submit-scope img.biz-logo{
  background:var(--paper);
  object-fit:contain;object-position:center;padding:6px;
}
.wvr-submit-scope .biz-info h1{font-size:24px;margin:0 0 4px;}
.wvr-submit-scope .biz-meta{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-soft);flex-wrap:wrap;}
.wvr-submit-scope .stars-mini{color:var(--gold);letter-spacing:2px;font-size:15px;}

/* Rating summary strip */
.wvr-submit-scope .summary-strip{
  display:grid;grid-template-columns:auto 1fr;gap:26px;
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px 24px;
  margin-top:24px;
  box-shadow:var(--shadow);
}
@media(max-width:520px){.wvr-submit-scope .summary-strip{grid-template-columns:1fr;}
  .wvr-submit-scope .summary-score{border-right:none !important;border-bottom:1px solid var(--border);padding:0 0 16px !important;}}
.wvr-submit-scope .summary-score{text-align:center;padding-right:26px;border-right:1px solid var(--border);}
.wvr-submit-scope .summary-score .num{font-size:40px;font-weight:800;color:var(--ink);line-height:1;}
.wvr-submit-scope .summary-score .stars{color:var(--gold);margin:8px 0 4px;font-size:15px;letter-spacing:2px;}
.wvr-submit-scope .summary-score .count{font-size:12.5px;color:var(--ink-soft);}
.wvr-submit-scope .bars{display:flex;flex-direction:column;justify-content:center;gap:6px;}
.wvr-submit-scope .bar-row{display:grid;grid-template-columns:38px 1fr 30px;align-items:center;gap:8px;font-size:12px;color:var(--ink-soft);}
.wvr-submit-scope .bar-track{height:7px;background:var(--card);border-radius:6px;overflow:hidden;}
.wvr-submit-scope .bar-fill{height:100%;background:var(--gold);border-radius:6px;}

/* ===== Write a review card ===== */
.wvr-submit-scope .card{
  background:var(--card);
  border-radius:var(--radius-card);
  padding:32px 30px 30px;
  margin-top:34px;
  box-shadow:var(--shadow);
}
@media(max-width:480px){.wvr-submit-scope .card{padding:26px 20px 24px;border-radius:18px;}}

.wvr-submit-scope .rating-header{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px 12px;
  padding-bottom:20px;margin-bottom:24px;
  border-bottom:1px solid #DEE4F5;
}
.wvr-submit-scope .rating-label{font-size:19px;font-weight:800;color:var(--ink);}
.wvr-submit-scope .pill-stars{display:flex;align-items:center;gap:16px;flex-wrap:wrap;flex:1;justify-content:flex-end;min-width:260px;}
.wvr-submit-scope .rate-pill{
  position:relative;
  background:linear-gradient(180deg,#F9B84A,var(--gold-dark));
  color:#fff;border:none;
  font-family:inherit;font-weight:700;font-size:13.5px;
  padding:11px 20px;border-radius:999px;white-space:nowrap;
  cursor:pointer;flex-shrink:0;
  box-shadow:0 8px 16px -8px rgba(226,146,26,0.7);
}
.wvr-submit-scope .stars-line{display:flex;gap:10px;flex:1 1 auto;justify-content:flex-end;flex-wrap:wrap;}
@media(max-width:480px){.wvr-submit-scope .stars-line{justify-content:space-between;width:100%;}}
.wvr-submit-scope .star-box{
  width:52px;height:52px;flex-shrink:0;
  background:var(--star-bg);
  border:1px solid var(--border);
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;color:var(--star-idle);
  cursor:pointer;transition:transform .12s, color .12s, border-color .12s, background .12s;
}
@media(max-width:480px){.wvr-submit-scope .star-box{flex:1;width:auto;}}
.wvr-submit-scope .star-box:hover{transform:translateY(-2px);}
.wvr-submit-scope .star-box.active{color:var(--gold);background:var(--gold-tint);border-color:#FBD897;}

.wvr-submit-scope .field{margin-bottom:20px;}
.wvr-submit-scope .field-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.wvr-submit-scope .field label{font-size:14.5px;font-weight:700;color:var(--ink);}
.wvr-submit-scope .field .guide-link{font-size:13px;font-weight:600;color:var(--link-blue);text-decoration:none;}
.wvr-submit-scope .field .guide-link:hover{text-decoration:underline;}

.wvr-submit-scope input[type=text], .wvr-submit-scope input[type=url], .wvr-submit-scope input[type=email], .wvr-submit-scope input[type=password], .wvr-submit-scope textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 16px;
  font-family:inherit;
  font-size:14.5px;
  color:var(--ink);
  background:var(--paper);
  transition:border-color .15s, box-shadow .15s;
}
.wvr-submit-scope textarea{min-height:130px;resize:vertical;line-height:1.55;}
.wvr-submit-scope input::placeholder, .wvr-submit-scope textarea::placeholder{color:var(--placeholder);}
.wvr-submit-scope input:focus, .wvr-submit-scope textarea:focus{
  outline:none;
  border-color:var(--blue-cta);
  box-shadow:0 0 0 4px rgba(23,171,216,0.14);
}
.wvr-submit-scope .row2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media(max-width:560px){.wvr-submit-scope .row2{grid-template-columns:1fr;}}

.wvr-submit-scope .date-trigger{
  display:flex;align-items:center;justify-content:space-between;
  width:100%;border:1px solid var(--border);border-radius:12px;
  padding:14px 16px;background:var(--paper);cursor:pointer;
  font-family:inherit;font-size:14.5px;color:var(--placeholder);
  transition:border-color .15s, box-shadow .15s;
}
.wvr-submit-scope .date-trigger.filled{color:var(--ink);font-weight:600;}
.wvr-submit-scope .date-trigger:hover{border-color:#B9C3E0;}
.wvr-submit-scope .date-trigger svg{width:18px;height:18px;color:var(--ink-soft);flex-shrink:0;}

.wvr-submit-scope .agree-row{display:flex;gap:10px;align-items:flex-start;margin:6px 0 24px;font-size:13px;color:var(--ink-soft);font-weight:500;}
.wvr-submit-scope .agree-row input{margin-top:3px;width:18px;height:18px;accent-color:var(--blue-cta);flex-shrink:0;border-radius:5px;}
.wvr-submit-scope .agree-row a{color:var(--link-blue);font-weight:700;text-decoration:none;}
.wvr-submit-scope .agree-row a:hover{text-decoration:underline;}

.wvr-submit-scope .submit-row{text-align:left;}
@media(min-width:640px){.wvr-submit-scope .submit-row{text-align:right;}}
.wvr-submit-scope .submit-btn{
  width:100%;
  background:var(--blue-cta);
  color:#ffffff;
  border:none;
  padding:15px;
  border-radius:13px;
  font-family:inherit;font-size:15.5px;font-weight:800;letter-spacing:.01em;
  cursor:pointer;
  transition:background .15s, transform .1s;
  box-shadow:0 12px 24px -10px rgba(23,171,216,0.55);
}
@media(min-width:640px){.wvr-submit-scope .submit-btn{width:auto;padding:14px 40px;}}
.wvr-submit-scope .submit-btn:hover{background:var(--blue-cta-dark);}
.wvr-submit-scope .submit-btn:active{transform:scale(.99);}
.wvr-submit-scope .submit-btn:disabled{opacity:.65;cursor:not-allowed;}

.wvr-submit-scope .form-msg{
  font-size:13px;font-weight:700;margin-bottom:16px;padding:10px 14px;border-radius:10px;display:none;
}
.wvr-submit-scope .form-msg.show{display:block;}
.wvr-submit-scope .form-msg.error{background:#FDE9E4;color:#B23A17;}
.wvr-submit-scope .form-msg.info{background:var(--gold-tint);color:var(--gold-dark);}

/* Confirmation toast */
.wvr-submit-scope .toast{
  position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);
  background:var(--ink);color:#EAF0FF;
  padding:16px 22px;border-radius:14px;
  display:flex;align-items:center;gap:12px;
  font-size:14px;font-weight:500;max-width:90vw;
  box-shadow:0 20px 40px -14px rgba(0,0,0,0.4);
  opacity:0;pointer-events:none;
  transition:opacity .3s, transform .3s;
  z-index:250;
}
.wvr-submit-scope .toast.show{opacity:1;transform:translateX(-50%) translateY(0);pointer-events:auto;}
.wvr-submit-scope .toast .icon{
  width:30px;height:30px;border-radius:50%;background:var(--gold);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--ink);
}

/* Previous reviews */
.wvr-submit-scope .prev-head{display:flex;align-items:baseline;justify-content:space-between;margin:52px 0 18px;flex-wrap:wrap;gap:6px;}
.wvr-submit-scope .prev-head h2{font-size:20px;margin:0;}
.wvr-submit-scope .prev-head span{font-size:13px;color:var(--ink-soft);}
.wvr-submit-scope .review-item{
  background:var(--paper);border:1px solid var(--border);border-radius:16px;
  padding:20px 22px;margin-bottom:14px;
}
.wvr-submit-scope .review-top{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap;}
.wvr-submit-scope .avatar{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:14px;color:#fff;flex-shrink:0;
}
.wvr-submit-scope .review-name{font-weight:700;font-size:14.5px;color:var(--ink);}
.wvr-submit-scope .review-date{font-size:12px;color:var(--ink-soft);}
.wvr-submit-scope .review-stars{color:var(--gold);font-size:13px;letter-spacing:1.5px;margin-left:auto;}
.wvr-submit-scope .review-title{font-weight:700;font-size:14.5px;margin:2px 0 6px;color:var(--ink);}
.wvr-submit-scope .review-body{font-size:13.5px;color:var(--ink-soft);line-height:1.6;}
.wvr-submit-scope .review-tag{
  display:inline-block;margin-top:10px;font-size:11.5px;color:var(--blue-cta-dark);
  background:#E7F8FC;padding:3px 9px;border-radius:100px;font-weight:700;
}

.wvr-submit-scope .wvr-footer{text-align:center;font-size:12px;color:#AEB6CF;margin-top:60px;}

body.wvr-lock-scroll{overflow:hidden;}

/* ===== Overlays (shared) ===== */
.wvr-submit-scope .overlay{
  position:fixed;inset:0;z-index:300;
  background:rgba(29,42,77,0.32);
  backdrop-filter:blur(3px);
  display:none;align-items:center;justify-content:center;
  padding:20px;
}
.wvr-submit-scope .overlay.show{display:flex;}

/* ===== Calendar popover ===== */
.wvr-submit-scope .cal-card{
  background:#fff;border-radius:24px;
  width:100%;max-width:380px;
  padding:24px 22px 20px;
  box-shadow:0 30px 70px -20px rgba(29,42,77,0.45);
}
.wvr-submit-scope .cal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.wvr-submit-scope .cal-month{font-size:20px;font-weight:800;color:var(--ink);}
.wvr-submit-scope .cal-nav{display:flex;gap:10px;}
.wvr-submit-scope .cal-nav button{
  width:34px;height:34px;border-radius:10px;border:none;background:var(--card);
  color:var(--ink);font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.wvr-submit-scope .cal-nav button:hover{background:#E1E7F8;}
.wvr-submit-scope .cal-weekdays{
  display:grid;grid-template-columns:repeat(7,1fr);text-align:center;
  font-size:11.5px;font-weight:800;color:var(--ink-soft);letter-spacing:.03em;margin-bottom:8px;
}
.wvr-submit-scope .cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;}
.wvr-submit-scope .cal-day{
  aspect-ratio:1;display:flex;align-items:center;justify-content:center;
  border-radius:50%;font-size:16px;font-weight:600;color:var(--ink);cursor:pointer;
}
.wvr-submit-scope .cal-day:hover{background:#F1F4FC;}
.wvr-submit-scope .cal-day.empty{visibility:hidden;cursor:default;}
.wvr-submit-scope .cal-day.today{color:var(--blue-cta-dark);font-weight:800;}
.wvr-submit-scope .cal-day.selected{background:var(--blue-cta);color:#fff;}
.wvr-submit-scope .cal-footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px;}
.wvr-submit-scope .cal-reset{background:none;border:none;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;padding:8px 6px;}
.wvr-submit-scope .cal-confirm{
  display:inline-flex;align-items:center;gap:7px;
  height:44px;padding:0 20px;
  border-radius:999px;background:var(--blue-cta);border:none;
  color:#fff;font-family:inherit;font-weight:800;font-size:14px;
  cursor:pointer;flex-shrink:0;line-height:1;
  box-shadow:0 10px 20px -8px rgba(23,171,216,0.7);
}
.wvr-submit-scope .cal-confirm:hover{background:var(--blue-cta-dark);}

/* ===== Auth modal ===== */
.wvr-submit-scope .auth-card{
  background:#fff;border-radius:24px;width:100%;max-width:400px;
  padding:0;position:relative;
  box-shadow:0 30px 70px -20px rgba(29,42,77,0.45);
  max-height:90vh;display:flex;flex-direction:column;
}
.wvr-submit-scope .auth-card-scroll{
  padding:30px 28px 28px;overflow-y:auto;
  scrollbar-width:none;-ms-overflow-style:none;
}
.wvr-submit-scope .auth-card-scroll::-webkit-scrollbar{display:none;}
.wvr-submit-scope .auth-close{
  position:absolute;top:18px;right:18px;z-index:2;width:32px;height:32px;border-radius:50%;
  background:var(--card);border:none;display:flex;align-items:center;justify-content:center;
  color:var(--ink-soft);cursor:pointer;font-size:16px;
}
.wvr-submit-scope .auth-close:hover{background:#E1E7F8;}
.wvr-submit-scope .auth-eyebrow{font-size:12.5px;font-weight:700;color:var(--blue-cta-dark);text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;}
.wvr-submit-scope .auth-card h2{font-size:21px;margin:0 0 6px;}
.wvr-submit-scope .auth-sub{font-size:13px;color:var(--ink-soft);margin:0 0 22px;font-weight:500;line-height:1.5;}
.wvr-submit-scope .auth-toggle{display:flex;gap:8px;margin-bottom:20px;background:var(--card);padding:4px;border-radius:12px;}
.wvr-submit-scope .auth-toggle button{
  flex:1;padding:9px 10px;border-radius:9px;border:none;background:transparent;
  font-family:inherit;font-size:13.5px;font-weight:700;color:var(--ink-soft);cursor:pointer;transition:.15s;
}
.wvr-submit-scope .auth-toggle button.sel{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(29,42,77,0.1);}
.wvr-submit-scope .auth-field{margin-bottom:14px;}
.wvr-submit-scope .auth-field label{display:block;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:6px;}
.wvr-submit-scope .auth-pass-wrap{position:relative;}
.wvr-submit-scope .auth-pass-wrap input{width:100%;padding-right:56px;}
.wvr-submit-scope .auth-pass-toggle{
  position:absolute;top:50%;right:6px;transform:translateY(-50%);
  height:28px;padding:0 10px;border:none;background:none;border-radius:8px;
  font-family:inherit;font-size:12px;font-weight:700;color:var(--link-blue);cursor:pointer;
}
.wvr-submit-scope .auth-pass-toggle:hover{background:var(--card);}
.wvr-submit-scope .auth-forgot{display:block;text-align:right;font-size:12.5px;font-weight:700;color:var(--link-blue);text-decoration:none;margin:-6px 0 14px;}
.wvr-submit-scope .auth-forgot:hover{text-decoration:underline;}
.wvr-submit-scope .auth-primary{
  width:100%;background:var(--blue-cta);color:#fff;border:none;padding:14px;border-radius:13px;
  font-family:inherit;font-size:15px;font-weight:800;cursor:pointer;margin-top:6px;
  box-shadow:0 12px 24px -10px rgba(23,171,216,0.55);transition:background .15s;
}
.wvr-submit-scope .auth-primary:hover{background:var(--blue-cta-dark);}
.wvr-submit-scope .auth-primary:disabled{opacity:.65;cursor:not-allowed;}
.wvr-submit-scope .auth-back{background:none;border:none;font-size:13px;font-weight:700;color:var(--ink-soft);cursor:pointer;margin-bottom:14px;padding:0;display:inline-flex;align-items:center;gap:4px;}
.wvr-submit-scope .auth-back:hover{color:var(--ink);}
.wvr-submit-scope .auth-msg{font-size:13px;font-weight:600;margin-bottom:14px;padding:10px 12px;border-radius:10px;display:none;}
.wvr-submit-scope .auth-msg.show{display:block;}
.wvr-submit-scope .auth-msg.error{background:#FDE9E4;color:#B23A17;}
.wvr-submit-scope .auth-msg.success{background:#E4F9EE;color:#116B44;}
.wvr-submit-scope .auth-view{display:none;}
.wvr-submit-scope .auth-view.active{display:block;}
