* { box-sizing: border-box; }
body { margin:0; min-height:100vh; font-family:Arial,sans-serif; background:#0f172a; color:#0f172a; }
.auth-shell { min-height:100vh; display:grid; place-items:center; padding:24px; }
.auth-card { width:min(100%,460px); padding:32px; background:#fff; border-radius:18px; box-shadow:0 20px 50px rgba(0,0,0,.28); }
.auth-brand { color:#2563eb; font-size:28px; font-weight:800; margin-bottom:24px; }
.auth-card h1 { margin:0 0 10px; }
.auth-card p { color:#475569; line-height:1.5; }
.auth-card form { display:grid; gap:16px; margin-top:22px; }
.auth-card label { display:grid; gap:7px; font-weight:700; }
.auth-card input { width:100%; min-height:44px; padding:10px 12px; border:1px solid #cbd5e1; border-radius:8px; }
.auth-card button { min-height:44px; border:0; border-radius:8px; background:#2563eb; color:#fff; font-weight:700; cursor:pointer; }
.auth-error { margin:16px 0; padding:12px; border-radius:8px; background:#fef2f2; color:#b91c1c; }
.auth-note { margin-top:20px; font-size:13px; }
.auth-qr { display:block; width:220px; max-width:100%; margin:18px auto; }
.recovery-codes { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:18px 0; }
.recovery-codes code { padding:9px; background:#f1f5f9; border-radius:6px; text-align:center; }

.auth-brand img {
    display: block;
    max-width: 170px;
    max-height: 54px;
    object-fit: contain;
}

.auth-support {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
}

.auth-support a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.bithomes-auth-page .auth-card {
    text-align: center;
}

.bithomes-auth-brand {
    display: flex;
    justify-content: center;
    margin: 0 0 26px;
}

.bithomes-auth-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 850;
    text-decoration: none;
}

.bithomes-auth-brand-link img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.bithomes-auth-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
}

.bithomes-auth-content h1,
.bithomes-auth-content h2,
.bithomes-auth-content > p {
    text-align: center;
}

.bithomes-auth-content form {
    text-align: left;
}


.auth-success {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #86efac;
    border-radius: 8px;
    background: #f0fdf4;
    color: #166534;
    text-align: center;
    font-weight: 700;
}

.auth-error {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    text-align: center;
    font-weight: 700;
}

.bithomes-auth-content .auth-note {
    text-align: center;
}

.bithomes-auth-content .auth-note a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

/* BITHOMES_AUTH_SECURITY_V14 */
.auth-password-control{position:relative;display:block}.auth-password-control input{padding-right:82px}.auth-password-toggle{position:absolute;top:50%;right:8px;width:auto!important;min-height:30px!important;padding:5px 10px!important;transform:translateY(-50%);border-radius:6px!important;background:#334155!important;font-size:12px!important}

/* BITHOMES_LOGIN_EYE_ONLY_V24_3_2 */
.auth-password-control #login-password {
  padding-right: 54px;
}
.auth-password-control .auth-password-toggle[data-password-toggle="login-password"] {
  width: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #334155 !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
.auth-password-control .auth-password-toggle[data-password-toggle="login-password"]:hover,
.auth-password-control .auth-password-toggle[data-password-toggle="login-password"]:focus-visible {
  background: #e2e8f0 !important;
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
