* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
background: var(--bg);
color: #1e293b;
line-height: 1.6;
}
.header {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: white;
padding: 20px 30px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo {
display: flex;
align-items: center;
gap: 10px;
font-size: 20px;
font-weight: 600;
}
.logo-icon {
font-size: 24px;
}
.nav-menu {
display: flex;
gap: 20px;
background: rgba(255, 255, 255, 0.1);
padding: 8px 16px;
border-radius: 10px;
}
.nav-item {
color: white;
text-decoration: none;
font-weight: 500;
padding: 6px 12px;
border-radius: 6px;
transition: background 0.3s ease;
}
.nav-item:hover, .nav-item.active {
background: rgba(255, 255, 255, 0.2);
}
.user-info {
display: flex;
align-items: center;
gap: 15px;
}
.user-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
background: white;
color: #f59e0b;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
}
.container {
max-width: 1400px;
margin: 30px auto;
padding: 0 20px;
}
.welcome-section {
background: white;
border-radius: 16px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
border: 2px solid #f59e0b;
}
.welcome-title {
font-size: 32px;
color: #1e293b;
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 15px;
}
.welcome-subtitle {
color: #64748b;
font-size: 18px;
margin-bottom: 20px;
}
.welcome-stats {
display: flex;
gap: 30px;
flex-wrap: wrap;
}
.welcome-stat {
display: flex;
align-items: center;
gap: 10px;
}
.stat-icon {
font-size: 24px;
color: #f59e0b;
}
.stat-content {
display: flex;
flex-direction: column;
}
.stat-number {
font-size: 20px;
font-weight: 700;
color: #1e293b;
}
.stat-label {
font-size: 14px;
color: #64748b;
}
.modules-section {
margin-bottom: 40px;
}
.section-title {
font-size: 24px;
font-weight: 600;
color: #1e293b;
margin-bottom: 25px;
display: flex;
align-items: center;
gap: 10px;
}
.section-title-icon {
color: #f59e0b;
}
.modules-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 25px;
}
.module-card {
background: white;
border-radius: 16px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
border: 2px solid transparent;
transition: all 0.3s ease;
cursor: pointer;
}
.module-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
border-color: #f59e0b;
}
.module-header {
display: flex;
justify-content: space-between;
align-items: start;
margin-bottom: 20px;
}
.module-icon {
font-size: 36px;
color: #f59e0b;
width: 60px;
height: 60px;
background: #fef3c7;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
}
.module-title {
font-size: 20px;
font-weight: 600;
color: #1e293b;
margin-bottom: 10px;
}
.module-description {
color: #64748b;
font-size: 14px;
line-height: 1.6;
margin-bottom: 20px;
}
.module-features {
list-style: none;
margin-bottom: 25px;
}
.module-feature {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 10px;
font-size: 14px;
color: #475569;
}
.feature-icon {
color: #f59e0b;
font-size: 12px;
}
.module-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 20px;
border-top: 1px solid #e2e8f0;
}
.module-btn {
background: #f59e0b;
color: white;
border: none;
padding: 10px 20px;
border-radius: 10px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
}
.module-btn:hover {
background: #d97706;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}
.quick-actions {
background: white;
border-radius: 16px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
margin-bottom: 40px;
}
.actions-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.action-item {
background: var(--bg);
border-radius: 12px;
padding: 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.action-item:hover {
background: white;
border-color: #f59e0b;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.action-icon {
font-size: 28px;
margin-bottom: 15px;
color: #f59e0b;
}
.action-title {
font-size: 16px;
font-weight: 600;
color: #1e293b;
margin-bottom: 8px;
}
.action-desc {
font-size: 13px;
color: #64748b;
}
.commission-overview {
background: white;
border-radius: 16px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
margin-bottom: 40px;
}
.commission-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 25px;
}
.commission-stat {
background: var(--bg);
border-radius: 12px;
padding: 20px;
text-align: center;
border: 2px solid #e2e8f0;
}
.commission-stat.highlight {
background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
border-color: #f59e0b;
}
.commission-icon {
font-size: 32px;
margin-bottom: 15px;
color: #f59e0b;
}
.commission-amount {
font-size: 28px;
font-weight: 700;
color: #1e293b;
margin-bottom: 5px;
}
.commission-label {
font-size: 14px;
color: #64748b;
}
.footer {
text-align: center;
padding: 40px 30px;
color: #64748b;
font-size: 14px;
border-top: 1px solid #e2e8f0;
margin-top: 60px;
background: white;
}
@media (max-width: 768px) {
.header {
flex-direction: column;
gap: 15px;
padding: 15px;
}
.nav-menu {
flex-wrap: wrap;
justify-content: center;
}
.container {
padding: 0 15px;
}
.modules-grid {
grid-template-columns: 1fr;
}
.actions-grid {
grid-template-columns: 1fr;
}
.commission-stats {
grid-template-columns: 1fr;
}
}
