/*
Theme Name: BBBPOS Portal
Theme URI: https://app.bbbpos.com/
Author: BBBPOS
Author URI: https://bbbpos.com/
Description: Dedicated customer login theme for the BBBPOS application portal. Install on the portal subdomain, not the public marketing website.
Version: 0.3.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: bbbpos-portal
*/

:root { --blue:#0071e3; --blue-dark:#005bb5; --ink:#1d1d1f; --muted:#6e6e73; --line:#d2d2d7; --red:#b42318; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.bbbpos-portal {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(0,113,227,.17), transparent 34%),
    radial-gradient(circle at 85% 100%, rgba(68,205,127,.10), transparent 30%),
    linear-gradient(180deg, #f5f5f7 0%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.portal-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.portal-card { width: min(440px, 100%); padding: 42px; border: 1px solid #e5e5ea; border-radius: 30px; background: rgba(255,255,255,.94); box-shadow: 0 28px 80px rgba(0,0,0,.11); backdrop-filter: blur(18px); }
.portal-brand { display: flex; justify-content: center; align-items: center; gap: 13px; margin-bottom: 30px; }
.portal-brand-mark { width: 58px; height: 58px; flex: 0 0 58px; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.portal-brand-mark img { display: block; width: 100%; height: 100%; }
.portal-brand strong { display: block; font-size: 25px; line-height: 1; letter-spacing: -.04em; }
.portal-brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.portal-intro { margin: -8px 0 26px; color: var(--muted); text-align: center; font-size: 13px; }
.portal-error { margin: 0 0 19px; padding: 12px 14px; border-radius: 12px; color: var(--red); background: #fff1f0; font-size: 13px; font-weight: 700; }
.portal-form p { margin: 0 0 17px; }
.portal-form label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.portal-form input[type="text"], .portal-form input[type="password"] { width: 100%; min-height: 54px; padding: 13px 46px 13px 15px; border: 1px solid var(--line); border-radius: 14px; outline: none; background: #fff; color: var(--ink); }
.portal-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.13); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 55px !important; }
.password-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); border: 0; border-radius: 9px; padding: 7px; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }
.password-toggle:hover { color: var(--blue); background: #f3f7fc; }
.portal-form .login-submit { margin-top: 8px; margin-bottom: 0; }
.portal-form .button-primary, .portal-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; border: 0; border-radius: 14px; color: #fff; background: var(--blue); text-decoration: none; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px rgba(0,113,227,.24); }
.portal-form .button-primary:hover, .portal-primary:hover { background: var(--blue-dark); }
.portal-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.portal-links a { color: var(--blue); text-decoration: none; font-size: 12px; font-weight: 700; }
.portal-links a:hover { text-decoration: underline; }
.portal-logged-in { text-align: center; }
.portal-logged-in p { color: var(--muted); }
.portal-secondary { display: inline-flex; justify-content: center; margin-top: 15px; color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 750; }
.portal-footer { margin-top: 28px; padding-top: 19px; border-top: 1px solid #ececf0; color: var(--muted); text-align: center; font-size: 11px; }
@media (max-width: 560px) { .portal-screen { padding: 14px; } .portal-card { padding: 30px 22px; border-radius: 24px; } }
