/* Dashboard Quản lý */
.aerp-hrm-dashboard {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats Grid */
.aerp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #2271b1;
    margin-bottom: 10px;
}

.stat-card h3 {
    margin: 10px 0;
    color: #1d2327;
    font-size: 16px;
}

.stat-card .stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2271b1;
    margin: 0;
}

/* Task List */
.aerp-recent-tasks {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aerp-recent-tasks h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2327;
    font-size: 18px;
}

.aerp-task-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aerp-task-item {
    background: #f6f7f7;
    border-radius: 6px;
    padding: 15px;
    border-left: 4px solid #2271b1;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.task-title {
    font-weight: 600;
    color: #1d2327;
}

.task-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.task-status.success { background: #d4edda; color: #155724; }
.task-status.warning { background: #fff3cd; color: #856404; }
.task-status.info { background: #d1ecf1; color: #0c5460; }
.task-status.secondary { background: #e2e3e5; color: #383d41; }

.task-meta {
    display: flex;
    gap: 15px;
    color: #646970;
    font-size: 13px;
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Team Members */
.aerp-team-members {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aerp-team-members h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1d2327;
    font-size: 18px;
}

.aerp-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.aerp-team-member {
    background: #f6f7f7;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.aerp-team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e4e7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-avatar .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: #646970;
}

.member-info h4 {
    margin: 0 0 5px;
    color: #1d2327;
    font-size: 16px;
}

.member-position {
    margin: 0;
    color: #646970;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .aerp-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .aerp-team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .task-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .task-meta {
        flex-direction: column;
        gap: 5px;
    }
} 