/* Dashboard-specific styles */

/* Dashboard main container */
.dashboard-section {
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(242, 242, 247, 0.3) 100%);
    padding: 40px 20px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Dashboard header */
.dashboard-header {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(242, 242, 247, 0.8);
}

.dashboard-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-title i {
    color: #007AFF;
}

.dashboard-subtitle {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* Dashboard cards */
.dashboard-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(242, 242, 247, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.1);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dashboard-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-card-title i {
    color: #007AFF;
    font-size: 16px;
}

.dashboard-card-value {
    font-size: 24px;
    font-weight: 700;
    color: #007AFF;
}

.dashboard-card-content {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.dashboard-card-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(242, 242, 247, 0.8);
}

.dashboard-card-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.dashboard-card-link:hover {
    color: #0056b3;
}

.dashboard-card-link i {
    font-size: 12px;
}

/* Quick actions section */
.quick-actions {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(242, 242, 247, 0.8);
    margin-bottom: 30px;
}

.quick-actions-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-actions-title i {
    color: #007AFF;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-action-btn {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: #007AFF;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-1px);
}

.quick-action-btn i {
    font-size: 20px;
}

.quick-action-btn span {
    font-size: 14px;
}

/* Recent activity section */
.recent-activity {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(242, 242, 247, 0.8);
}

.recent-activity-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-activity-title i {
    color: #007AFF;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(242, 242, 247, 0.8);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007AFF;
    font-size: 14px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 2px;
}

.activity-time {
    font-size: 12px;
    color: #666;
}

/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-indicator.success {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
}

.status-indicator.warning {
    background: rgba(255, 149, 0, 0.1);
    color: #ff9500;
}

.status-indicator.error {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.status-indicator.info {
    background: rgba(0, 122, 255, 0.1);
    color: #007AFF;
}

/* Responsive design */
@media (max-width: 768px) {
    .dashboard-section {
        padding: 20px 15px;
    }
    
    .dashboard-header {
        padding: 20px;
    }
    
    .dashboard-title {
        font-size: 24px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    .quick-actions {
        padding: 20px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .quick-action-btn {
        padding: 12px;
    }
    
    .recent-activity {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-section {
        padding: 15px 10px;
    }
    
    .dashboard-header {
        padding: 15px;
    }
    
    .dashboard-title {
        font-size: 22px;
    }
    
    .dashboard-card {
        padding: 16px;
    }
    
    .quick-actions {
        padding: 15px;
    }
    
    .recent-activity {
        padding: 15px;
    }
}
