﻿:root {
    --bg-page: #ecf0fe;
    --bg-card: #ffffff;
    --bg-soft: #f8faff;
    --line: #dde8f5;
    --line-strong: #cdd9ea;
    --text-main: #0d1b3e;
    --text-soft: #5b7ba8;
    --text-light: #9db3cc;
    --brand: #3b82f6;
    --brand-deep: #2563eb;
    --sidebar: #0c1d4a;
    --sidebar-soft: #10265d;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow-soft: 0 1px 3px rgba(13, 27, 78, 0.05), 0 2px 8px rgba(13, 27, 78, 0.04);
    --shadow-panel: 0 4px 20px rgba(13, 27, 78, 0.1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-main);
    background: var(--bg-page);
    font-size: 13px;
    line-height: 1.5;
}

body {
    min-height: 100vh;
}

.title {
    margin: 0 0 8px;
    font-size: 30px;
    letter-spacing: -0.01em;
}

.desc {
    margin: 0 0 24px;
    color: var(--text-soft);
    line-height: 1.75;
}

.form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
}

.input,
.submit,
.ghost,
.mini-btn,
.nav-link,
.top-action {
    border-radius: 8px;
    font-size: 13px;
}

.input {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 12px;
    outline: none;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
    border-color: rgba(59, 130, 246, 0.72);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.submit,
.ghost,
.mini-btn,
.nav-link,
.top-action {
    border: 0;
    cursor: pointer;
    transition: 0.2s ease;
}

.submit {
    padding: 12px 16px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.ghost {
    padding: 9px 13px;
    color: var(--brand-deep);
    font-weight: 700;
    background: #eff6ff;
}

.mini-btn {
    padding: 10px 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.submit:hover,
.ghost:hover,
.mini-btn:hover,
.nav-link:hover,
.top-action:hover {
    transform: translateY(-1px);
}

.message {
    min-height: 22px;
    margin-top: 4px;
    font-size: 14px;
}

.message.error {
    color: var(--danger);
}

.message.success {
    color: var(--success);
}

.brand-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: none;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

