#vlp-overlay * { box-sizing: border-box; }
#vlp-overlay .vlp-modal button { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: inherit; padding: 0; margin: 0; font: inherit; }

.vlp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; z-index: 999999; }
.vlp-overlay.is-open { display: block; }
body.vlp-locked { overflow: hidden; }

.vlp-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; width: 92vw; max-width: 520px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); padding: 20px; }

.vlp-close { position: absolute; right: 12px; top: 8px; width: 32px; height: 32px; line-height: 32px; text-align: center; border-radius: 8px; color: #333 !important; }
.vlp-close:hover { background: #f2f4f7; }

.vlp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f2f4f7; padding: 6px; border-radius: 12px; margin-bottom: 16px; }
.vlp-tab { background: transparent !important; padding: 10px 14px; cursor: pointer; border-radius: 10px; font-weight: 700; color: #111 !important; }
.vlp-tab.is-active { background: #fff !important; color: #111 !important; box-shadow: 0 1px 0 rgba(0,0,0,.05), inset 0 0 0 1px rgba(0,0,0,.06); }

/* Brand-colored active tabs */
#vlp-overlay .vlp-tabs .vlp-tab.is-active[data-tab="login"]   { background:#f69055 !important; color:#fff !important; }
#vlp-overlay .vlp-tabs .vlp-tab.is-active[data-tab="register"]{ background:#1993cc !important; color:#fff !important; }

.vlp-panel { display: none; }
.vlp-panel.is-active { display: block; }

.vlp-form { display: grid; gap: 12px; }
.vlp-field label { display:block; font-size: 12px; color:#555; margin-bottom: 6px; }
.vlp-field input { width: 100%; padding: 10px 12px; border: 1px solid #d0d7de; border-radius: 10px; outline: none; background: #fff; }
.vlp-field input:focus { border-color: #1993cc; box-shadow: 0 0 0 3px rgba(25,147,204,.15); }

.vlp-row { display: flex; justify-content: space-between; align-items: center; }
.vlp-checkbox { display: flex; align-items: center; gap: 8px; user-select: none; }
.vlp-forgot { font-size: 12px; }

.vlp-submit {
  background-image: linear-gradient(90deg,#f69055 0%, #1993cc 100%) !important;
  background-color: #1993cc !important;
  color: #fff !important; border: 0 !important; box-shadow: none !important;
  padding: 12px 16px; border-radius: 10px; cursor: pointer; font-weight: 700;
}
.vlp-submit:hover  { filter: brightness(0.98); }
.vlp-submit:active { transform: translateY(1px); }

.vlp-msg { display: none; font-size: 13px; padding: 8px 10px; border-radius: 8px; }
.vlp-msg.error { background: #fff1f0; color: #d4380d; border: 1px solid #ffccc7; }
.vlp-msg.success { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }

.vlp-button { display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius: 10px; border: 1px solid #e5e7eb; text-decoration:none; }
.vlp-button:hover { background:#f9fafb; }
.vlp-icon { font-size: 16px; line-height: 1; }
