/* Plansy login and 2FA – same grey, white and green as the app */
*, *::before, *::after { box-sizing: border-box; }
html { background: #efefef; }
body { margin: 0; min-height: 100vh; font-family: "Poppins", system-ui, sans-serif; font-size: 15px; color: #151515; background: #efefef; }
p, h1 { margin: 0; }

.login { display: flex; flex-direction: column; justify-content: center; gap: 24px; width: min(420px, 100%); min-height: 100vh; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); }

.login-brand { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.login-logo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #253223; color: #fff; font-size: 20px; font-weight: 600; }
.login-name { font-size: 18px; font-weight: 600; line-height: 1.2; }
.login-salon { font-size: 13px; color: #5f5f5f; }

.login-card { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px; border: 1px solid #e3e3e3; border-radius: 18px; background: #fff; }
.login-card h1 { font-size: 22px; font-weight: 600; }
.login-lead { margin-top: -8px; font-size: 14px; color: #5f5f5f; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: #4a4a4a; }
.field input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; color: #151515; font: inherit; font-size: 16px; font-weight: 400; }
.field input:focus { outline: none; border-color: #253223; box-shadow: 0 0 0 3px rgba(37, 50, 35, 0.12); }

.remember { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #4a4a4a; cursor: pointer; }
.remember input { width: 18px; height: 18px; margin: 0; accent-color: #253223; }

.login-error { padding: 11px 14px; border-radius: 10px; background: #fbeceb; color: #b3261e; font-size: 14px; }

.login-button { min-height: 50px; margin-top: 4px; border: 0; border-radius: 12px; background: #253223; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.login-button:hover { background: #1a2419; }
.login-button:focus-visible, .login-back:focus-visible, .remember input:focus-visible { outline: 2px solid #253223; outline-offset: 2px; }
.login-back { align-self: center; font-size: 13px; color: #2f5a3a; text-decoration: none; }

.env-banner { position: fixed; top: 0; left: 0; right: 0; padding: 4px 12px; background: #c2410c; color: #fff; font-size: 12px; font-weight: 600; text-align: center; }
