/* ============================================
   后台管理专用样式
   ============================================ */

/* 登录页额外样式 */
.login-box .login-body .login-form-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--zto-text-light);
}

.login-box .login-body .login-form-hint a {
    color: var(--zto-blue);
}

/* 控制台欢迎 */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--zto-blue) 0%, var(--zto-blue-light) 100%);
    color: var(--zto-white);
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: var(--zto-shadow-lg);
}

.dashboard-welcome .welcome-text h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dashboard-welcome .welcome-text p {
    font-size: 13px;
    opacity: 0.85;
}

.dashboard-welcome .welcome-date {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    text-align: center;
    border-radius: var(--zto-radius-sm);
}

.dashboard-welcome .welcome-date .date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.dashboard-welcome .welcome-date .date-text {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

/* 快捷操作 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quick-action-card {
    background: var(--zto-white);
    border: 1px solid var(--zto-gray-border);
    padding: 20px;
    text-align: center;
    transition: var(--zto-transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--zto-text);
    display: block;
}

.quick-action-card:hover {
    border-color: var(--zto-blue);
    box-shadow: var(--zto-shadow-lg);
    text-decoration: none;
    color: var(--zto-text);
    transform: translateY(-2px);
}

.quick-action-card .qa-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: var(--zto-blue-bg);
    color: var(--zto-blue);
    border-radius: var(--zto-radius-sm);
}

.quick-action-card .qa-label {
    font-size: 14px;
    font-weight: 600;
}

.quick-action-card .qa-desc {
    font-size: 12px;
    color: var(--zto-text-light);
    margin-top: 4px;
}

/* 最近记录 */
.recent-records {
    background: var(--zto-white);
    border: 1px solid var(--zto-gray-border);
    box-shadow: var(--zto-shadow);
}

.recent-records .section-header {
    background: var(--zto-blue-bg);
    border-bottom: 2px solid var(--zto-blue);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zto-blue-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 移动端侧边栏切换 */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--zto-text);
    padding: 4px 8px;
}

@media (max-width: 992px) {
    .sidebar-toggle {
        display: block;
    }
}

/* 设置页面 */
.settings-section {
    background: var(--zto-white);
    border: 1px solid var(--zto-gray-border);
    box-shadow: var(--zto-shadow);
    margin-bottom: 20px;
}

.settings-section .section-header {
    background: var(--zto-blue-bg);
    border-bottom: 2px solid var(--zto-blue);
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--zto-blue-dark);
}

.settings-section .section-body {
    padding: 24px;
}

.settings-section .section-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--zto-gray-border);
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 设置项说明 */
.setting-hint {
    font-size: 12px;
    color: var(--zto-text-light);
    margin-top: 4px;
}

/* 表单内联组 */
.inline-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.inline-form .form-group {
    flex: 1;
    margin-bottom: 0;
}
