/* === Vault-specific additions, layered on top of ../styles.css === */

.hero-compact {
  min-height: auto;
  padding: 132px 32px 40px;
}

.vwrap {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.vwrap .veyebrow {
  font-family: var(--fm); font-size: 0.72rem; color: var(--ac);
  letter-spacing: 0.06em; margin-bottom: 6px; display: block;
}
.vwrap h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; }

.vlabel {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--dim); margin: 18px 0 8px;
}
.vlabel:first-of-type { margin-top: 0; }

.vinput, .vselect {
  display: block; width: 100%;
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 8px; padding: 11px 12px; color: var(--text);
  font-family: var(--fm); font-size: 0.85rem;
  outline: none; transition: border-color 0.2s;
}
.vinput:focus, .vselect:focus { border-color: rgba(var(--ar),var(--ag),var(--ab),0.4); }

.vrow {
  display: flex; gap: 12px;
  margin-top: 22px;
}
.vrow > div { flex: 1; }

.vfilebox {
  border: 1px dashed var(--border2); border-radius: 8px;
  padding: 16px; text-align: center; margin-top: 10px;
  color: var(--dim); font-size: 0.82rem; font-family: var(--fm);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.vfilebox:hover { border-color: rgba(var(--ar),var(--ag),var(--ab),0.35); color: var(--text); }
.vfilebox input { display: none; }
.vfilebox .fname { color: var(--ac); }

.vtoggle-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding: 13px 16px;
  background: rgba(255,255,255,0.015); border: 1px solid var(--border);
  border-radius: 8px;
}
.vtoggle-row .vt-title { font-size: 0.86rem; color: var(--text); display: block; }
.vtoggle-row .vt-sub { font-size: 0.74rem; color: var(--dimmer); display: block; margin-top: 2px; }

.vswitch { position: relative; width: 38px; height: 21px; flex-shrink: 0; }
.vswitch input { opacity: 0; width: 0; height: 0; }
.vslider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--border2); border-radius: 22px; transition: 0.15s;
}
.vslider::before {
  content: ''; position: absolute; width: 15px; height: 15px;
  left: 3px; top: 3px; background: var(--dim); border-radius: 50%; transition: 0.15s;
}
.vswitch input:checked + .vslider { background: rgba(var(--ar),var(--ag),var(--ab),0.28); }
.vswitch input:checked + .vslider::before { transform: translateX(17px); background: var(--ac); }

.verror {
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.15);
  color: #f87171; font-size: 0.85rem; font-family: var(--fm);
}

.vresult {
  margin-top: 18px; padding: 16px;
  background: var(--bg); border: 1px solid rgba(var(--ar),var(--ag),var(--ab),0.2);
  border-radius: 8px;
}
.vresult .vmeta {
  margin-top: 10px; font-size: 0.78rem; color: var(--dim); line-height: 1.6;
}

.vprogress {
  margin-top: 12px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.06); overflow: hidden; display: none;
}
.vprogress .bar {
  height: 100%; width: 0%; background: var(--ac); transition: width 0.15s;
}

.vfile-download {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--bg); border: 1px solid var(--border2);
  border-radius: 8px; margin-top: 4px;
}
.vfile-download .vfmeta { font-family: var(--fm); font-size: 0.85rem; }
.vfile-download .vfsize { color: var(--dimmer); font-size: 0.74rem; }

.vsecret-view {
  background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  padding: 16px; font-family: var(--fm); font-size: 0.85rem;
  white-space: pre-wrap; word-break: break-word;
  max-height: 420px; overflow-y: auto; margin: 0;
}

.vstatus {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: 0.74rem; color: var(--dim);
  margin-top: 16px;
}
.vstatus .dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }

.vcenter { text-align: center; padding: 36px 16px; }
.vcenter .glyph { color: var(--ac); margin-bottom: 14px; }
.vcenter h2 { font-size: 1.05rem; margin: 0 0 8px; }
.vcenter p { font-size: 0.88rem; color: var(--dim); max-width: 380px; margin: 0 auto; line-height: 1.6; }

.info-row {
  margin-bottom: 24px;
}