.vr-form-wrap {
  background:#eef2f6;
  padding:24px;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,.04);
}

.vr-form-title { margin:0 0 6px 0; }
.vr-form-desc  { margin:0 0 18px 0; color:#666; }

.vr-field { margin-bottom:16px; }

.vr-field label {
  display:block;
  font-weight:600;
  margin-bottom:6px;
  color:#0B1C2D;
}

.vr-field input[type="text"],
.vr-field input[type="email"],
.vr-field input[type="tel"],
.vr-field input[type="date"],
.vr-field input[type="number"],
.vr-field input[type="url"],
.vr-field select,
.vr-field textarea {
  width:100%;
  padding:12px;
  border:1px solid #E6EAF0;
  border-radius:8px;
  box-sizing: border-box;
}

.vr-hint { margin-top:6px; font-size:12px; color:#777; }

.vr-req { color:#C9A24D; margin-left:4px; font-weight:700; }

.vr-check { display:flex; gap:10px; align-items:flex-start; }

.vr-btn {
  background:#C9A24D;
  color:#fff;
  border:0;
  padding:12px 18px;
  border-radius:8px;
  cursor:pointer;
}

.vr-btn:hover { opacity:.92; }

.vr-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.vr-note { margin-top:10px; font-size:12px; color:#666; }

.vr-box {
  padding:14px 16px;
  border-radius:10px;
  margin-bottom:16px;
}

.vr-success { background:#E9F7EF; border:1px solid #BFE6CD; }
.vr-error   { background:#FDECEC; border:1px solid #F5B5B5; }
.vr-info    { background:#F7F9FC; border:1px solid #E6EAF0; }

.vr-login-wrap{
  max-width: 520px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 28px;
}

.vr-login-wrap h2{ margin-top:0; }

.vr-login-wrap .button-primary{
  width: 100%;
  padding: 12px 16px;
}

.vr-login-help{
  margin-top: 14px;
  text-align: center;
}

/* ============================
   EY Section Header Styling
   ============================ */

.vr-field.vr-section,
.vr-section {
  background: #C9A24D;
  color: #ffffff;
  padding: 12px 16px;
  margin: 28px 0 18px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 15px;
}

/* Section divider line (optional subtle enhancement) */
.vr-field.vr-section::after,
.vr-section::after {
  content: "";
  display: block;
  height: 3px;
  background: rgba(255,255,255,.35);
  margin-top: 8px;
  border-radius: 2px;
}

/* Section titles should not behave like normal labels */
.vr-field.vr-section label {
  margin: 0;
  color: #fff;
}

/* Space reset so section headers don't look like inputs */
.vr-field.vr-section input,
.vr-field.vr-section textarea,
.vr-field.vr-section select {
  display: none;
}

/* EY Notes under sections */
.vr-field.vr-html em {
  display: block;
  background: #FFF8E6;
  border-left: 4px solid #C9A24D;
  padding: 10px 12px;
  margin: 12px 0 18px;
  font-size: 13px;
  color: #5a4a1f;
  border-radius: 6px;
}

/* ============================
   Validation Error Enhancements
   ============================ */

/* Highlight entire field container */
.vr-has-error {
  background: #fff6f6;
  padding: 12px;
  border-radius: 8px;
}

/* Red border on invalid inputs */
.vr-has-error input,
.vr-has-error textarea,
.vr-has-error select {
  border-color: #E55353 !important;
  background: #fff;
}

/* Field-level error message */
.vr-field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #B42318;
  font-weight: 500;
}

/* Top error box refinement */
.vr-top-error {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Checkbox error alignment (nice UX) */
.vr-field-checkbox.vr-has-error {
  border-left: 4px solid #E55353;
  padding-left: 12px;
}
.vr-wa-box { margin-top:14px; background:#f4fbf6; border:1px solid #cfe9d6; }
.vr-wa-title { font-weight:700; margin-bottom:6px; }
.vr-wa-desc { color:#2a2a2a; margin-bottom:10px; }
.vr-wa-btn {
  display:inline-block; padding:10px 14px; border-radius:8px;
  background:#25D366; color:#fff; font-weight:700; text-decoration:none;
}
.vr-wa-btn:hover { opacity:.92; }
.vr-wa-note { margin-top:10px; font-size:13px; color:#555; }
/* File validation message (shown immediately on file select) */
.vr-file-msg{
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #E6EAF0;
  background: #fff;
  line-height: 1.3;
}

.vr-progress{
  position: sticky;
  top: 10px;
  z-index: 9999;
  margin: 10px 0 14px;
}
.vr-progress-inner{
  background:#fff;
  border:1px solid #e6eaf0;
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}
.vr-progress-left{
  display:flex;
  gap:10px;
  align-items:baseline;
  flex-wrap:wrap;
}
.vr-progress-badge{
  background:#f6f8fb;
  border:1px solid #e6eaf0;
  border-radius:999px;
  padding:4px 10px;
  font-size:13px;
}
.vr-progress-title{
  font-weight:700;
  color:#0B1C2D;
  font-size:14px;
}
.vr-progress-bar{
  margin-top:10px;
  height:8px;
  background:#eef2f6;
  border-radius:999px;
  overflow:hidden;
}
.vr-progress-fill{
  height:100%;
  background:#16a34a;
  width:0%;
}
