/* Shared look for the sign-in pages: log in, sign up, forgot / reset password, email verified. */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #faf9f7; color: #2b2b2b; margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 16px 24px 16px; box-sizing: border-box; }
.auth-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a1a; font-weight: 800; font-size: 18px; margin-bottom: 22px; }
.auth-brand img { width: 34px; height: 34px; border-radius: 9px; }
.auth-card { width: 100%; max-width: 400px; background: white; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.07); padding: 28px 26px; box-sizing: border-box; }
.auth-card h1 { font-size: 24px; margin: 0 0 6px 0; letter-spacing: -0.3px; }
.auth-sub { color: #777; font-size: 14px; margin: 0 0 20px 0; line-height: 1.5; }
.auth-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 20px 0; }
.auth-strip span { background: #f1eee7; color: #5c564a; border-radius: 12px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.auth-alert { background: #fdecea; color: #a5322a; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 16px 0; line-height: 1.45; }
.auth-note { background: #eaf6ec; color: #1e6b34; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 16px 0; line-height: 1.45; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #444; margin-bottom: 6px; }
.field .row-label { display: flex; justify-content: space-between; align-items: baseline; }
.field .row-label a { font-size: 13px; font-weight: 600; color: #777; text-decoration: none; }
.field .row-label a:hover { color: #1a1a1a; text-decoration: underline; }
.field input[type=text], .field input[type=email], .field input[type=password], .field select { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #ddd; border-radius: 10px; font-size: 15px; font-family: inherit; background: white; color: inherit; }
.field input:focus, .field select:focus { outline: none; border-color: #1a1a1a; box-shadow: 0 0 0 3px rgba(26,26,26,0.08); }
.field .help { font-size: 12px; color: #999; margin-top: 5px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 64px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #777; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.pw-toggle:hover { background: #f4f1ea; color: #1a1a1a; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #555; margin: 4px 0 16px 0; line-height: 1.45; }
.check input { margin-top: 2px; width: auto; }
.check a { color: #1a1a1a; }
.auth-btn { display: block; width: 100%; padding: 13px; background: #1a1a1a; color: white; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; box-sizing: border-box; }
.auth-btn:hover { background: #333; }
.auth-alt { text-align: center; font-size: 14px; color: #777; margin: 18px 0 0 0; }
.auth-alt a { color: #1a1a1a; font-weight: 700; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }
.auth-foot { margin-top: 22px; font-size: 12px; color: #aaa; }
.auth-foot a { color: #999; text-decoration: none; margin: 0 6px; }
.auth-foot a:hover { color: #555; }
.big-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px auto; }
.big-icon.ok { background: #e7f3eb; color: #2e8b57; }
.big-icon.bad { background: #fbe9e7; color: #c0392b; }
.center { text-align: center; }

body.dark-mode { background: #121212 !important; color: #e8e8e8; }
body.dark-mode .auth-brand { color: #f0f0f0; }
body.dark-mode .auth-card { background: #1e1e1e; box-shadow: none; border: 1px solid #2c2c2c; }
body.dark-mode .field label { color: #ccc; }
body.dark-mode .field input[type=text], body.dark-mode .field input[type=email], body.dark-mode .field input[type=password] { background: #262626 !important; border-color: #3a3a3a !important; color: #eee !important; }
body.dark-mode .auth-btn { background: #f0f0f0 !important; color: #111 !important; }
body.dark-mode .auth-alt a, body.dark-mode .check a { color: #f0f0f0 !important; }
body.dark-mode .auth-strip span { background: #262626; color: #ccc; }
body.dark-mode .pw-toggle { color: #aaa; background: none !important; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
body.dark-mode .field select { background-color: #262626 !important; border-color: #3a3a3a !important; color: #eee !important; }
