* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: #f9f8f8; color: #1e1f21; }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border-radius: 12px; padding: 32px; box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.auth-logo { display: flex; align-items: center; margin-bottom: 24px; }
.auth-logo img { display: block; height: 46px; width: auto; }
h1 { font-size: 22px; font-weight: 500; margin: 0 0 16px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
input { height: 40px; padding: 0 12px; border: 1px solid #cfcbcb; border-radius: 6px; font: inherit; }
input:focus { outline: none; border-color: #24786C; box-shadow: 0 0 0 3px #E3F4F1; }
.btn-primary { display: inline-flex; justify-content: center; align-items: center; width: 100%; height: 40px; border: 0; border-radius: 6px; background: #24786C; color: #fff; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn-primary:hover { background: #1F6F64; }
.alert { padding: 10px 12px; border-radius: 6px; margin-bottom: 14px; font-size: 13px; }
.alert.error { background: #fbe6eb; color: #a11f3f; }
.alert.ok { background: #e5f4ed; color: #2f7a5a; }
.muted { color: #6d6e6f; font-size: 13px; }
.small { font-size: 12px; }

.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; box-sizing: border-box; padding-right: 44px; }
.pw-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #6d6e6f; cursor: pointer; }
.pw-eye:hover { color: #1e1f21; background: #f1f1f1; }
.pw-eye:focus-visible { outline: 2px solid #24786C; outline-offset: 1px; }
.pw-eye[aria-pressed="true"] { color: #24786C; }

.check-row { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 13px; margin: -4px 0 16px; cursor: pointer; }
.check-row input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: #24786C; }
a { color: #24786C; } a:hover { color: #1F6F64; }
