/* phpMyAdmin 风格：浅灰底、窄卡片、左上角蓝色标题条 */
:root {
  --brand: #4a6e9c;
  --brand-dark: #3b587d;
  --bg: #f4f4f4;
  --fg: #2b2b2b;
  --muted: #6d6d6d;
  --line: #cfcfcf;
}
body.pma { background: #f4f4f4; font-size: 13px; }
.pma-top { background: linear-gradient(180deg, #5d7ea8 0%, #4a6e9c 100%); border-bottom: 1px solid #33506f; }
.pma-top-inner { max-width: 980px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; }
.pma-logo { color: #fff; font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pma-logo:hover { text-decoration: none; }
.pma-mark { width: 24px; height: 24px; border-radius: 4px; background: #fff; color: #4a6e9c; display: grid; place-items: center; font-weight: 700; }
.pma-ver { color: #d6e2f0; font-size: 12px; }
.pma-main { max-width: 700px; margin: 34px auto 0; padding: 0 18px; }
.pma-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.pma-tabs { display: flex; border-bottom: 1px solid var(--line); background: #eaeef3; }
.pma-tab { padding: 8px 16px; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); }
.pma-tab.is-active { background: #fff; color: #2b2b2b; font-weight: 600; margin-bottom: -1px; border-bottom: 1px solid #fff; }
.pma-body { padding: 20px 22px 18px; }
.pma-lang { margin-bottom: 16px; }
.pma-lang select { width: 260px; padding: 5px 8px; font-size: 13px; }
.pma .field { margin-bottom: 12px; }
.pma label { font-size: 13px; color: #2b2b2b; }
.pma input[type="text"], .pma input[type="password"] { padding: 5px 8px; font-size: 13px; border-radius: 2px; border-color: #a9a9a9; max-width: 260px; }
.pma-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 12px; }
.pma-server { font-size: 12px; color: var(--muted); }
.pma-submit { width: auto; padding: 6px 18px; border-radius: 2px; font-size: 13px; }
.pma-tip { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.pma-tip p { margin: 0 0 4px; }
.pma-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; }
.pma-foot { max-width: 700px; margin: 30px auto 26px; padding: 0 18px; display: flex; justify-content: space-between;
  font-size: 11px; color: #8a8a8a; border-top: 1px solid #dcdcdc; padding-top: 10px; }
.pma .alert { font-size: 12px; border-radius: 2px; }

/* 验证码：图片与输入框并排，和 phpMyAdmin 的插件式验证码一致 */
.pma-captcha { display: flex; align-items: center; gap: 10px; }
.pma-captcha svg { border: 1px solid #c3c3c3; border-radius: 2px; flex: 0 0 auto; }
.pma-captcha input { max-width: 140px; text-transform: uppercase; letter-spacing: 2px; }
.pma-captcha-hint { font-size: 11px; color: #8a8a8a; margin-top: 4px; }
