.auth-wrap{width:94%;max-width:980px;margin:24px auto 50px}.auth-card{background:#fff;border:1px solid #d8dde6;border-radius:6px;padding:22px;box-shadow:0 2px 12px rgba(0,0,0,.05)}.auth-card-narrow{max-width:520px;margin:0 auto}.auth-card h1{margin:0 0 14px;color:#111;font-size:24px}.auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auth-form{display:grid;gap:12px}.auth-form label{display:grid;gap:5px;color:#555;font-size:12px;font-weight:bold;text-transform:uppercase}.auth-form input,.auth-form select{height:40px;box-sizing:border-box;border:1px solid #cfd6df;border-radius:4px;padding:0 10px;font-size:14px}.auth-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}.auth-actions form{margin:0}.auth-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;box-sizing:border-box;border:1px solid #ff4757;background:#ff4757;color:#fff;border-radius:4px;padding:9px 14px;font-weight:bold;text-decoration:none;cursor:pointer}.auth-btn.secondary{background:#fff;color:#ff4757}.auth-btn.dark{background:#111;border-color:#111;color:#fff}.auth-flash{padding:10px 12px;border-radius:4px;margin-bottom:14px;font-size:14px;font-weight:bold}.auth-flash ul{margin:0;padding-left:20px}.auth-flash.error{background:#fff5f6;color:#c92a2a;border:1px solid #ffc9c9}.auth-flash.success{background:#e3faf2;color:#087f5b;border:1px solid #96f2d7}.auth-note{color:#6b7280;font-size:13px;line-height:1.5}.profile-table{width:100%;border-collapse:collapse}.profile-table th,.profile-table td{border-bottom:1px solid #e5e9f0;padding:10px;text-align:left}.profile-table th{width:180px;color:#555}.nav-form{display:inline;margin:0}.nav-form .nav-logout{border:1px solid #1f2933;background:#fff;color:#1f2933;border-radius:4px;padding:5px 10px;font:inherit;font-size:14px;font-weight:bold;cursor:pointer}.nav-form .nav-logout:hover{border-color:#ff4757;color:#ff0000}@media(max-width:760px){.auth-grid{grid-template-columns:1fr}.auth-wrap{width:100%;padding:0 8px;box-sizing:border-box}.profile-table th{width:120px}}

.auth-form .auth-check{display:inline-flex!important;position:relative;align-items:center;justify-content:flex-start;gap:9px;width:max-content;color:#4b5563!important;font-size:13px!important;font-weight:normal!important;line-height:20px;text-transform:none!important;cursor:pointer}.auth-form .auth-check input[type=checkbox]{position:absolute!important;inline-size:1px!important;block-size:1px!important;opacity:0!important;pointer-events:none!important}.auth-toggle{display:block;position:relative;flex:0 0 34px;width:34px;height:20px;border:1px solid #cbd5e1;border-radius:999px;background:#e5e7eb;box-sizing:border-box;transition:background .18s ease,border-color .18s ease}.auth-toggle::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.18);transition:transform .18s ease}.auth-form .auth-check input[type=checkbox]:checked + .auth-toggle{border-color:#ff4757;background:#ff4757}.auth-form .auth-check input[type=checkbox]:checked + .auth-toggle::after{transform:translateX(14px)}.auth-form .auth-check input[type=checkbox]:focus-visible + .auth-toggle{outline:2px solid #fecdd3;outline-offset:2px}.site-version{margin-left:6px;color:#ff4757;font-weight:bold;text-decoration:none}.site-version:hover{text-decoration:underline}
