:root {
    --primary: #4a90e2;
    --secondary: #f5f6fa;
    --accent: #ff8000;
    --success: #4caf50;
    --info: #2196f3;
    --danger: #e4393c;
    --border: #e0e0e0;
    --radius: 14px;
    --shadow: 0 6px 32px rgba(0,0,0,0.10);
    --font: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
}

body {
    font-family: var(--font);
    background: linear-gradient(120deg, #f5f6fa 60%, #e3e9f7 100%);
    margin: 0;
    padding: 0;
}

.banner {
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 14px 0;
    font-size: 19px;
    letter-spacing: 1px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255,128,0,0.08);
}

.container {
    background: #fff;
    margin: 48px auto;
    width: 90%;
    /* max-width: 950px; */
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 38px 32px 28px 32px;
    position: relative;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 22px;
}
.logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #e3e9f7;
}
.version {
    font-size: 14px;
    color: #888;
}
.version .new {
    color: var(--danger);
    font-weight: bold;
    margin-left: 2px;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
}
.user-area .username {
    font-weight: bold;
    color: var(--primary);
}
.user-area .service {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.user-area .service:hover {
    color: var(--primary);
}
.user-area .vip {
    background: var(--danger);
    color: #fff;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 14px;
    margin-left: 4px;
    box-shadow: 0 2px 8px #f5c6cb33;
}

.tabs {
    display: flex;
    gap: 22px;
    margin-bottom: 22px;
}
.tabs button {
    background: none;
    border: none;
    font-size: 18px;
    padding: 10px 22px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #888;
    transition: all 0.2s;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
}
.tabs .active,
.tabs button:hover {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    background: #f0f7ff;
}

.search-bar {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}
.search-bar input {
    flex: 1;
    padding: 12px 16px;
    font-size: 17px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border 0.2s;
    background: #f8fafc;
}
.search-bar input:focus {
    border-color: var(--primary);
    background: #fff;
}
.search-bar .primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-size: 17px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px #4a90e233;
    transition: background 0.2s;
}
.search-bar .primary:hover {
    background: #357abd;
}
.search-bar .secondary {
    background: #f0f7ff;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-size: 17px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.search-bar .secondary:hover {
    background: var(--primary);
    color: #fff;
}

.progress-area {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}
.progress-bar {
    width: 180px;
    height: 12px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px #e3e9f7;
}
.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #6ec6ff);
    width: 0%;
    transition: width 0.4s;
}
.progress-text {
    color: #888;
    font-size: 15px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.action-btn {
    background: #f0f7ff;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 9px 22px;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.action-btn:hover {
    background: var(--primary);
    color: #fff;
}
.export-btn {
    background: var(--success);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #4caf5033;
}
.export-btn:hover {
    background: #388e3c;
}
.export-email-btn {
    background: var(--info);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #2196f333;
}
.export-email-btn:hover {
    background: #1769aa;
}

.table-area {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 0;
}
th, td {
    border-bottom: 1.5px solid var(--border);
    padding: 16px 0;
    text-align: center;
    font-size: 16px;
}
th {
    background: #f0f7ff;
    color: var(--primary);
    font-weight: 600;
}
tr:last-child td {
    border-bottom: none;
}
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px #e3e9f7;
    border: 2px solid #fff;
}
.no-data {
    color: #bbb;
    font-style: italic;
    padding: 24px 0;
    background: #fafbfc;
}

@media (max-width: 700px) {
    .container {
        padding: 10px 2vw;
    }
    header, .actions, .search-bar, .progress-area {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .logo-area, .user-area {
        flex-direction: column;
        gap: 4px;
    }
    .tabs {
        gap: 8px;
    }
    th, td {
        font-size: 13px;
        padding: 10px 0;
    }
    .avatar {
        width: 28px;
        height: 28px;
    }
}