:root { font-family: Inter, system-ui, sans-serif; color: #17212b; background: #f2f5f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
.card { width: min(440px, calc(100vw - 32px)); background: white; border: 1px solid #dce3e9; border-radius: 18px; padding: 32px; box-shadow: 0 14px 50px #24364718; }
.brand { color: #176b58; font-weight: 800; font-size: 22px; }
h1 { margin: 24px 0 8px; font-size: 28px; }
p { color: #64717d; line-height: 1.5; }
label { display: grid; gap: 7px; margin: 18px 0; font-weight: 600; }
input { padding: 12px 14px; border: 1px solid #cbd5dd; border-radius: 9px; font: inherit; }
button { width: 100%; border: 0; border-radius: 9px; padding: 13px; background: #176b58; color: white; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:hover:not(:disabled), .button--primary:hover { background: #125847; }
button:focus-visible, .button:focus-visible { outline: 3px solid #176b5840; outline-offset: 2px; }
a { color: #176b58; }
.auth-actions { display: grid; gap: 12px; margin-top: 18px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 9px; padding: 11px 14px; font-weight: 700; text-align: center; text-decoration: none; }
.button--primary { border: 1px solid #176b58; background: #176b58; color: white; }
.button--secondary { border: 1px solid #b9c9c4; background: transparent; color: #176b58; }
.button--secondary:hover:not(:disabled) { border-color: #176b58; background: #eef7f4; }
.button--secondary:disabled { background: #f4f6f7; color: #7b878f; border-color: #d5dde2; }
.message { padding: 12px; border-radius: 9px; background: #eef7f4; color: #28594d; }
.error { color: #a53636; min-height: 1.4em; }
.auth-note { padding: 10px 12px; border-radius: 9px; background: #fff7df; color: #725819; }
.cdek-email-group, .password-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; border: 1px solid #cbd5dd; border-radius: 9px; background: white; overflow: hidden; }
.cdek-email-group:focus-within, .password-group:focus-within { border-color: #176b58; box-shadow: 0 0 0 3px #176b5818; }
.cdek-email-group input, .password-group input { min-width: 0; border: 0; border-radius: 0; outline: 0; }
.cdek-email-suffix { display: flex; align-items: center; padding: 0 14px 0 6px; color: #64717d; font-weight: 500; user-select: none; }
.cdek-email-group--full .cdek-email-suffix { display: none; }
.password-toggle { width: auto; padding: 0 12px; border-radius: 0; background: #eef7f4; color: #176b58; font-size: 12px; }
@media (max-width: 520px) { .card { padding: 24px 20px; } .auth-actions { gap: 14px; } }
.pending-icon { display: grid; width: 48px; height: 48px; margin-top: 24px; place-items: center; border-radius: 50%; background: #eef7f4; color: #176b58; font-size: 24px; font-weight: 800; }
