:root {
    --app-primary: #1E9FFF;
    --app-bg: #f5f7fb;
}

body {
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    background-color: var(--app-bg);
    color: #1f2d3d;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #f9fafc 100%);
}

.login-card {
    width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(30, 159, 255, 0.1);
    padding: 32px 40px 40px;
}

.login-card .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-card .subtitle {
    font-size: 14px;
    color: #8a8f99;
    margin-bottom: 32px;
}

.sms-button {
    width: 140px;
}

.countdown {
    color: #8a8f99;
    font-size: 13px;
    margin-left: 12px;
}

.layui-layout-admin .layui-header .brand {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    padding: 0 16px;
}

.layui-layout-admin .layui-logo {
    width: 220px;
}

.layui-side-scroll {
    padding-top: 16px;
}

.tab-container {
    background: #fff;
    box-shadow: inset 0 -1px 0 #f0f0f0;
}

.layui-tab-content {
    padding: 0;
}

.layui-tab-item {
    padding: 20px;
    min-height: calc(100vh - 160px);
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #8a8f99;
    font-size: 14px;
}

.error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #ff4d4f;
    font-size: 14px;
    padding: 20px;
    text-align: center;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.overview-card {
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.05);
}

.overview-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.overview-card .value {
    font-size: 32px;
    font-weight: bold;
    color: var(--app-primary);
}

.config-form {
    max-width: 640px;
    margin-top: 24px;
}

.status-card {
    border-radius: 10px;
    border: 1px solid #eef0f6;
    padding: 20px;
    background: #fff;
    margin-top: 20px;
}

.status-card h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.tab-frame {
    width: 100%;
    height: calc(100vh - 180px);
    border: none;
    background: #fff;
}
