/* Account presentation only. Core login/reset forms and security hooks remain intact. */
.thc-dir-account, .thc-dir-account-page {
  --thc-account-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --thc-account-width: 1200px;
  --thc-account-blue: #1a73e8;
  --thc-account-dark: #174ea6;
  color: #151415;
  font-family: var(--thc-account-font);
  font-size: 16px;
  line-height: 1.6;
}
body.thc-dir-account { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.thc-dir-account *, .thc-dir-account-page * { box-sizing: border-box; }
.thc-dir-account a, .thc-dir-account-page a { color: var(--thc-account-dark); text-decoration: underline; text-underline-offset: 3px; }
.thc-dir-account a:hover, .thc-dir-account-page a:hover { color: #1259b7; }
.thc-dir-account a:focus-visible, .thc-dir-account-page a:focus-visible { outline: 2px solid var(--thc-account-blue); outline-offset: 4px; }
.thc-account-header { background: #fff; border-bottom: 1px solid #e8edf4; }
.thc-account-container { max-width: var(--thc-account-width); margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.thc-account-brand { display: inline-flex; align-items: center; text-decoration: none !important; max-width: 100%; font-weight: 700; }
.thc-account-brand img { width: 180px; max-width: 100%; height: auto; max-height: 62px; object-fit: contain; }
.thc-account-header nav, .thc-account-footer nav, .thc-account-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.thc-account-header nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.thc-account-main, .thc-dir-account-page { background: linear-gradient(135deg, #174ea6, #1a73e8); }
.thc-account-main { flex: 1 0 auto; padding: 56px 24px; }
.thc-dir-account #login, .thc-account-card { width: 100%; max-width: 480px; min-width: 0; margin: 0 auto; padding: 32px; border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; box-shadow: 0 18px 45px rgba(15, 23, 42, .12); }
.thc-account-card { text-align: left; }
.thc-dir-account #login > h1, .thc-dir-account #backtoblog, .thc-dir-account #login .privacy-policy-page-link { display: none; }
.thc-account-kicker { margin: 0 0 10px; color: var(--thc-account-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.thc-account-intro h2, .thc-account-card h1 { margin: 0 0 10px; padding: 0; border: 0; color: #151415; font-size: clamp(26px, 4vw, 32px); font-weight: 600; line-height: 1.2; }
.thc-account-intro > p:last-child, .thc-account-card > p { margin: 0 0 22px; }
.thc-dir-account #login form, .thc-account-card form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: visible; }
.thc-dir-account #login label, .thc-account-card form label { display: inline-block; color: #253045; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.thc-dir-account #login input[type="text"], .thc-dir-account #login input[type="email"], .thc-dir-account #login input[type="password"],
.thc-account-card input[type="text"], .thc-account-card input[type="email"], .thc-account-card input[type="password"] {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; margin: 0 0 20px; padding: 11px 13px; border: 1px solid #abb7c8; border-radius: 8px; background: #fff; color: #151415; font: inherit; box-shadow: none;
}
.thc-dir-account #login input:focus, .thc-account-card input:focus { outline: 2px solid var(--thc-account-blue); outline-offset: 2px; border-color: var(--thc-account-blue); }
.thc-dir-account #login .password-input { padding-right: 48px; }
.thc-dir-account #login .wp-hide-pw { height: 48px; width: 44px; min-height: 0; padding: 0; color: var(--thc-account-dark); border: 0; background: transparent; box-shadow: none; }
.thc-dir-account #login .wp-hide-pw .dashicons { top: 0; }
.thc-dir-account #login .forgetmenot, .thc-account-card .login-remember { float: none; margin: 0 0 16px; }
.thc-dir-account #login .forgetmenot label, .thc-account-card .login-remember label { font-weight: 400; }
.thc-dir-account #login input[type="checkbox"], .thc-account-card input[type="checkbox"] { width: 16px; height: 16px; margin-right: 7px; vertical-align: middle; accent-color: var(--thc-account-blue); }
.thc-dir-account #login .submit, .thc-account-card .login-submit { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.thc-dir-account #login .button-primary, .thc-account-card .button-primary, .thc-account-card button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; float: none; padding: 11px 16px; border: 1px solid var(--thc-account-blue); border-radius: 8px; background: var(--thc-account-blue); color: #fff; font: inherit; font-weight: 600; text-decoration: none; text-shadow: none; box-shadow: none; cursor: pointer;
}
.thc-dir-account #login .button-primary:hover, .thc-account-card .button-primary:hover, .thc-account-card button[type="submit"]:hover { background: var(--thc-account-dark); }
.thc-dir-account #login .button-primary:disabled { opacity: .55; cursor: not-allowed; }
.thc-dir-account #login .wp-generate-pw { width: 100%; padding: 9px 14px; min-height: 44px; border: 1px solid #9cb7df; border-radius: 8px; background: #f7f9fc; color: var(--thc-account-dark); font: inherit; }
.thc-dir-account #login .message, .thc-dir-account #login #login_error, .thc-dir-account #login .notice { margin: 20px 0; padding: 14px 16px; border: 1px solid #bfd3ef; border-left: 4px solid var(--thc-account-blue); border-radius: 8px; background: #f2f7ff; box-shadow: none; overflow-wrap: anywhere; font-size: 14px; }
.thc-dir-account #login #login_error, .thc-dir-account #login .notice-error { border-color: #efc3bd; border-left-color: #b23b2c; background: #fff5f3; }
.thc-dir-account #login #nav { margin: 24px 0 0; padding: 0; font-size: 14px; line-height: 1.7; }
.thc-dir-account #login #nav a { color: var(--thc-account-dark); }
.thc-dir-account #login .description { margin: 15px 0; font-size: 13px; line-height: 1.6; }
.thc-dir-account #pass-strength-result { margin-bottom: 16px; border-radius: 5px; }
.thc-account-links { margin-top: 24px; font-size: 14px; }
.thc-account-help { margin: 24px 0 0 !important; font-size: 14px; }
.thc-account-footer { padding: 24px; text-align: center; background: #fff; color: #5b6473; font-size: 13px; }
.thc-account-footer p { margin: 0 0 10px; }
.thc-account-footer nav { justify-content: center; }
.thc-dir-account .language-switcher { margin: 24px auto 0; color: #fff; text-align: center; }
@media (max-width: 520px) {
  .thc-account-main { padding: 28px 16px; }
  .thc-dir-account #login, .thc-account-card { padding: 26px 22px; }
  .thc-account-container { padding: 18px 20px; gap: 14px; }
  .thc-account-header nav { gap: 12px 18px; }
  .thc-dir-account-page .thc-dir-section { padding: 28px 0; }
  .thc-dir-account-page .thc-dir-inner { padding: 0 16px; }
}
