/* White-label login (resources/views/auth/login-guest.blade.php). Scoped to body.vbg; the background
   (.loginbody, panel stylesheet) is left as it is. */

.vbg { font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif; color: #0f172a; }

.vbg__wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.vbg__card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 24px 60px rgba(15, 23, 42, .14);
    overflow: hidden;
    animation: vbg-in .35s ease-out both;
}
@keyframes vbg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* logo strip: logo centred with room around it, never cropped or stretched */
.vbg__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 26px 32px 22px;
    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}
.vbg__logo { display: block; max-width: 260px; max-height: 72px; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.vbg__name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; text-align: center; }

.vbg__body { padding: 28px 36px 30px; }

/* headings */
.vbg .vb-auth-view h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; text-align: center; color: #0f172a; }
.vbg .vb-subtitle { font-size: 14px; color: #64748b; margin: 0 0 22px; text-align: center; }
.vbg form.m-t { margin-top: 0; }
.vbg .form-group { margin-bottom: 14px; }
.vbg .control-label { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }

/* inputs */
.vbg .form-control:not(.btn) {
    height: 46px;
    padding: 10px 14px;
    font-size: 14.5px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #dbe2ea;
    border-radius: 10px !important;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.vbg .form-control:not(.btn)::placeholder { color: #94a3b8; }
.vbg .form-control:not(.btn):hover { border-color: #c5cfdb; }
.vbg .form-control:not(.btn):focus { background: #fff; border-color: #1ab394; box-shadow: 0 0 0 3px rgba(26, 179, 148, .16); outline: none; }
/* browser autofill keeps the same look instead of its blue fill */
.vbg .form-control:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #f8fafc inset; -webkit-text-fill-color: #0f172a; }
.vbg .vb-pw .form-control { padding-right: 46px; }
.vbg .vb-pw__eye { right: 5px; }

/* remember me / forgot password row */
.vbg #loginform .form-group:nth-of-type(3) { margin: 2px 0 20px; }
.vbg .checkbox label { display: inline-flex; align-items: center; gap: 8px; padding-left: 0; font-size: 13.5px; font-weight: 500; color: #475569; cursor: pointer; }
.vbg .checkbox input[type=checkbox] { position: static; margin: 0; width: 16px; height: 16px; accent-color: #1ab394; }
.vbg a small { font-size: 13.5px; font-weight: 600; }
.vbg .vb-auth-view a:not(.btn) { color: #148f76; }
.vbg .vb-auth-view a:not(.btn):hover { color: #0f6f5c; text-decoration: none; }

/* reCAPTCHA checkbox centred (hidden for Enterprise keys) */
.vbg .vb-captcha { display: flex; justify-content: center; min-height: 78px; }

/* buttons */
.vbg .btn-primary {
    display: flex; align-items: center; justify-content: center;
    height: 46px; border-radius: 10px; font-size: 15px; font-weight: 600; letter-spacing: .01em;
    background: #1ab394; border-color: #1ab394; color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 6px 16px rgba(26, 179, 148, .25);
    transition: background .15s, box-shadow .15s, transform .05s;
}
.vbg .btn-primary:hover, .vbg .btn-primary:focus { background: #169e83; border-color: #169e83; color: #fff; }
.vbg .btn-primary:active { transform: translateY(1px); }
.vbg .btn-white {
    display: flex; align-items: center; justify-content: center;
    height: 44px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #0f172a;
    background: #fff; border: 1px solid #dbe2ea; transition: border-color .15s, background .15s;
}
.vbg .btn-white:hover { background: #f8fafc; border-color: #c5cfdb; color: #0f172a; }
.vbg .m-b { margin-bottom: 12px; }

/* "Don't have an account?" as a divider line */
.vbg #loginform > p.text-muted { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px !important; color: #94a3b8; }
.vbg #loginform > p.text-muted::before, .vbg #loginform > p.text-muted::after { content: ''; flex: 1; height: 1px; background: #e5eaf0; }
.vbg #loginform > p.text-muted small { font-size: 12.5px; white-space: nowrap; color: #64748b; }

.vbg .alert { border-radius: 10px; font-size: 13.5px; padding: 10px 14px; margin-bottom: 14px; }

/* below the card */
.vbg__secure { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; font-size: 12.5px; color: #475569; }
.vbg__secure .fa { color: #16a34a; }
.vbg__foot { margin: 6px 0 0; font-size: 12px; color: #64748b; text-align: center; }
.vbg__foot a { color: inherit; }

@media (max-width: 480px) {
    .vbg__wrap { justify-content: flex-start; padding-top: 24px; }
    .vbg__brand { min-height: 88px; padding: 20px 22px 18px; }
    .vbg__logo { max-width: 200px; max-height: 54px; }
    .vbg__body { padding: 22px 22px 24px; }
}
