* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body,
input,
button {
    font-family: "Microsoft YaHei", "PingFang SC", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

.qm-auth {
    color: #20242a;
    background: #eef1f5;
}

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

.qm-auth-panel {
    width: 380px;
    max-width: 100%;
    padding: 26px;
    background: #fff;
    border-top: 4px solid #15c142;
    box-shadow: 0 12px 28px rgba(31, 35, 42, .12);
}

.qm-auth-title {
    margin-bottom: 22px;
    color: #20222a;
    font-size: 22px;
    font-weight: 700;
}

.qm-auth-field {
    display: block;
    margin-bottom: 14px;
}

.qm-auth-field span {
    display: block;
    margin-bottom: 6px;
    color: #4b5563;
    font-size: 13px;
}

.qm-auth-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d8dee8;
    border-radius: 2px;
    outline: none;
}

.qm-auth-input:focus {
    border-color: #15c142;
}

.qm-auth-button {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: #0dc316;
    cursor: pointer;
}

.qm-auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    color: #2366a8;
    font-size: 13px;
}

.qm-auth-message,
.errorlist {
    margin: 0 0 12px;
    padding: 8px 10px;
    color: #b42318;
    background: #fff4f2;
    border-left: 3px solid #ff5722;
    list-style: none;
}

.qm-user {
    color: #20242a;
    background: #f2f2f2;
}

.qm-user-header {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: #fff;
    background: #20222a;
}

.qm-user-brand {
    font-size: 18px;
    font-weight: 700;
}

.qm-user-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qm-user-nav a {
    color: #8fd3ff;
}

.qm-user-main {
    padding: 18px;
}

.qm-user-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.qm-user-stat,
.qm-user-panel {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.qm-user-stat {
    padding: 18px;
}

.qm-user-stat span {
    color: #6b7280;
}

.qm-user-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 26px;
}

.qm-user-panel {
    margin-bottom: 14px;
    padding: 14px;
}

.qm-user-panel-title {
    margin: -14px -14px 14px;
    padding: 12px 14px;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
}

.qm-user-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.qm-user-info span,
.qm-user-table td div {
    display: block;
    color: #8a8f99;
    font-size: 12px;
}

.qm-user-info strong {
    display: block;
    margin-top: 6px;
}

.qm-user-table {
    width: 100%;
    border-collapse: collapse;
}

.qm-user-table th,
.qm-user-table td {
    padding: 10px;
    border: 1px solid #e6e6e6;
    text-align: left;
}

.qm-user-table th {
    background: #f8f8f8;
}

.qm-user-empty {
    color: #999;
    text-align: center;
}

@media (max-width: 900px) {
    .qm-user-stats,
    .qm-user-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .qm-user-stats,
    .qm-user-info {
        grid-template-columns: 1fr;
    }
}
