* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #f3f6fb;
    color: #1f2937;
}

.login-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-panel {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.login-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.login-brand h1 {
    margin: 0 0 6px;
    font-size: 24px;
}

.login-brand p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.login-form {
    display: grid;
    gap: 18px;
}

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

.field span {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.field input {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.login-actions {
    margin-top: 4px;
}

.btn {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn.primary {
    background: #2563eb;
    color: #ffffff;
}

.btn.primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.login-status {
    min-height: 22px;
    font-size: 13px;
    color: #6b7280;
}

.login-status.error {
    color: #dc2626;
}

.login-status.success {
    color: #16a34a;
}
