/* ========== CUSTOM STYLES (Không trùng với Bootstrap/Admin CSS) ========== */

/* Page Header */
.page-header {
    padding: 1.25rem 1.5rem;
    background: var(--admin-bg-card);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.page-header h1 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.page-header p {
    margin: 0;
}

/* Toolbar */
.toolbar {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(0,0,0,0.01);
}

.toolbar-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-group label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--admin-text-muted);
    margin-bottom: 0.25rem;
}

/* Card Table */
.card-table .table th {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Buttons */
.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Stat Cards */
.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Homepage */
.home-header {
    background: linear-gradient(135deg, rgba(var(--admin-primary-rgb), 0.05), transparent);
}

.project-card {
    border-radius: 0.75rem;
}

.project-card:hover {
    border-color: var(--admin-primary) !important;
}

.project-card.admin { border-top: 3px solid var(--admin-danger); }
.project-card.client { border-top: 3px solid var(--admin-primary); }
.project-card.workspace { border-top: 3px solid var(--admin-success); }
.project-card.customer { border-top: 3px solid var(--admin-warning); }

.project-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.08;
}

/* Flow Diagram */
.flow-step {
    min-width: 150px;
    padding: 1rem;
    background: rgba(0,0,0,0.02);
    border-radius: 0.625rem;
    text-align: center;
}

.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.5rem;
}

/* Template Preview */
.template-thumb {
    width: 48px;
    height: 48px;
    border-radius: 0.375rem;
}
